From 60e99baaf87f603097f715fb99dec1d8097b8ce5 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:10:45 +0100 Subject: [PATCH] Upgrade pulumi-terraform-bridge to v3.91.0 (#611) This PR was generated via `$ upgrade-provider pulumi/pulumi-akamai --kind=bridge --pr-reviewers=iwahbe`. --- - Updating Java Gen version from 0.15.0 to 0.16.1. - Upgrading pulumi-terraform-bridge from v3.90.0 to v3.91.0. - Upgrading pulumi-terraform-bridge/pf from v0.43.0 to v0.44.0. --- .pulumi-java-gen.version | 2 +- examples/go.mod | 7 +- examples/go.sum | 14 ++-- provider/go.mod | 38 +++++----- provider/go.sum | 70 +++++++++---------- sdk/go.mod | 3 +- sdk/go.sum | 6 +- ...tAppSecAdvancedSettingsEvasivePathMatch.go | 18 +++-- .../getAppSecAdvancedSettingsLogging.go | 18 +++-- .../getAppSecAdvancedSettingsPragmaHeader.go | 18 +++-- .../getAppSecAdvancedSettingsPrefetch.go | 18 +++-- sdk/go/akamai/getAppSecApiEndpoints.go | 18 +++-- .../akamai/getAppSecApiRequestConstraints.go | 18 +++-- sdk/go/akamai/getAppSecAttackGroups.go | 18 +++-- sdk/go/akamai/getAppSecBypassNetworkLists.go | 18 +++-- sdk/go/akamai/getAppSecConfiguration.go | 18 +++-- .../akamai/getAppSecConfigurationVersion.go | 18 +++-- sdk/go/akamai/getAppSecContractsGroups.go | 18 +++-- sdk/go/akamai/getAppSecCustomDeny.go | 18 +++-- sdk/go/akamai/getAppSecCustomRuleActions.go | 18 +++-- sdk/go/akamai/getAppSecCustomRules.go | 18 +++-- sdk/go/akamai/getAppSecEval.go | 18 +++-- sdk/go/akamai/getAppSecEvalGroups.go | 18 +++-- sdk/go/akamai/getAppSecEvalPenaltyBox.go | 18 +++-- sdk/go/akamai/getAppSecEvalRules.go | 18 +++-- sdk/go/akamai/getAppSecExportConfiguration.go | 18 +++-- sdk/go/akamai/getAppSecFailoverHostnames.go | 18 +++-- sdk/go/akamai/getAppSecHostnameCoverage.go | 18 +++-- .../getAppSecHostnameCoverageMatchTargets.go | 18 +++-- .../getAppSecHostnameCoverageOverlapping.go | 18 +++-- sdk/go/akamai/getAppSecIPGeo.go | 18 +++-- sdk/go/akamai/getAppSecMalwareContentTypes.go | 18 +++-- sdk/go/akamai/getAppSecMalwarePolicies.go | 18 +++-- .../akamai/getAppSecMalwarePolicyActions.go | 18 +++-- sdk/go/akamai/getAppSecMatchTargets.go | 18 +++-- sdk/go/akamai/getAppSecPenaltyBox.go | 18 +++-- sdk/go/akamai/getAppSecRatePolicies.go | 18 +++-- sdk/go/akamai/getAppSecRatePolicyActions.go | 18 +++-- .../getAppSecReputationProfileActions.go | 18 +++-- .../getAppSecReputationProfileAnalysis.go | 18 +++-- sdk/go/akamai/getAppSecReputationProfiles.go | 18 +++-- sdk/go/akamai/getAppSecRuleUpgradeDetails.go | 18 +++-- sdk/go/akamai/getAppSecRules.go | 18 +++-- sdk/go/akamai/getAppSecSecurityPolicy.go | 18 +++-- .../getAppSecSecurityPolicyProtections.go | 18 +++-- sdk/go/akamai/getAppSecSelectableHostnames.go | 18 +++-- sdk/go/akamai/getAppSecSelectedHostnames.go | 18 +++-- sdk/go/akamai/getAppSecSiemDefinitions.go | 18 +++-- sdk/go/akamai/getAppSecSiemSettings.go | 18 +++-- sdk/go/akamai/getAppSecSlowPost.go | 18 +++-- sdk/go/akamai/getAppSecThreatIntel.go | 18 +++-- .../akamai/getAppSecTuningRecommendations.go | 18 +++-- sdk/go/akamai/getAppSecVersionNotes.go | 18 +++-- sdk/go/akamai/getAppSecWafMode.go | 18 +++-- .../akamai/getAppSecWapSelectedHostnames.go | 18 +++-- ...secAdvancedSettingsAttackPayloadLogging.go | 18 +++-- .../getAppsecAdvancedSettingsPiiLearning.go | 18 +++-- .../getAppsecAdvancedSettingsRequestBody.go | 18 +++-- .../getAppsecEvalPenaltyBoxConditions.go | 18 +++-- .../akamai/getAppsecPenaltyBoxConditions.go | 18 +++-- sdk/go/akamai/getAuthoritiesSet.go | 18 +++-- sdk/go/akamai/getBotmanAkamaiBotCategory.go | 18 +++-- .../getBotmanAkamaiBotCategoryAction.go | 18 +++-- sdk/go/akamai/getBotmanAkamaiDefinedBot.go | 18 +++-- sdk/go/akamai/getBotmanBotAnalyticsCookie.go | 18 +++-- .../getBotmanBotAnalyticsCookieValues.go | 18 +++-- .../akamai/getBotmanBotCategoryException.go | 18 +++-- sdk/go/akamai/getBotmanBotDetection.go | 18 +++-- sdk/go/akamai/getBotmanBotDetectionAction.go | 18 +++-- .../getBotmanBotEndpointCoverageReport.go | 18 +++-- .../akamai/getBotmanBotManagementSettings.go | 18 +++-- sdk/go/akamai/getBotmanChallengeAction.go | 18 +++-- .../getBotmanChallengeInjectionRules.go | 18 +++-- .../getBotmanChallengeInterceptionRules.go | 18 +++-- sdk/go/akamai/getBotmanClientSideSecurity.go | 18 +++-- sdk/go/akamai/getBotmanConditionalAction.go | 18 +++-- sdk/go/akamai/getBotmanCustomBotCategory.go | 18 +++-- .../getBotmanCustomBotCategoryAction.go | 18 +++-- .../getBotmanCustomBotCategorySequence.go | 18 +++-- sdk/go/akamai/getBotmanCustomClient.go | 18 +++-- .../akamai/getBotmanCustomClientSequence.go | 18 +++-- sdk/go/akamai/getBotmanCustomCode.go | 18 +++-- sdk/go/akamai/getBotmanCustomDefinedBot.go | 18 +++-- sdk/go/akamai/getBotmanCustomDenyAction.go | 18 +++-- sdk/go/akamai/getBotmanJavascriptInjection.go | 18 +++-- .../getBotmanRecategorizedAkamaiDefinedBot.go | 18 +++-- sdk/go/akamai/getBotmanResponseAction.go | 18 +++-- .../akamai/getBotmanServeAlternateAction.go | 18 +++-- .../akamai/getBotmanTransactionalEndpoint.go | 18 +++-- ...etBotmanTransactionalEndpointProtection.go | 18 +++-- sdk/go/akamai/getCPSEnrollment.go | 18 +++-- sdk/go/akamai/getCPSEnrollments.go | 18 +++-- sdk/go/akamai/getClientlistLists.go | 18 +++-- .../getCloudletsApiPrioritizationMatchRule.go | 18 +++-- .../getCloudletsApplicationLoadBalancer.go | 18 +++-- ...oudletsApplicationLoadBalancerMatchRule.go | 18 +++-- ...tCloudletsAudienceSegmentationMatchRule.go | 18 +++-- .../getCloudletsEdgeRedirectorMatchRule.go | 18 +++-- .../getCloudletsForwardRewriteMatchRule.go | 18 +++-- .../getCloudletsPhasedReleaseMatchRule.go | 18 +++-- sdk/go/akamai/getCloudletsPolicy.go | 18 +++-- sdk/go/akamai/getCloudletsPolicyActivation.go | 18 +++-- .../getCloudletsRequestControlMatchRule.go | 18 +++-- sdk/go/akamai/getCloudletsSharedPolicy.go | 18 +++-- ...CloudletsVisitorPrioritizationMatchRule.go | 18 +++-- sdk/go/akamai/getCloudwrapperCapacities.go | 18 +++-- sdk/go/akamai/getCloudwrapperConfiguration.go | 18 +++-- .../akamai/getCloudwrapperConfigurations.go | 18 +++-- sdk/go/akamai/getCloudwrapperLocation.go | 18 +++-- sdk/go/akamai/getCloudwrapperLocations.go | 18 +++-- sdk/go/akamai/getCloudwrapperProperties.go | 18 +++-- sdk/go/akamai/getContract.go | 18 +++-- sdk/go/akamai/getContracts.go | 18 +++-- sdk/go/akamai/getCpCode.go | 18 +++-- sdk/go/akamai/getCpsCsr.go | 18 +++-- sdk/go/akamai/getCpsDeployments.go | 18 +++-- sdk/go/akamai/getCpsWarnings.go | 18 +++-- .../akamai/getDatastreamActivationHistory.go | 18 +++-- sdk/go/akamai/getDatastreamDatasetFields.go | 18 +++-- sdk/go/akamai/getDatastreams.go | 18 +++-- sdk/go/akamai/getDnsRecordSet.go | 18 +++-- sdk/go/akamai/getEdgeWorker.go | 18 +++-- sdk/go/akamai/getEdgeWorkerActivation.go | 18 +++-- sdk/go/akamai/getEdgeWorkersPropertyRules.go | 18 +++-- sdk/go/akamai/getEdgeWorkersResourceTier.go | 18 +++-- sdk/go/akamai/getEdgekvGroupItems.go | 18 +++-- sdk/go/akamai/getEdgekvGroups.go | 18 +++-- sdk/go/akamai/getGroup.go | 18 +++-- sdk/go/akamai/getGroups.go | 18 +++-- sdk/go/akamai/getGtmAsmap.go | 18 +++-- sdk/go/akamai/getGtmCidrmap.go | 18 +++-- sdk/go/akamai/getGtmDatacenter.go | 18 +++-- sdk/go/akamai/getGtmDatacenters.go | 18 +++-- sdk/go/akamai/getGtmDefaultDatacenter.go | 18 +++-- sdk/go/akamai/getGtmDomain.go | 18 +++-- sdk/go/akamai/getGtmDomains.go | 18 +++-- sdk/go/akamai/getGtmResource.go | 18 +++-- sdk/go/akamai/getGtmResources.go | 18 +++-- sdk/go/akamai/getIamContactTypes.go | 18 +++-- sdk/go/akamai/getIamCountries.go | 18 +++-- sdk/go/akamai/getIamGrantableRoles.go | 18 +++-- sdk/go/akamai/getIamRoles.go | 18 +++-- sdk/go/akamai/getIamStates.go | 18 +++-- sdk/go/akamai/getIamSupportedLangs.go | 18 +++-- sdk/go/akamai/getIamTimeoutPolicies.go | 18 +++-- sdk/go/akamai/getIamTimezones.go | 18 +++-- sdk/go/akamai/getImagingPolicyImage.go | 18 +++-- sdk/go/akamai/getImagingPolicyVideo.go | 18 +++-- sdk/go/akamai/getNetworkLists.go | 18 +++-- sdk/go/akamai/getProperties.go | 18 +++-- sdk/go/akamai/getPropertiesSearch.go | 18 +++-- sdk/go/akamai/getProperty.go | 18 +++-- sdk/go/akamai/getPropertyActivation.go | 18 +++-- sdk/go/akamai/getPropertyHostnames.go | 18 +++-- sdk/go/akamai/getPropertyInclude.go | 18 +++-- sdk/go/akamai/getPropertyIncludeActivation.go | 18 +++-- sdk/go/akamai/getPropertyIncludeParents.go | 18 +++-- sdk/go/akamai/getPropertyIncludeRules.go | 18 +++-- sdk/go/akamai/getPropertyIncludes.go | 18 +++-- sdk/go/akamai/getPropertyProducts.go | 18 +++-- sdk/go/akamai/getPropertyRuleFormats.go | 18 +++-- sdk/go/akamai/getPropertyRules.go | 18 +++-- sdk/go/akamai/getPropertyRulesBuilder.go | 18 +++-- sdk/go/akamai/getPropertyRulesTemplate.go | 18 +++-- sdk/java/build.gradle | 2 +- ...tAppSecAdvancedSettingsEvasivePathMatch.ts | 7 +- .../getAppSecAdvancedSettingsLogging.ts | 7 +- .../getAppSecAdvancedSettingsPragmaHeader.ts | 7 +- .../getAppSecAdvancedSettingsPrefetch.ts | 6 +- sdk/nodejs/getAppSecApiEndpoints.ts | 8 ++- sdk/nodejs/getAppSecApiRequestConstraints.ts | 8 ++- sdk/nodejs/getAppSecAttackGroups.ts | 8 ++- sdk/nodejs/getAppSecBypassNetworkLists.ts | 7 +- sdk/nodejs/getAppSecConfiguration.ts | 7 +- sdk/nodejs/getAppSecConfigurationVersion.ts | 7 +- sdk/nodejs/getAppSecContractsGroups.ts | 8 ++- sdk/nodejs/getAppSecCustomDeny.ts | 7 +- sdk/nodejs/getAppSecCustomRuleActions.ts | 8 ++- sdk/nodejs/getAppSecCustomRules.ts | 7 +- sdk/nodejs/getAppSecEval.ts | 7 +- sdk/nodejs/getAppSecEvalGroups.ts | 8 ++- sdk/nodejs/getAppSecEvalPenaltyBox.ts | 7 +- sdk/nodejs/getAppSecEvalRules.ts | 8 ++- sdk/nodejs/getAppSecExportConfiguration.ts | 8 ++- sdk/nodejs/getAppSecFailoverHostnames.ts | 6 +- sdk/nodejs/getAppSecHostnameCoverage.ts | 5 +- .../getAppSecHostnameCoverageMatchTargets.ts | 7 +- .../getAppSecHostnameCoverageOverlapping.ts | 7 +- sdk/nodejs/getAppSecIPGeo.ts | 7 +- sdk/nodejs/getAppSecMalwareContentTypes.ts | 6 +- sdk/nodejs/getAppSecMalwarePolicies.ts | 7 +- sdk/nodejs/getAppSecMalwarePolicyActions.ts | 8 ++- sdk/nodejs/getAppSecMatchTargets.ts | 7 +- sdk/nodejs/getAppSecPenaltyBox.ts | 7 +- sdk/nodejs/getAppSecRatePolicies.ts | 7 +- sdk/nodejs/getAppSecRatePolicyActions.ts | 8 ++- .../getAppSecReputationProfileActions.ts | 8 ++- .../getAppSecReputationProfileAnalysis.ts | 7 +- sdk/nodejs/getAppSecReputationProfiles.ts | 7 +- sdk/nodejs/getAppSecRuleUpgradeDetails.ts | 7 +- sdk/nodejs/getAppSecRules.ts | 8 ++- sdk/nodejs/getAppSecSecurityPolicy.ts | 7 +- .../getAppSecSecurityPolicyProtections.ts | 7 +- sdk/nodejs/getAppSecSelectableHostnames.ts | 11 ++- sdk/nodejs/getAppSecSelectedHostnames.ts | 6 +- sdk/nodejs/getAppSecSiemDefinitions.ts | 7 +- sdk/nodejs/getAppSecSiemSettings.ts | 6 +- sdk/nodejs/getAppSecSlowPost.ts | 7 +- sdk/nodejs/getAppSecThreatIntel.ts | 7 +- sdk/nodejs/getAppSecTuningRecommendations.ts | 10 ++- sdk/nodejs/getAppSecVersionNotes.ts | 6 +- sdk/nodejs/getAppSecWafMode.ts | 7 +- sdk/nodejs/getAppSecWapSelectedHostnames.ts | 7 +- ...secAdvancedSettingsAttackPayloadLogging.ts | 7 +- .../getAppsecAdvancedSettingsPiiLearning.ts | 6 +- .../getAppsecAdvancedSettingsRequestBody.ts | 7 +- .../getAppsecEvalPenaltyBoxConditions.ts | 7 +- sdk/nodejs/getAppsecPenaltyBoxConditions.ts | 7 +- sdk/nodejs/getAuthoritiesSet.ts | 6 +- sdk/nodejs/getBotmanAkamaiBotCategory.ts | 7 +- .../getBotmanAkamaiBotCategoryAction.ts | 8 ++- sdk/nodejs/getBotmanAkamaiDefinedBot.ts | 7 +- sdk/nodejs/getBotmanBotAnalyticsCookie.ts | 6 +- .../getBotmanBotAnalyticsCookieValues.ts | 5 +- sdk/nodejs/getBotmanBotCategoryException.ts | 7 +- sdk/nodejs/getBotmanBotDetection.ts | 7 +- sdk/nodejs/getBotmanBotDetectionAction.ts | 8 ++- .../getBotmanBotEndpointCoverageReport.ts | 8 ++- sdk/nodejs/getBotmanBotManagementSettings.ts | 7 +- sdk/nodejs/getBotmanChallengeAction.ts | 7 +- .../getBotmanChallengeInjectionRules.ts | 6 +- .../getBotmanChallengeInterceptionRules.ts | 6 +- sdk/nodejs/getBotmanClientSideSecurity.ts | 6 +- sdk/nodejs/getBotmanConditionalAction.ts | 7 +- sdk/nodejs/getBotmanCustomBotCategory.ts | 7 +- .../getBotmanCustomBotCategoryAction.ts | 8 ++- .../getBotmanCustomBotCategorySequence.ts | 6 +- sdk/nodejs/getBotmanCustomClient.ts | 7 +- sdk/nodejs/getBotmanCustomClientSequence.ts | 6 +- sdk/nodejs/getBotmanCustomCode.ts | 6 +- sdk/nodejs/getBotmanCustomDefinedBot.ts | 7 +- sdk/nodejs/getBotmanCustomDenyAction.ts | 7 +- sdk/nodejs/getBotmanJavascriptInjection.ts | 7 +- .../getBotmanRecategorizedAkamaiDefinedBot.ts | 7 +- sdk/nodejs/getBotmanResponseAction.ts | 7 +- sdk/nodejs/getBotmanServeAlternateAction.ts | 7 +- sdk/nodejs/getBotmanTransactionalEndpoint.ts | 8 ++- ...etBotmanTransactionalEndpointProtection.ts | 6 +- sdk/nodejs/getCPSEnrollment.ts | 6 +- sdk/nodejs/getCPSEnrollments.ts | 6 +- sdk/nodejs/getClientlistLists.ts | 8 ++- .../getCloudletsApiPrioritizationMatchRule.ts | 7 +- .../getCloudletsApplicationLoadBalancer.ts | 7 +- ...oudletsApplicationLoadBalancerMatchRule.ts | 7 +- ...tCloudletsAudienceSegmentationMatchRule.ts | 7 +- .../getCloudletsEdgeRedirectorMatchRule.ts | 7 +- .../getCloudletsForwardRewriteMatchRule.ts | 7 +- .../getCloudletsPhasedReleaseMatchRule.ts | 7 +- sdk/nodejs/getCloudletsPolicy.ts | 7 +- sdk/nodejs/getCloudletsPolicyActivation.ts | 8 ++- .../getCloudletsRequestControlMatchRule.ts | 7 +- sdk/nodejs/getCloudletsSharedPolicy.ts | 8 ++- ...CloudletsVisitorPrioritizationMatchRule.ts | 7 +- sdk/nodejs/getCloudwrapperCapacities.ts | 8 ++- sdk/nodejs/getCloudwrapperConfiguration.ts | 8 ++- sdk/nodejs/getCloudwrapperConfigurations.ts | 7 +- sdk/nodejs/getCloudwrapperLocation.ts | 7 +- sdk/nodejs/getCloudwrapperLocations.ts | 7 +- sdk/nodejs/getCloudwrapperProperties.ts | 9 ++- sdk/nodejs/getContract.ts | 8 ++- sdk/nodejs/getContracts.ts | 5 +- sdk/nodejs/getCpCode.ts | 8 ++- sdk/nodejs/getCpsCsr.ts | 6 +- sdk/nodejs/getCpsDeployments.ts | 6 +- sdk/nodejs/getCpsWarnings.ts | 5 +- sdk/nodejs/getDatastreamActivationHistory.ts | 6 +- sdk/nodejs/getDatastreamDatasetFields.ts | 7 +- sdk/nodejs/getDatastreams.ts | 7 +- sdk/nodejs/getDnsRecordSet.ts | 8 ++- sdk/nodejs/getEdgeWorker.ts | 7 +- sdk/nodejs/getEdgeWorkerActivation.ts | 7 +- sdk/nodejs/getEdgeWorkersPropertyRules.ts | 6 +- sdk/nodejs/getEdgeWorkersResourceTier.ts | 7 +- sdk/nodejs/getEdgekvGroupItems.ts | 8 ++- sdk/nodejs/getEdgekvGroups.ts | 7 +- sdk/nodejs/getGroup.ts | 7 +- sdk/nodejs/getGroups.ts | 5 +- sdk/nodejs/getGtmAsmap.ts | 10 ++- sdk/nodejs/getGtmCidrmap.ts | 10 ++- sdk/nodejs/getGtmDatacenter.ts | 7 +- sdk/nodejs/getGtmDatacenters.ts | 6 +- sdk/nodejs/getGtmDefaultDatacenter.ts | 7 +- sdk/nodejs/getGtmDomain.ts | 14 +++- sdk/nodejs/getGtmDomains.ts | 7 +- sdk/nodejs/getGtmResource.ts | 9 ++- sdk/nodejs/getGtmResources.ts | 7 +- sdk/nodejs/getIamContactTypes.ts | 5 +- sdk/nodejs/getIamCountries.ts | 5 +- sdk/nodejs/getIamGrantableRoles.ts | 5 +- sdk/nodejs/getIamRoles.ts | 5 +- sdk/nodejs/getIamStates.ts | 6 +- sdk/nodejs/getIamSupportedLangs.ts | 5 +- sdk/nodejs/getIamTimeoutPolicies.ts | 5 +- sdk/nodejs/getIamTimezones.ts | 5 +- sdk/nodejs/getImagingPolicyImage.ts | 6 +- sdk/nodejs/getImagingPolicyVideo.ts | 6 +- sdk/nodejs/getNetworkLists.ts | 9 ++- sdk/nodejs/getProperties.ts | 7 +- sdk/nodejs/getPropertiesSearch.ts | 7 +- sdk/nodejs/getProperty.ts | 7 +- sdk/nodejs/getPropertyActivation.ts | 8 ++- sdk/nodejs/getPropertyHostnames.ts | 9 ++- sdk/nodejs/getPropertyInclude.ts | 8 ++- sdk/nodejs/getPropertyIncludeActivation.ts | 9 ++- sdk/nodejs/getPropertyIncludeParents.ts | 8 ++- sdk/nodejs/getPropertyIncludeRules.ts | 9 ++- sdk/nodejs/getPropertyIncludes.ts | 9 ++- sdk/nodejs/getPropertyProducts.ts | 6 +- sdk/nodejs/getPropertyRuleFormats.ts | 5 +- sdk/nodejs/getPropertyRules.ts | 10 ++- sdk/nodejs/getPropertyRulesBuilder.ts | 12 +++- sdk/nodejs/getPropertyRulesTemplate.ts | 11 ++- 322 files changed, 2757 insertions(+), 1332 deletions(-) diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 7092c7c46..92e0c7438 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.15.0 \ No newline at end of file +0.16.1 \ No newline at end of file diff --git a/examples/go.mod b/examples/go.mod index af4221d58..0f4093fa2 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-akamai/examples/v5 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.130.0 +require github.com/pulumi/pulumi/pkg/v3 v3.133.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -122,8 +122,8 @@ require ( github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect - github.com/pulumi/esc v0.9.1 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.130.0 // indirect + github.com/pulumi/esc v0.10.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.133.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect @@ -137,7 +137,6 @@ require ( github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/testify v1.9.0 // 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 diff --git a/examples/go.sum b/examples/go.sum index 1fc06cde5..3cbb21d73 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -340,12 +340,12 @@ 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/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= -github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= -github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= -github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= -github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= -github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= +github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= +github.com/pulumi/pulumi/pkg/v3 v3.133.0 h1:j1rd7ToLZIQc5H0427ISOXSbOIIemZ6B0MXtRhQ38Yg= +github.com/pulumi/pulumi/pkg/v3 v3.133.0/go.mod h1:JtMAnrsFIccO138WcMfPdhO0PioDukKihnZC0xTRLwo= +github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= +github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= 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= @@ -390,8 +390,6 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= 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= -github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= 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= diff --git a/provider/go.mod b/provider/go.mod index ebdcde190..e83f9156d 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,6 +1,6 @@ module github.com/pulumi/pulumi-akamai/provider/v7 -go 1.22 +go 1.22.0 toolchain go1.22.7 @@ -13,17 +13,16 @@ replace ( require ( github.com/akamai/terraform-provider-akamai/v6 v6.0.0 - github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 - github.com/pulumi/pulumi/pkg/v3 v3.130.0 - github.com/pulumi/pulumi/sdk/v3 v3.130.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.44.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.0 + github.com/pulumi/pulumi/pkg/v3 v3.133.0 + github.com/pulumi/pulumi/sdk/v3 v3.133.0 github.com/stretchr/testify v1.9.0 ) require ( cloud.google.com/go v0.112.1 // indirect - cloud.google.com/go/compute v1.25.0 // indirect - cloud.google.com/go/compute/metadata v0.2.3 // indirect + cloud.google.com/go/compute/metadata v0.3.0 // indirect cloud.google.com/go/iam v1.1.6 // indirect cloud.google.com/go/kms v1.15.7 // indirect cloud.google.com/go/logging v1.9.0 // indirect @@ -100,7 +99,7 @@ require ( github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt/v5 v5.2.1 // indirect - github.com/golang/glog v1.2.0 // indirect + github.com/golang/glog v1.2.1 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/go-cmp v0.6.0 // indirect @@ -119,7 +118,7 @@ require ( github.com/hashicorp/go-getter v1.7.5 // indirect github.com/hashicorp/go-hclog v1.6.3 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.6.0 // indirect + github.com/hashicorp/go-plugin v1.6.1 // indirect github.com/hashicorp/go-retryablehttp v0.7.7 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect @@ -132,10 +131,10 @@ require ( github.com/hashicorp/hcl/v2 v2.19.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-plugin-framework v1.11.0 // indirect + github.com/hashicorp/terraform-plugin-framework v1.12.0 // indirect github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 // indirect github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.24.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect github.com/hashicorp/terraform-plugin-mux v0.16.0 // indirect github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect @@ -187,11 +186,11 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect - github.com/pulumi/esc v0.9.1 // indirect + github.com/pulumi/esc v0.10.0 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.14.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.16.1 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.9.2 // indirect + github.com/pulumi/pulumi-yaml v1.10.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect @@ -212,7 +211,6 @@ require ( github.com/stretchr/objx v0.5.2 // indirect github.com/teekennedy/goldmark-markdown v0.3.0 // 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/ulikunitz/xz v0.5.10 // indirect @@ -239,7 +237,7 @@ require ( golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect golang.org/x/mod v0.18.0 // indirect golang.org/x/net v0.27.0 // indirect - golang.org/x/oauth2 v0.18.0 // indirect + golang.org/x/oauth2 v0.21.0 // indirect golang.org/x/sync v0.7.0 // indirect golang.org/x/sys v0.22.0 // indirect golang.org/x/term v0.22.0 // indirect @@ -250,10 +248,10 @@ require ( google.golang.org/api v0.169.0 // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect - google.golang.org/grpc v1.63.2 // indirect - google.golang.org/protobuf v1.34.0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect + google.golang.org/grpc v1.66.2 // indirect + google.golang.org/protobuf v1.34.2 // indirect gopkg.in/ini.v1 v1.67.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 5fbc779dc..42b5db3f3 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -304,13 +304,12 @@ cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdi cloud.google.com/go/compute v1.23.1/go.mod h1:CqB3xpmPKKt3OJpW2ndFIXnA9A4xAy/F3Xp1ixncW78= cloud.google.com/go/compute v1.23.2/go.mod h1:JJ0atRC0J/oWYiiVBmsSsrRnh92DhZPG4hFDcR04Rns= cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= -cloud.google.com/go/compute v1.25.0 h1:H1/4SqSUhjPFE7L5ddzHOfY2bCAvjwNRZPNl6Ni5oYU= -cloud.google.com/go/compute v1.25.0/go.mod h1:GR7F0ZPZH8EhChlMo9FkLd7eUTwEymjqQagxzilIxIE= 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 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc= +cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= 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= @@ -1475,8 +1474,8 @@ github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfU github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= -github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= -github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= +github.com/golang/glog v1.2.1 h1:OptwRhECazUx5ix5TTWC3EZhsZEHWcYWY4FQHTIubm4= +github.com/golang/glog v1.2.1/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= 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= @@ -1646,8 +1645,9 @@ github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHh 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-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= -github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= +github.com/hashicorp/go-plugin v1.6.1 h1:P7MR2UP6gNKGPp+y7EZw2kOiq4IR9WiqLvp0XOsVdwI= +github.com/hashicorp/go-plugin v1.6.1/go.mod h1:XPHFku2tFo3o3QKFgSYo+cghcUhw1NA1hZyMK0PWAw0= github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= @@ -1690,15 +1690,15 @@ github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8j github.com/hashicorp/terraform-json v0.13.0/go.mod h1:y5OdLBCT+rxbwnpxZs9kGL7R9ExU76+cpdY8zHwoazk= github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U= github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= -github.com/hashicorp/terraform-plugin-framework v1.11.0 h1:M7+9zBArexHFXDx/pKTxjE6n/2UCXY6b8FIq9ZYhwfE= -github.com/hashicorp/terraform-plugin-framework v1.11.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= +github.com/hashicorp/terraform-plugin-framework v1.12.0 h1:7HKaueHPaikX5/7cbC1r9d1m12iYHY+FlNZEGxQ42CQ= +github.com/hashicorp/terraform-plugin-framework v1.12.0/go.mod h1:N/IOQ2uYjW60Jp39Cp3mw7I/OpC/GfZ0385R0YibmkE= github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 h1:gm5b1kHgFFhaKFhm4h2TgvMUlNzFAtUqlcOWnWPm+9E= github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1/go.mod h1:MsjL1sQ9L7wGwzJ5RjcI6FzEMdyoBnw+XK8ZnOvQOLY= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg= github.com/hashicorp/terraform-plugin-go v0.22.0/go.mod h1:mPULV91VKss7sik6KFEcEu7HuTogMLLO/EvWCuFkRVE= -github.com/hashicorp/terraform-plugin-go v0.23.0 h1:AALVuU1gD1kPb48aPQUjug9Ir/125t+AAurhqphJ2Co= -github.com/hashicorp/terraform-plugin-go v0.23.0/go.mod h1:1E3Cr9h2vMlahWMbsSEcNrOCxovCZhOOIXjFHbjc/lQ= +github.com/hashicorp/terraform-plugin-go v0.24.0 h1:2WpHhginCdVhFIrWHxDEg6RBn3YaWzR2o6qUeIEat2U= +github.com/hashicorp/terraform-plugin-go v0.24.0/go.mod h1:tUQ53lAsOyYSckFGEefGC5C8BAaO0ENqzFd3bQeuYQg= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= github.com/hashicorp/terraform-plugin-mux v0.16.0 h1:RCzXHGDYwUwwqfYYWJKBFaS3fQsWn/ZECEiW7p2023I= @@ -1968,26 +1968,26 @@ github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3d github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= -github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= -github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= +github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= +github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+SobA= github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2pHgxQ8= github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -github.com/pulumi/pulumi-java/pkg v0.14.0 h1:CKL7lLF81Fq6VRhA5TNFsSMnHraTNCUzIhqCzYX8Wzk= -github.com/pulumi/pulumi-java/pkg v0.14.0/go.mod h1:VybuJMWJtJc9ZNbt1kcYH4TbpocMx9mEi7YWL2Co99c= -github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0 h1:g15WgVKJBhFtzhLqOky6R77QIU3x4KkunrLHDSkK6CM= -github.com/pulumi/pulumi-terraform-bridge/pf v0.43.0/go.mod h1:xdU2rcUBjPX/alXMiywUK1GvN4goUHZxos8ZfT6sVXM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 h1:e7xfYAiXCE8LCwfKvbGeNAjdPmKwPM3kavEXECt3wvs= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0/go.mod h1:dIVp4qG+GsUwmpz40L7Z+PZnzHf3cQq1CAFwhz++ris= +github.com/pulumi/pulumi-java/pkg v0.16.1 h1:orHnDWFbpOERwaBLry9f+6nqPX7x0MsrIkaa5QDGAns= +github.com/pulumi/pulumi-java/pkg v0.16.1/go.mod h1:QH0DihZkWYle9XFc+LJ76m4hUo+fA3RdyaM90pqOaSM= +github.com/pulumi/pulumi-terraform-bridge/pf v0.44.0 h1:132fy7aKhfT3AdftxHFsOIbrh+FqtosXH8+cVFHt0TE= +github.com/pulumi/pulumi-terraform-bridge/pf v0.44.0/go.mod h1:5O1yEvWEP37s12Pu++LWcDcccvQWn87GLHQ4gTvjYh8= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.0 h1:E4YTsAI8oAF8cDj5XR1cbHUfINCc1IJxElriOZBdsxE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.0/go.mod h1:DvueDDtOIbf7W1Or4oH0o7F990ozp/ROmlm/vgLoe+g= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= -github.com/pulumi/pulumi-yaml v1.9.2 h1:BCUuRPA1USmFXrExiHRU8yJ+OiphLYnroPxKRgGCJrs= -github.com/pulumi/pulumi-yaml v1.9.2/go.mod h1:sIh/Oa/NLRGTojevh8D2/cPDPvo2j9iXegVDQIKKfw4= -github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= -github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= -github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= -github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi-yaml v1.10.0 h1:djbgMJCxJBmYMr4kOpAXH5iauxGohYjEuTLfxD3NUUI= +github.com/pulumi/pulumi-yaml v1.10.0/go.mod h1://lTvwHpgJ+WBKeMGiLrd/jinc4dl3eWV5LZ3G8iCfE= +github.com/pulumi/pulumi/pkg/v3 v3.133.0 h1:j1rd7ToLZIQc5H0427ISOXSbOIIemZ6B0MXtRhQ38Yg= +github.com/pulumi/pulumi/pkg/v3 v3.133.0/go.mod h1:JtMAnrsFIccO138WcMfPdhO0PioDukKihnZC0xTRLwo= +github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= +github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -2091,8 +2091,6 @@ github.com/tj/go-buffer v1.1.0/go.mod h1:iyiJpfFcR2B9sXu7KvjbT9fpM4mOelRSDTbntVj github.com/tj/go-elastic v0.0.0-20171221160941-36157cbbebc2/go.mod h1:WjeM0Oo1eNAjXGDx2yma7uG2XoyRZTq1uv3M/o7imD0= github.com/tj/go-kinesis v0.0.0-20171128231115-08b17f58cb1b/go.mod h1:/yhzCV0xPfx6jb1bBgRFjl5lytqVqZXEaeqWP8lTEao= github.com/tj/go-spin v1.1.0/go.mod h1:Mg1mzmePZm4dva8Qz60H2lHwmJ2loum4VIrLgVnKwh4= -github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= -github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= 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= @@ -2399,8 +2397,8 @@ golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQ golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM= -golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= -golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= +golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs= +golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= 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= @@ -2934,8 +2932,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a/go. google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:IBQ646DjkDkvUIsVq/cc03FUFQ9wbZu7yE396YcL870= google.golang.org/genproto/googleapis/api v0.0.0-20231030173426-d783a09b4405/go.mod h1:oT32Z4o8Zv2xPQTg0pbVaPr0MPOH6f14RgXt7zfIpwg= google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= -google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 h1:oqta3O3AnlWbmIE3bFnWbu4bRxZjfbWCp0cKSuZh01E= -google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7/go.mod h1:VQW3tUculP/D4B+xVCo+VgSq8As6wA9ZjHl//pmk+6s= +google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 h1:+rdxYoE3E5htTEWIe15GlN6IfvbURM//Jt0mmkmm6ZU= +google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117/go.mod h1:OimBR/bc1wPO9iV4NC2bpyjy3VnAwZh5EBPQdtaE5oo= google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:ylj+BE99M198VPbBh6A8d9n3w8fChvyLK3wwBOjXBFA= google.golang.org/genproto/googleapis/bytestream v0.0.0-20230807174057-1744710a1577/go.mod h1:NjCQG/D8JandXxM57PZbAJL1DCNL6EypA0vPPwfsc7c= google.golang.org/genproto/googleapis/bytestream v0.0.0-20231030173426-d783a09b4405/go.mod h1:GRUCuLdzVqZte8+Dl/D4N25yLzcGqqWaYkeVOwulFqw= @@ -2956,8 +2954,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a/go. google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 h1:8EeVk1VKMD+GD/neyEHGmz7pFblqPjHoi+PGQIlLx2s= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 h1:1GBuWVLM/KMVUv1t1En5Gs+gFZCNd360GGb4sSxtrhU= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -3008,8 +3006,8 @@ google.golang.org/grpc v1.58.2/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSs google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= -google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= -google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= +google.golang.org/grpc v1.66.2 h1:3QdXkuq3Bkh7w+ywLdLvM56cmGvQHUMZpiCzt6Rqaoo= +google.golang.org/grpc v1.66.2/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y= 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= @@ -3031,8 +3029,8 @@ google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4= -google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= 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.mod b/sdk/go.mod index 39aea33cd..4fab30101 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.130.0 + github.com/pulumi/pulumi/sdk/v3 v3.133.0 ) require ( @@ -69,7 +69,6 @@ require ( github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.2.0 // 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 diff --git a/sdk/go.sum b/sdk/go.sum index fa822a8a0..48fc7cf9a 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= -github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/sdk/v3 v3.133.0 h1:o+7dbJZY9BVgAjOF5GYIWgjp/zpKAgWZwD4pPjUMXKQ= +github.com/pulumi/pulumi/sdk/v3 v3.133.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= 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= @@ -186,8 +186,6 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= 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= -github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= 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= diff --git a/sdk/go/akamai/getAppSecAdvancedSettingsEvasivePathMatch.go b/sdk/go/akamai/getAppSecAdvancedSettingsEvasivePathMatch.go index cac25cc1e..f47455899 100644 --- a/sdk/go/akamai/getAppSecAdvancedSettingsEvasivePathMatch.go +++ b/sdk/go/akamai/getAppSecAdvancedSettingsEvasivePathMatch.go @@ -39,14 +39,20 @@ type LookupAppSecAdvancedSettingsEvasivePathMatchResult struct { func LookupAppSecAdvancedSettingsEvasivePathMatchOutput(ctx *pulumi.Context, args LookupAppSecAdvancedSettingsEvasivePathMatchOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecAdvancedSettingsEvasivePathMatchResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecAdvancedSettingsEvasivePathMatchResult, error) { + ApplyT(func(v interface{}) (LookupAppSecAdvancedSettingsEvasivePathMatchResultOutput, error) { args := v.(LookupAppSecAdvancedSettingsEvasivePathMatchArgs) - r, err := LookupAppSecAdvancedSettingsEvasivePathMatch(ctx, &args, opts...) - var s LookupAppSecAdvancedSettingsEvasivePathMatchResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecAdvancedSettingsEvasivePathMatchResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecAdvancedSettingsEvasivePathMatch:getAppSecAdvancedSettingsEvasivePathMatch", args, &rv, "", opts...) + if err != nil { + return LookupAppSecAdvancedSettingsEvasivePathMatchResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecAdvancedSettingsEvasivePathMatchResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecAdvancedSettingsEvasivePathMatchResultOutput), nil + } + return output, nil }).(LookupAppSecAdvancedSettingsEvasivePathMatchResultOutput) } diff --git a/sdk/go/akamai/getAppSecAdvancedSettingsLogging.go b/sdk/go/akamai/getAppSecAdvancedSettingsLogging.go index e2915f818..260d9d894 100644 --- a/sdk/go/akamai/getAppSecAdvancedSettingsLogging.go +++ b/sdk/go/akamai/getAppSecAdvancedSettingsLogging.go @@ -39,14 +39,20 @@ type LookupAppSecAdvancedSettingsLoggingResult struct { func LookupAppSecAdvancedSettingsLoggingOutput(ctx *pulumi.Context, args LookupAppSecAdvancedSettingsLoggingOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecAdvancedSettingsLoggingResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecAdvancedSettingsLoggingResult, error) { + ApplyT(func(v interface{}) (LookupAppSecAdvancedSettingsLoggingResultOutput, error) { args := v.(LookupAppSecAdvancedSettingsLoggingArgs) - r, err := LookupAppSecAdvancedSettingsLogging(ctx, &args, opts...) - var s LookupAppSecAdvancedSettingsLoggingResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecAdvancedSettingsLoggingResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecAdvancedSettingsLogging:getAppSecAdvancedSettingsLogging", args, &rv, "", opts...) + if err != nil { + return LookupAppSecAdvancedSettingsLoggingResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecAdvancedSettingsLoggingResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecAdvancedSettingsLoggingResultOutput), nil + } + return output, nil }).(LookupAppSecAdvancedSettingsLoggingResultOutput) } diff --git a/sdk/go/akamai/getAppSecAdvancedSettingsPragmaHeader.go b/sdk/go/akamai/getAppSecAdvancedSettingsPragmaHeader.go index 7af0fa421..8e981a4d0 100644 --- a/sdk/go/akamai/getAppSecAdvancedSettingsPragmaHeader.go +++ b/sdk/go/akamai/getAppSecAdvancedSettingsPragmaHeader.go @@ -39,14 +39,20 @@ type LookupAppSecAdvancedSettingsPragmaHeaderResult struct { func LookupAppSecAdvancedSettingsPragmaHeaderOutput(ctx *pulumi.Context, args LookupAppSecAdvancedSettingsPragmaHeaderOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecAdvancedSettingsPragmaHeaderResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecAdvancedSettingsPragmaHeaderResult, error) { + ApplyT(func(v interface{}) (LookupAppSecAdvancedSettingsPragmaHeaderResultOutput, error) { args := v.(LookupAppSecAdvancedSettingsPragmaHeaderArgs) - r, err := LookupAppSecAdvancedSettingsPragmaHeader(ctx, &args, opts...) - var s LookupAppSecAdvancedSettingsPragmaHeaderResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecAdvancedSettingsPragmaHeaderResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecAdvancedSettingsPragmaHeader:getAppSecAdvancedSettingsPragmaHeader", args, &rv, "", opts...) + if err != nil { + return LookupAppSecAdvancedSettingsPragmaHeaderResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecAdvancedSettingsPragmaHeaderResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecAdvancedSettingsPragmaHeaderResultOutput), nil + } + return output, nil }).(LookupAppSecAdvancedSettingsPragmaHeaderResultOutput) } diff --git a/sdk/go/akamai/getAppSecAdvancedSettingsPrefetch.go b/sdk/go/akamai/getAppSecAdvancedSettingsPrefetch.go index 4b8540d81..f909b5c5e 100644 --- a/sdk/go/akamai/getAppSecAdvancedSettingsPrefetch.go +++ b/sdk/go/akamai/getAppSecAdvancedSettingsPrefetch.go @@ -37,14 +37,20 @@ type LookupAppSecAdvancedSettingsPrefetchResult struct { func LookupAppSecAdvancedSettingsPrefetchOutput(ctx *pulumi.Context, args LookupAppSecAdvancedSettingsPrefetchOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecAdvancedSettingsPrefetchResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecAdvancedSettingsPrefetchResult, error) { + ApplyT(func(v interface{}) (LookupAppSecAdvancedSettingsPrefetchResultOutput, error) { args := v.(LookupAppSecAdvancedSettingsPrefetchArgs) - r, err := LookupAppSecAdvancedSettingsPrefetch(ctx, &args, opts...) - var s LookupAppSecAdvancedSettingsPrefetchResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecAdvancedSettingsPrefetchResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecAdvancedSettingsPrefetch:getAppSecAdvancedSettingsPrefetch", args, &rv, "", opts...) + if err != nil { + return LookupAppSecAdvancedSettingsPrefetchResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecAdvancedSettingsPrefetchResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecAdvancedSettingsPrefetchResultOutput), nil + } + return output, nil }).(LookupAppSecAdvancedSettingsPrefetchResultOutput) } diff --git a/sdk/go/akamai/getAppSecApiEndpoints.go b/sdk/go/akamai/getAppSecApiEndpoints.go index 04b438926..d1e229530 100644 --- a/sdk/go/akamai/getAppSecApiEndpoints.go +++ b/sdk/go/akamai/getAppSecApiEndpoints.go @@ -42,14 +42,20 @@ type GetAppSecApiEndpointsResult struct { func GetAppSecApiEndpointsOutput(ctx *pulumi.Context, args GetAppSecApiEndpointsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecApiEndpointsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecApiEndpointsResult, error) { + ApplyT(func(v interface{}) (GetAppSecApiEndpointsResultOutput, error) { args := v.(GetAppSecApiEndpointsArgs) - r, err := GetAppSecApiEndpoints(ctx, &args, opts...) - var s GetAppSecApiEndpointsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecApiEndpointsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecApiEndpoints:getAppSecApiEndpoints", args, &rv, "", opts...) + if err != nil { + return GetAppSecApiEndpointsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecApiEndpointsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecApiEndpointsResultOutput), nil + } + return output, nil }).(GetAppSecApiEndpointsResultOutput) } diff --git a/sdk/go/akamai/getAppSecApiRequestConstraints.go b/sdk/go/akamai/getAppSecApiRequestConstraints.go index d8d025aff..5bb0ec438 100644 --- a/sdk/go/akamai/getAppSecApiRequestConstraints.go +++ b/sdk/go/akamai/getAppSecApiRequestConstraints.go @@ -41,14 +41,20 @@ type LookupAppSecApiRequestConstraintsResult struct { func LookupAppSecApiRequestConstraintsOutput(ctx *pulumi.Context, args LookupAppSecApiRequestConstraintsOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecApiRequestConstraintsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecApiRequestConstraintsResult, error) { + ApplyT(func(v interface{}) (LookupAppSecApiRequestConstraintsResultOutput, error) { args := v.(LookupAppSecApiRequestConstraintsArgs) - r, err := LookupAppSecApiRequestConstraints(ctx, &args, opts...) - var s LookupAppSecApiRequestConstraintsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecApiRequestConstraintsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecApiRequestConstraints:getAppSecApiRequestConstraints", args, &rv, "", opts...) + if err != nil { + return LookupAppSecApiRequestConstraintsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecApiRequestConstraintsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecApiRequestConstraintsResultOutput), nil + } + return output, nil }).(LookupAppSecApiRequestConstraintsResultOutput) } diff --git a/sdk/go/akamai/getAppSecAttackGroups.go b/sdk/go/akamai/getAppSecAttackGroups.go index 4443402f3..832642642 100644 --- a/sdk/go/akamai/getAppSecAttackGroups.go +++ b/sdk/go/akamai/getAppSecAttackGroups.go @@ -43,14 +43,20 @@ type GetAppSecAttackGroupsResult struct { func GetAppSecAttackGroupsOutput(ctx *pulumi.Context, args GetAppSecAttackGroupsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecAttackGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecAttackGroupsResult, error) { + ApplyT(func(v interface{}) (GetAppSecAttackGroupsResultOutput, error) { args := v.(GetAppSecAttackGroupsArgs) - r, err := GetAppSecAttackGroups(ctx, &args, opts...) - var s GetAppSecAttackGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecAttackGroupsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecAttackGroups:getAppSecAttackGroups", args, &rv, "", opts...) + if err != nil { + return GetAppSecAttackGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecAttackGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecAttackGroupsResultOutput), nil + } + return output, nil }).(GetAppSecAttackGroupsResultOutput) } diff --git a/sdk/go/akamai/getAppSecBypassNetworkLists.go b/sdk/go/akamai/getAppSecBypassNetworkLists.go index d8597d10a..871bac441 100644 --- a/sdk/go/akamai/getAppSecBypassNetworkLists.go +++ b/sdk/go/akamai/getAppSecBypassNetworkLists.go @@ -40,14 +40,20 @@ type GetAppSecBypassNetworkListsResult struct { func GetAppSecBypassNetworkListsOutput(ctx *pulumi.Context, args GetAppSecBypassNetworkListsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecBypassNetworkListsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecBypassNetworkListsResult, error) { + ApplyT(func(v interface{}) (GetAppSecBypassNetworkListsResultOutput, error) { args := v.(GetAppSecBypassNetworkListsArgs) - r, err := GetAppSecBypassNetworkLists(ctx, &args, opts...) - var s GetAppSecBypassNetworkListsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecBypassNetworkListsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecBypassNetworkLists:getAppSecBypassNetworkLists", args, &rv, "", opts...) + if err != nil { + return GetAppSecBypassNetworkListsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecBypassNetworkListsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecBypassNetworkListsResultOutput), nil + } + return output, nil }).(GetAppSecBypassNetworkListsResultOutput) } diff --git a/sdk/go/akamai/getAppSecConfiguration.go b/sdk/go/akamai/getAppSecConfiguration.go index fc3bb25e0..6972b7b52 100644 --- a/sdk/go/akamai/getAppSecConfiguration.go +++ b/sdk/go/akamai/getAppSecConfiguration.go @@ -40,14 +40,20 @@ type LookupAppSecConfigurationResult struct { func LookupAppSecConfigurationOutput(ctx *pulumi.Context, args LookupAppSecConfigurationOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecConfigurationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecConfigurationResult, error) { + ApplyT(func(v interface{}) (LookupAppSecConfigurationResultOutput, error) { args := v.(LookupAppSecConfigurationArgs) - r, err := LookupAppSecConfiguration(ctx, &args, opts...) - var s LookupAppSecConfigurationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecConfigurationResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecConfiguration:getAppSecConfiguration", args, &rv, "", opts...) + if err != nil { + return LookupAppSecConfigurationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecConfigurationResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecConfigurationResultOutput), nil + } + return output, nil }).(LookupAppSecConfigurationResultOutput) } diff --git a/sdk/go/akamai/getAppSecConfigurationVersion.go b/sdk/go/akamai/getAppSecConfigurationVersion.go index 159d9c6be..82b28ff20 100644 --- a/sdk/go/akamai/getAppSecConfigurationVersion.go +++ b/sdk/go/akamai/getAppSecConfigurationVersion.go @@ -41,14 +41,20 @@ type GetAppSecConfigurationVersionResult struct { func GetAppSecConfigurationVersionOutput(ctx *pulumi.Context, args GetAppSecConfigurationVersionOutputArgs, opts ...pulumi.InvokeOption) GetAppSecConfigurationVersionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecConfigurationVersionResult, error) { + ApplyT(func(v interface{}) (GetAppSecConfigurationVersionResultOutput, error) { args := v.(GetAppSecConfigurationVersionArgs) - r, err := GetAppSecConfigurationVersion(ctx, &args, opts...) - var s GetAppSecConfigurationVersionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecConfigurationVersionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecConfigurationVersion:getAppSecConfigurationVersion", args, &rv, "", opts...) + if err != nil { + return GetAppSecConfigurationVersionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecConfigurationVersionResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecConfigurationVersionResultOutput), nil + } + return output, nil }).(GetAppSecConfigurationVersionResultOutput) } diff --git a/sdk/go/akamai/getAppSecContractsGroups.go b/sdk/go/akamai/getAppSecContractsGroups.go index 04c7c3a50..c8594b28a 100644 --- a/sdk/go/akamai/getAppSecContractsGroups.go +++ b/sdk/go/akamai/getAppSecContractsGroups.go @@ -41,14 +41,20 @@ type GetAppSecContractsGroupsResult struct { func GetAppSecContractsGroupsOutput(ctx *pulumi.Context, args GetAppSecContractsGroupsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecContractsGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecContractsGroupsResult, error) { + ApplyT(func(v interface{}) (GetAppSecContractsGroupsResultOutput, error) { args := v.(GetAppSecContractsGroupsArgs) - r, err := GetAppSecContractsGroups(ctx, &args, opts...) - var s GetAppSecContractsGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecContractsGroupsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecContractsGroups:getAppSecContractsGroups", args, &rv, "", opts...) + if err != nil { + return GetAppSecContractsGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecContractsGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecContractsGroupsResultOutput), nil + } + return output, nil }).(GetAppSecContractsGroupsResultOutput) } diff --git a/sdk/go/akamai/getAppSecCustomDeny.go b/sdk/go/akamai/getAppSecCustomDeny.go index 7b3a567e7..8f5d3c4a2 100644 --- a/sdk/go/akamai/getAppSecCustomDeny.go +++ b/sdk/go/akamai/getAppSecCustomDeny.go @@ -39,14 +39,20 @@ type LookupAppSecCustomDenyResult struct { func LookupAppSecCustomDenyOutput(ctx *pulumi.Context, args LookupAppSecCustomDenyOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecCustomDenyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecCustomDenyResult, error) { + ApplyT(func(v interface{}) (LookupAppSecCustomDenyResultOutput, error) { args := v.(LookupAppSecCustomDenyArgs) - r, err := LookupAppSecCustomDeny(ctx, &args, opts...) - var s LookupAppSecCustomDenyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecCustomDenyResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecCustomDeny:getAppSecCustomDeny", args, &rv, "", opts...) + if err != nil { + return LookupAppSecCustomDenyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecCustomDenyResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecCustomDenyResultOutput), nil + } + return output, nil }).(LookupAppSecCustomDenyResultOutput) } diff --git a/sdk/go/akamai/getAppSecCustomRuleActions.go b/sdk/go/akamai/getAppSecCustomRuleActions.go index 269a3a12e..fc029b91a 100644 --- a/sdk/go/akamai/getAppSecCustomRuleActions.go +++ b/sdk/go/akamai/getAppSecCustomRuleActions.go @@ -40,14 +40,20 @@ type GetAppSecCustomRuleActionsResult struct { func GetAppSecCustomRuleActionsOutput(ctx *pulumi.Context, args GetAppSecCustomRuleActionsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecCustomRuleActionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecCustomRuleActionsResult, error) { + ApplyT(func(v interface{}) (GetAppSecCustomRuleActionsResultOutput, error) { args := v.(GetAppSecCustomRuleActionsArgs) - r, err := GetAppSecCustomRuleActions(ctx, &args, opts...) - var s GetAppSecCustomRuleActionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecCustomRuleActionsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecCustomRuleActions:getAppSecCustomRuleActions", args, &rv, "", opts...) + if err != nil { + return GetAppSecCustomRuleActionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecCustomRuleActionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecCustomRuleActionsResultOutput), nil + } + return output, nil }).(GetAppSecCustomRuleActionsResultOutput) } diff --git a/sdk/go/akamai/getAppSecCustomRules.go b/sdk/go/akamai/getAppSecCustomRules.go index 1c4108e9e..de84e82ed 100644 --- a/sdk/go/akamai/getAppSecCustomRules.go +++ b/sdk/go/akamai/getAppSecCustomRules.go @@ -39,14 +39,20 @@ type GetAppSecCustomRulesResult struct { func GetAppSecCustomRulesOutput(ctx *pulumi.Context, args GetAppSecCustomRulesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecCustomRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecCustomRulesResult, error) { + ApplyT(func(v interface{}) (GetAppSecCustomRulesResultOutput, error) { args := v.(GetAppSecCustomRulesArgs) - r, err := GetAppSecCustomRules(ctx, &args, opts...) - var s GetAppSecCustomRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecCustomRulesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecCustomRules:getAppSecCustomRules", args, &rv, "", opts...) + if err != nil { + return GetAppSecCustomRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecCustomRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecCustomRulesResultOutput), nil + } + return output, nil }).(GetAppSecCustomRulesResultOutput) } diff --git a/sdk/go/akamai/getAppSecEval.go b/sdk/go/akamai/getAppSecEval.go index 0aa9e4dba..c0e805661 100644 --- a/sdk/go/akamai/getAppSecEval.go +++ b/sdk/go/akamai/getAppSecEval.go @@ -38,14 +38,20 @@ type LookupAppSecEvalResult struct { func LookupAppSecEvalOutput(ctx *pulumi.Context, args LookupAppSecEvalOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecEvalResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecEvalResult, error) { + ApplyT(func(v interface{}) (LookupAppSecEvalResultOutput, error) { args := v.(LookupAppSecEvalArgs) - r, err := LookupAppSecEval(ctx, &args, opts...) - var s LookupAppSecEvalResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecEvalResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecEval:getAppSecEval", args, &rv, "", opts...) + if err != nil { + return LookupAppSecEvalResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecEvalResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecEvalResultOutput), nil + } + return output, nil }).(LookupAppSecEvalResultOutput) } diff --git a/sdk/go/akamai/getAppSecEvalGroups.go b/sdk/go/akamai/getAppSecEvalGroups.go index 9ab0f0fbd..1a54cc07e 100644 --- a/sdk/go/akamai/getAppSecEvalGroups.go +++ b/sdk/go/akamai/getAppSecEvalGroups.go @@ -43,14 +43,20 @@ type GetAppSecEvalGroupsResult struct { func GetAppSecEvalGroupsOutput(ctx *pulumi.Context, args GetAppSecEvalGroupsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecEvalGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecEvalGroupsResult, error) { + ApplyT(func(v interface{}) (GetAppSecEvalGroupsResultOutput, error) { args := v.(GetAppSecEvalGroupsArgs) - r, err := GetAppSecEvalGroups(ctx, &args, opts...) - var s GetAppSecEvalGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecEvalGroupsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecEvalGroups:getAppSecEvalGroups", args, &rv, "", opts...) + if err != nil { + return GetAppSecEvalGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecEvalGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecEvalGroupsResultOutput), nil + } + return output, nil }).(GetAppSecEvalGroupsResultOutput) } diff --git a/sdk/go/akamai/getAppSecEvalPenaltyBox.go b/sdk/go/akamai/getAppSecEvalPenaltyBox.go index 72c50120d..14496bcfa 100644 --- a/sdk/go/akamai/getAppSecEvalPenaltyBox.go +++ b/sdk/go/akamai/getAppSecEvalPenaltyBox.go @@ -40,14 +40,20 @@ type LookupAppSecEvalPenaltyBoxResult struct { func LookupAppSecEvalPenaltyBoxOutput(ctx *pulumi.Context, args LookupAppSecEvalPenaltyBoxOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecEvalPenaltyBoxResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecEvalPenaltyBoxResult, error) { + ApplyT(func(v interface{}) (LookupAppSecEvalPenaltyBoxResultOutput, error) { args := v.(LookupAppSecEvalPenaltyBoxArgs) - r, err := LookupAppSecEvalPenaltyBox(ctx, &args, opts...) - var s LookupAppSecEvalPenaltyBoxResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecEvalPenaltyBoxResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecEvalPenaltyBox:getAppSecEvalPenaltyBox", args, &rv, "", opts...) + if err != nil { + return LookupAppSecEvalPenaltyBoxResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecEvalPenaltyBoxResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecEvalPenaltyBoxResultOutput), nil + } + return output, nil }).(LookupAppSecEvalPenaltyBoxResultOutput) } diff --git a/sdk/go/akamai/getAppSecEvalRules.go b/sdk/go/akamai/getAppSecEvalRules.go index 9f52e88dc..13938b84b 100644 --- a/sdk/go/akamai/getAppSecEvalRules.go +++ b/sdk/go/akamai/getAppSecEvalRules.go @@ -43,14 +43,20 @@ type GetAppSecEvalRulesResult struct { func GetAppSecEvalRulesOutput(ctx *pulumi.Context, args GetAppSecEvalRulesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecEvalRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecEvalRulesResult, error) { + ApplyT(func(v interface{}) (GetAppSecEvalRulesResultOutput, error) { args := v.(GetAppSecEvalRulesArgs) - r, err := GetAppSecEvalRules(ctx, &args, opts...) - var s GetAppSecEvalRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecEvalRulesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecEvalRules:getAppSecEvalRules", args, &rv, "", opts...) + if err != nil { + return GetAppSecEvalRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecEvalRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecEvalRulesResultOutput), nil + } + return output, nil }).(GetAppSecEvalRulesResultOutput) } diff --git a/sdk/go/akamai/getAppSecExportConfiguration.go b/sdk/go/akamai/getAppSecExportConfiguration.go index 9803fccf9..1a598f0f3 100644 --- a/sdk/go/akamai/getAppSecExportConfiguration.go +++ b/sdk/go/akamai/getAppSecExportConfiguration.go @@ -41,14 +41,20 @@ type GetAppSecExportConfigurationResult struct { func GetAppSecExportConfigurationOutput(ctx *pulumi.Context, args GetAppSecExportConfigurationOutputArgs, opts ...pulumi.InvokeOption) GetAppSecExportConfigurationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecExportConfigurationResult, error) { + ApplyT(func(v interface{}) (GetAppSecExportConfigurationResultOutput, error) { args := v.(GetAppSecExportConfigurationArgs) - r, err := GetAppSecExportConfiguration(ctx, &args, opts...) - var s GetAppSecExportConfigurationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecExportConfigurationResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecExportConfiguration:getAppSecExportConfiguration", args, &rv, "", opts...) + if err != nil { + return GetAppSecExportConfigurationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecExportConfigurationResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecExportConfigurationResultOutput), nil + } + return output, nil }).(GetAppSecExportConfigurationResultOutput) } diff --git a/sdk/go/akamai/getAppSecFailoverHostnames.go b/sdk/go/akamai/getAppSecFailoverHostnames.go index 6ba0cff37..a7f2717c8 100644 --- a/sdk/go/akamai/getAppSecFailoverHostnames.go +++ b/sdk/go/akamai/getAppSecFailoverHostnames.go @@ -38,14 +38,20 @@ type GetAppSecFailoverHostnamesResult struct { func GetAppSecFailoverHostnamesOutput(ctx *pulumi.Context, args GetAppSecFailoverHostnamesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecFailoverHostnamesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecFailoverHostnamesResult, error) { + ApplyT(func(v interface{}) (GetAppSecFailoverHostnamesResultOutput, error) { args := v.(GetAppSecFailoverHostnamesArgs) - r, err := GetAppSecFailoverHostnames(ctx, &args, opts...) - var s GetAppSecFailoverHostnamesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecFailoverHostnamesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecFailoverHostnames:getAppSecFailoverHostnames", args, &rv, "", opts...) + if err != nil { + return GetAppSecFailoverHostnamesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecFailoverHostnamesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecFailoverHostnamesResultOutput), nil + } + return output, nil }).(GetAppSecFailoverHostnamesResultOutput) } diff --git a/sdk/go/akamai/getAppSecHostnameCoverage.go b/sdk/go/akamai/getAppSecHostnameCoverage.go index 95cbcdcb8..8991d2dac 100644 --- a/sdk/go/akamai/getAppSecHostnameCoverage.go +++ b/sdk/go/akamai/getAppSecHostnameCoverage.go @@ -30,13 +30,19 @@ type GetAppSecHostnameCoverageResult struct { } func GetAppSecHostnameCoverageOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAppSecHostnameCoverageResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetAppSecHostnameCoverageResult, error) { - r, err := GetAppSecHostnameCoverage(ctx, opts...) - var s GetAppSecHostnameCoverageResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetAppSecHostnameCoverageResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecHostnameCoverageResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecHostnameCoverage:getAppSecHostnameCoverage", nil, &rv, "", opts...) + if err != nil { + return GetAppSecHostnameCoverageResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecHostnameCoverageResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecHostnameCoverageResultOutput), nil + } + return output, nil }).(GetAppSecHostnameCoverageResultOutput) } diff --git a/sdk/go/akamai/getAppSecHostnameCoverageMatchTargets.go b/sdk/go/akamai/getAppSecHostnameCoverageMatchTargets.go index b1829334c..54cc0156a 100644 --- a/sdk/go/akamai/getAppSecHostnameCoverageMatchTargets.go +++ b/sdk/go/akamai/getAppSecHostnameCoverageMatchTargets.go @@ -39,14 +39,20 @@ type GetAppSecHostnameCoverageMatchTargetsResult struct { func GetAppSecHostnameCoverageMatchTargetsOutput(ctx *pulumi.Context, args GetAppSecHostnameCoverageMatchTargetsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecHostnameCoverageMatchTargetsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecHostnameCoverageMatchTargetsResult, error) { + ApplyT(func(v interface{}) (GetAppSecHostnameCoverageMatchTargetsResultOutput, error) { args := v.(GetAppSecHostnameCoverageMatchTargetsArgs) - r, err := GetAppSecHostnameCoverageMatchTargets(ctx, &args, opts...) - var s GetAppSecHostnameCoverageMatchTargetsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecHostnameCoverageMatchTargetsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecHostnameCoverageMatchTargets:getAppSecHostnameCoverageMatchTargets", args, &rv, "", opts...) + if err != nil { + return GetAppSecHostnameCoverageMatchTargetsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecHostnameCoverageMatchTargetsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecHostnameCoverageMatchTargetsResultOutput), nil + } + return output, nil }).(GetAppSecHostnameCoverageMatchTargetsResultOutput) } diff --git a/sdk/go/akamai/getAppSecHostnameCoverageOverlapping.go b/sdk/go/akamai/getAppSecHostnameCoverageOverlapping.go index ec7185b59..f3e638591 100644 --- a/sdk/go/akamai/getAppSecHostnameCoverageOverlapping.go +++ b/sdk/go/akamai/getAppSecHostnameCoverageOverlapping.go @@ -39,14 +39,20 @@ type GetAppSecHostnameCoverageOverlappingResult struct { func GetAppSecHostnameCoverageOverlappingOutput(ctx *pulumi.Context, args GetAppSecHostnameCoverageOverlappingOutputArgs, opts ...pulumi.InvokeOption) GetAppSecHostnameCoverageOverlappingResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecHostnameCoverageOverlappingResult, error) { + ApplyT(func(v interface{}) (GetAppSecHostnameCoverageOverlappingResultOutput, error) { args := v.(GetAppSecHostnameCoverageOverlappingArgs) - r, err := GetAppSecHostnameCoverageOverlapping(ctx, &args, opts...) - var s GetAppSecHostnameCoverageOverlappingResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecHostnameCoverageOverlappingResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecHostnameCoverageOverlapping:getAppSecHostnameCoverageOverlapping", args, &rv, "", opts...) + if err != nil { + return GetAppSecHostnameCoverageOverlappingResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecHostnameCoverageOverlappingResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecHostnameCoverageOverlappingResultOutput), nil + } + return output, nil }).(GetAppSecHostnameCoverageOverlappingResultOutput) } diff --git a/sdk/go/akamai/getAppSecIPGeo.go b/sdk/go/akamai/getAppSecIPGeo.go index 1c74a7bbe..e7069d298 100644 --- a/sdk/go/akamai/getAppSecIPGeo.go +++ b/sdk/go/akamai/getAppSecIPGeo.go @@ -44,14 +44,20 @@ type LookupAppSecIPGeoResult struct { func LookupAppSecIPGeoOutput(ctx *pulumi.Context, args LookupAppSecIPGeoOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecIPGeoResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecIPGeoResult, error) { + ApplyT(func(v interface{}) (LookupAppSecIPGeoResultOutput, error) { args := v.(LookupAppSecIPGeoArgs) - r, err := LookupAppSecIPGeo(ctx, &args, opts...) - var s LookupAppSecIPGeoResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecIPGeoResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecIPGeo:getAppSecIPGeo", args, &rv, "", opts...) + if err != nil { + return LookupAppSecIPGeoResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecIPGeoResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecIPGeoResultOutput), nil + } + return output, nil }).(LookupAppSecIPGeoResultOutput) } diff --git a/sdk/go/akamai/getAppSecMalwareContentTypes.go b/sdk/go/akamai/getAppSecMalwareContentTypes.go index 3aebaa9dc..571fbc9ea 100644 --- a/sdk/go/akamai/getAppSecMalwareContentTypes.go +++ b/sdk/go/akamai/getAppSecMalwareContentTypes.go @@ -37,14 +37,20 @@ type GetAppSecMalwareContentTypesResult struct { func GetAppSecMalwareContentTypesOutput(ctx *pulumi.Context, args GetAppSecMalwareContentTypesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecMalwareContentTypesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecMalwareContentTypesResult, error) { + ApplyT(func(v interface{}) (GetAppSecMalwareContentTypesResultOutput, error) { args := v.(GetAppSecMalwareContentTypesArgs) - r, err := GetAppSecMalwareContentTypes(ctx, &args, opts...) - var s GetAppSecMalwareContentTypesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecMalwareContentTypesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecMalwareContentTypes:getAppSecMalwareContentTypes", args, &rv, "", opts...) + if err != nil { + return GetAppSecMalwareContentTypesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecMalwareContentTypesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecMalwareContentTypesResultOutput), nil + } + return output, nil }).(GetAppSecMalwareContentTypesResultOutput) } diff --git a/sdk/go/akamai/getAppSecMalwarePolicies.go b/sdk/go/akamai/getAppSecMalwarePolicies.go index 1722de6d2..fbf87accb 100644 --- a/sdk/go/akamai/getAppSecMalwarePolicies.go +++ b/sdk/go/akamai/getAppSecMalwarePolicies.go @@ -39,14 +39,20 @@ type GetAppSecMalwarePoliciesResult struct { func GetAppSecMalwarePoliciesOutput(ctx *pulumi.Context, args GetAppSecMalwarePoliciesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecMalwarePoliciesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecMalwarePoliciesResult, error) { + ApplyT(func(v interface{}) (GetAppSecMalwarePoliciesResultOutput, error) { args := v.(GetAppSecMalwarePoliciesArgs) - r, err := GetAppSecMalwarePolicies(ctx, &args, opts...) - var s GetAppSecMalwarePoliciesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecMalwarePoliciesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecMalwarePolicies:getAppSecMalwarePolicies", args, &rv, "", opts...) + if err != nil { + return GetAppSecMalwarePoliciesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecMalwarePoliciesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecMalwarePoliciesResultOutput), nil + } + return output, nil }).(GetAppSecMalwarePoliciesResultOutput) } diff --git a/sdk/go/akamai/getAppSecMalwarePolicyActions.go b/sdk/go/akamai/getAppSecMalwarePolicyActions.go index 4b3dac5e7..c66c1d471 100644 --- a/sdk/go/akamai/getAppSecMalwarePolicyActions.go +++ b/sdk/go/akamai/getAppSecMalwarePolicyActions.go @@ -40,14 +40,20 @@ type LookupAppSecMalwarePolicyActionsResult struct { func LookupAppSecMalwarePolicyActionsOutput(ctx *pulumi.Context, args LookupAppSecMalwarePolicyActionsOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecMalwarePolicyActionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecMalwarePolicyActionsResult, error) { + ApplyT(func(v interface{}) (LookupAppSecMalwarePolicyActionsResultOutput, error) { args := v.(LookupAppSecMalwarePolicyActionsArgs) - r, err := LookupAppSecMalwarePolicyActions(ctx, &args, opts...) - var s LookupAppSecMalwarePolicyActionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecMalwarePolicyActionsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecMalwarePolicyActions:getAppSecMalwarePolicyActions", args, &rv, "", opts...) + if err != nil { + return LookupAppSecMalwarePolicyActionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecMalwarePolicyActionsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecMalwarePolicyActionsResultOutput), nil + } + return output, nil }).(LookupAppSecMalwarePolicyActionsResultOutput) } diff --git a/sdk/go/akamai/getAppSecMatchTargets.go b/sdk/go/akamai/getAppSecMatchTargets.go index 4fd6d1be1..886ae4243 100644 --- a/sdk/go/akamai/getAppSecMatchTargets.go +++ b/sdk/go/akamai/getAppSecMatchTargets.go @@ -39,14 +39,20 @@ type GetAppSecMatchTargetsResult struct { func GetAppSecMatchTargetsOutput(ctx *pulumi.Context, args GetAppSecMatchTargetsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecMatchTargetsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecMatchTargetsResult, error) { + ApplyT(func(v interface{}) (GetAppSecMatchTargetsResultOutput, error) { args := v.(GetAppSecMatchTargetsArgs) - r, err := GetAppSecMatchTargets(ctx, &args, opts...) - var s GetAppSecMatchTargetsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecMatchTargetsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecMatchTargets:getAppSecMatchTargets", args, &rv, "", opts...) + if err != nil { + return GetAppSecMatchTargetsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecMatchTargetsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecMatchTargetsResultOutput), nil + } + return output, nil }).(GetAppSecMatchTargetsResultOutput) } diff --git a/sdk/go/akamai/getAppSecPenaltyBox.go b/sdk/go/akamai/getAppSecPenaltyBox.go index 9b7c1486d..be7406321 100644 --- a/sdk/go/akamai/getAppSecPenaltyBox.go +++ b/sdk/go/akamai/getAppSecPenaltyBox.go @@ -40,14 +40,20 @@ type LookupAppSecPenaltyBoxResult struct { func LookupAppSecPenaltyBoxOutput(ctx *pulumi.Context, args LookupAppSecPenaltyBoxOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecPenaltyBoxResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecPenaltyBoxResult, error) { + ApplyT(func(v interface{}) (LookupAppSecPenaltyBoxResultOutput, error) { args := v.(LookupAppSecPenaltyBoxArgs) - r, err := LookupAppSecPenaltyBox(ctx, &args, opts...) - var s LookupAppSecPenaltyBoxResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecPenaltyBoxResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecPenaltyBox:getAppSecPenaltyBox", args, &rv, "", opts...) + if err != nil { + return LookupAppSecPenaltyBoxResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecPenaltyBoxResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecPenaltyBoxResultOutput), nil + } + return output, nil }).(LookupAppSecPenaltyBoxResultOutput) } diff --git a/sdk/go/akamai/getAppSecRatePolicies.go b/sdk/go/akamai/getAppSecRatePolicies.go index dcf37b982..cbc9d2378 100644 --- a/sdk/go/akamai/getAppSecRatePolicies.go +++ b/sdk/go/akamai/getAppSecRatePolicies.go @@ -39,14 +39,20 @@ type GetAppSecRatePoliciesResult struct { func GetAppSecRatePoliciesOutput(ctx *pulumi.Context, args GetAppSecRatePoliciesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecRatePoliciesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecRatePoliciesResult, error) { + ApplyT(func(v interface{}) (GetAppSecRatePoliciesResultOutput, error) { args := v.(GetAppSecRatePoliciesArgs) - r, err := GetAppSecRatePolicies(ctx, &args, opts...) - var s GetAppSecRatePoliciesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecRatePoliciesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecRatePolicies:getAppSecRatePolicies", args, &rv, "", opts...) + if err != nil { + return GetAppSecRatePoliciesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecRatePoliciesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecRatePoliciesResultOutput), nil + } + return output, nil }).(GetAppSecRatePoliciesResultOutput) } diff --git a/sdk/go/akamai/getAppSecRatePolicyActions.go b/sdk/go/akamai/getAppSecRatePolicyActions.go index 33effdb74..a66678125 100644 --- a/sdk/go/akamai/getAppSecRatePolicyActions.go +++ b/sdk/go/akamai/getAppSecRatePolicyActions.go @@ -40,14 +40,20 @@ type GetAppSecRatePolicyActionsResult struct { func GetAppSecRatePolicyActionsOutput(ctx *pulumi.Context, args GetAppSecRatePolicyActionsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecRatePolicyActionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecRatePolicyActionsResult, error) { + ApplyT(func(v interface{}) (GetAppSecRatePolicyActionsResultOutput, error) { args := v.(GetAppSecRatePolicyActionsArgs) - r, err := GetAppSecRatePolicyActions(ctx, &args, opts...) - var s GetAppSecRatePolicyActionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecRatePolicyActionsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecRatePolicyActions:getAppSecRatePolicyActions", args, &rv, "", opts...) + if err != nil { + return GetAppSecRatePolicyActionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecRatePolicyActionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecRatePolicyActionsResultOutput), nil + } + return output, nil }).(GetAppSecRatePolicyActionsResultOutput) } diff --git a/sdk/go/akamai/getAppSecReputationProfileActions.go b/sdk/go/akamai/getAppSecReputationProfileActions.go index 05d2f7970..048419430 100644 --- a/sdk/go/akamai/getAppSecReputationProfileActions.go +++ b/sdk/go/akamai/getAppSecReputationProfileActions.go @@ -42,14 +42,20 @@ type GetAppSecReputationProfileActionsResult struct { func GetAppSecReputationProfileActionsOutput(ctx *pulumi.Context, args GetAppSecReputationProfileActionsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecReputationProfileActionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecReputationProfileActionsResult, error) { + ApplyT(func(v interface{}) (GetAppSecReputationProfileActionsResultOutput, error) { args := v.(GetAppSecReputationProfileActionsArgs) - r, err := GetAppSecReputationProfileActions(ctx, &args, opts...) - var s GetAppSecReputationProfileActionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecReputationProfileActionsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecReputationProfileActions:getAppSecReputationProfileActions", args, &rv, "", opts...) + if err != nil { + return GetAppSecReputationProfileActionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecReputationProfileActionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecReputationProfileActionsResultOutput), nil + } + return output, nil }).(GetAppSecReputationProfileActionsResultOutput) } diff --git a/sdk/go/akamai/getAppSecReputationProfileAnalysis.go b/sdk/go/akamai/getAppSecReputationProfileAnalysis.go index 9ae9ed9bf..0de854004 100644 --- a/sdk/go/akamai/getAppSecReputationProfileAnalysis.go +++ b/sdk/go/akamai/getAppSecReputationProfileAnalysis.go @@ -39,14 +39,20 @@ type LookupAppSecReputationProfileAnalysisResult struct { func LookupAppSecReputationProfileAnalysisOutput(ctx *pulumi.Context, args LookupAppSecReputationProfileAnalysisOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecReputationProfileAnalysisResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecReputationProfileAnalysisResult, error) { + ApplyT(func(v interface{}) (LookupAppSecReputationProfileAnalysisResultOutput, error) { args := v.(LookupAppSecReputationProfileAnalysisArgs) - r, err := LookupAppSecReputationProfileAnalysis(ctx, &args, opts...) - var s LookupAppSecReputationProfileAnalysisResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecReputationProfileAnalysisResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecReputationProfileAnalysis:getAppSecReputationProfileAnalysis", args, &rv, "", opts...) + if err != nil { + return LookupAppSecReputationProfileAnalysisResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecReputationProfileAnalysisResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecReputationProfileAnalysisResultOutput), nil + } + return output, nil }).(LookupAppSecReputationProfileAnalysisResultOutput) } diff --git a/sdk/go/akamai/getAppSecReputationProfiles.go b/sdk/go/akamai/getAppSecReputationProfiles.go index 660903189..eceb249f5 100644 --- a/sdk/go/akamai/getAppSecReputationProfiles.go +++ b/sdk/go/akamai/getAppSecReputationProfiles.go @@ -39,14 +39,20 @@ type GetAppSecReputationProfilesResult struct { func GetAppSecReputationProfilesOutput(ctx *pulumi.Context, args GetAppSecReputationProfilesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecReputationProfilesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecReputationProfilesResult, error) { + ApplyT(func(v interface{}) (GetAppSecReputationProfilesResultOutput, error) { args := v.(GetAppSecReputationProfilesArgs) - r, err := GetAppSecReputationProfiles(ctx, &args, opts...) - var s GetAppSecReputationProfilesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecReputationProfilesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecReputationProfiles:getAppSecReputationProfiles", args, &rv, "", opts...) + if err != nil { + return GetAppSecReputationProfilesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecReputationProfilesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecReputationProfilesResultOutput), nil + } + return output, nil }).(GetAppSecReputationProfilesResultOutput) } diff --git a/sdk/go/akamai/getAppSecRuleUpgradeDetails.go b/sdk/go/akamai/getAppSecRuleUpgradeDetails.go index 2b8fb8f4d..85b54cb6e 100644 --- a/sdk/go/akamai/getAppSecRuleUpgradeDetails.go +++ b/sdk/go/akamai/getAppSecRuleUpgradeDetails.go @@ -39,14 +39,20 @@ type GetAppSecRuleUpgradeDetailsResult struct { func GetAppSecRuleUpgradeDetailsOutput(ctx *pulumi.Context, args GetAppSecRuleUpgradeDetailsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecRuleUpgradeDetailsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecRuleUpgradeDetailsResult, error) { + ApplyT(func(v interface{}) (GetAppSecRuleUpgradeDetailsResultOutput, error) { args := v.(GetAppSecRuleUpgradeDetailsArgs) - r, err := GetAppSecRuleUpgradeDetails(ctx, &args, opts...) - var s GetAppSecRuleUpgradeDetailsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecRuleUpgradeDetailsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecRuleUpgradeDetails:getAppSecRuleUpgradeDetails", args, &rv, "", opts...) + if err != nil { + return GetAppSecRuleUpgradeDetailsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecRuleUpgradeDetailsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecRuleUpgradeDetailsResultOutput), nil + } + return output, nil }).(GetAppSecRuleUpgradeDetailsResultOutput) } diff --git a/sdk/go/akamai/getAppSecRules.go b/sdk/go/akamai/getAppSecRules.go index b45d74bcc..846bf9711 100644 --- a/sdk/go/akamai/getAppSecRules.go +++ b/sdk/go/akamai/getAppSecRules.go @@ -43,14 +43,20 @@ type GetAppSecRulesResult struct { func GetAppSecRulesOutput(ctx *pulumi.Context, args GetAppSecRulesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecRulesResult, error) { + ApplyT(func(v interface{}) (GetAppSecRulesResultOutput, error) { args := v.(GetAppSecRulesArgs) - r, err := GetAppSecRules(ctx, &args, opts...) - var s GetAppSecRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecRulesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecRules:getAppSecRules", args, &rv, "", opts...) + if err != nil { + return GetAppSecRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecRulesResultOutput), nil + } + return output, nil }).(GetAppSecRulesResultOutput) } diff --git a/sdk/go/akamai/getAppSecSecurityPolicy.go b/sdk/go/akamai/getAppSecSecurityPolicy.go index 0f12c8eea..e33fe5087 100644 --- a/sdk/go/akamai/getAppSecSecurityPolicy.go +++ b/sdk/go/akamai/getAppSecSecurityPolicy.go @@ -41,14 +41,20 @@ type LookupAppSecSecurityPolicyResult struct { func LookupAppSecSecurityPolicyOutput(ctx *pulumi.Context, args LookupAppSecSecurityPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecSecurityPolicyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecSecurityPolicyResult, error) { + ApplyT(func(v interface{}) (LookupAppSecSecurityPolicyResultOutput, error) { args := v.(LookupAppSecSecurityPolicyArgs) - r, err := LookupAppSecSecurityPolicy(ctx, &args, opts...) - var s LookupAppSecSecurityPolicyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecSecurityPolicyResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecSecurityPolicy:getAppSecSecurityPolicy", args, &rv, "", opts...) + if err != nil { + return LookupAppSecSecurityPolicyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecSecurityPolicyResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecSecurityPolicyResultOutput), nil + } + return output, nil }).(LookupAppSecSecurityPolicyResultOutput) } diff --git a/sdk/go/akamai/getAppSecSecurityPolicyProtections.go b/sdk/go/akamai/getAppSecSecurityPolicyProtections.go index ce86c398f..1a20d836d 100644 --- a/sdk/go/akamai/getAppSecSecurityPolicyProtections.go +++ b/sdk/go/akamai/getAppSecSecurityPolicyProtections.go @@ -47,14 +47,20 @@ type GetAppSecSecurityPolicyProtectionsResult struct { func GetAppSecSecurityPolicyProtectionsOutput(ctx *pulumi.Context, args GetAppSecSecurityPolicyProtectionsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecSecurityPolicyProtectionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecSecurityPolicyProtectionsResult, error) { + ApplyT(func(v interface{}) (GetAppSecSecurityPolicyProtectionsResultOutput, error) { args := v.(GetAppSecSecurityPolicyProtectionsArgs) - r, err := GetAppSecSecurityPolicyProtections(ctx, &args, opts...) - var s GetAppSecSecurityPolicyProtectionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecSecurityPolicyProtectionsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecSecurityPolicyProtections:getAppSecSecurityPolicyProtections", args, &rv, "", opts...) + if err != nil { + return GetAppSecSecurityPolicyProtectionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecSecurityPolicyProtectionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecSecurityPolicyProtectionsResultOutput), nil + } + return output, nil }).(GetAppSecSecurityPolicyProtectionsResultOutput) } diff --git a/sdk/go/akamai/getAppSecSelectableHostnames.go b/sdk/go/akamai/getAppSecSelectableHostnames.go index 391a2b36e..6b7ee680d 100644 --- a/sdk/go/akamai/getAppSecSelectableHostnames.go +++ b/sdk/go/akamai/getAppSecSelectableHostnames.go @@ -46,14 +46,20 @@ type GetAppSecSelectableHostnamesResult struct { func GetAppSecSelectableHostnamesOutput(ctx *pulumi.Context, args GetAppSecSelectableHostnamesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecSelectableHostnamesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecSelectableHostnamesResult, error) { + ApplyT(func(v interface{}) (GetAppSecSelectableHostnamesResultOutput, error) { args := v.(GetAppSecSelectableHostnamesArgs) - r, err := GetAppSecSelectableHostnames(ctx, &args, opts...) - var s GetAppSecSelectableHostnamesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecSelectableHostnamesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecSelectableHostnames:getAppSecSelectableHostnames", args, &rv, "", opts...) + if err != nil { + return GetAppSecSelectableHostnamesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecSelectableHostnamesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecSelectableHostnamesResultOutput), nil + } + return output, nil }).(GetAppSecSelectableHostnamesResultOutput) } diff --git a/sdk/go/akamai/getAppSecSelectedHostnames.go b/sdk/go/akamai/getAppSecSelectedHostnames.go index c5ca0cbe7..fd94be189 100644 --- a/sdk/go/akamai/getAppSecSelectedHostnames.go +++ b/sdk/go/akamai/getAppSecSelectedHostnames.go @@ -38,14 +38,20 @@ type LookupAppSecSelectedHostnamesResult struct { func LookupAppSecSelectedHostnamesOutput(ctx *pulumi.Context, args LookupAppSecSelectedHostnamesOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecSelectedHostnamesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecSelectedHostnamesResult, error) { + ApplyT(func(v interface{}) (LookupAppSecSelectedHostnamesResultOutput, error) { args := v.(LookupAppSecSelectedHostnamesArgs) - r, err := LookupAppSecSelectedHostnames(ctx, &args, opts...) - var s LookupAppSecSelectedHostnamesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecSelectedHostnamesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecSelectedHostnames:getAppSecSelectedHostnames", args, &rv, "", opts...) + if err != nil { + return LookupAppSecSelectedHostnamesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecSelectedHostnamesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecSelectedHostnamesResultOutput), nil + } + return output, nil }).(LookupAppSecSelectedHostnamesResultOutput) } diff --git a/sdk/go/akamai/getAppSecSiemDefinitions.go b/sdk/go/akamai/getAppSecSiemDefinitions.go index 8f9eb958a..2e04a52f8 100644 --- a/sdk/go/akamai/getAppSecSiemDefinitions.go +++ b/sdk/go/akamai/getAppSecSiemDefinitions.go @@ -37,14 +37,20 @@ type GetAppSecSiemDefinitionsResult struct { func GetAppSecSiemDefinitionsOutput(ctx *pulumi.Context, args GetAppSecSiemDefinitionsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecSiemDefinitionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecSiemDefinitionsResult, error) { + ApplyT(func(v interface{}) (GetAppSecSiemDefinitionsResultOutput, error) { args := v.(GetAppSecSiemDefinitionsArgs) - r, err := GetAppSecSiemDefinitions(ctx, &args, opts...) - var s GetAppSecSiemDefinitionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecSiemDefinitionsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecSiemDefinitions:getAppSecSiemDefinitions", args, &rv, "", opts...) + if err != nil { + return GetAppSecSiemDefinitionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecSiemDefinitionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecSiemDefinitionsResultOutput), nil + } + return output, nil }).(GetAppSecSiemDefinitionsResultOutput) } diff --git a/sdk/go/akamai/getAppSecSiemSettings.go b/sdk/go/akamai/getAppSecSiemSettings.go index e502aeaec..5f71a1a7f 100644 --- a/sdk/go/akamai/getAppSecSiemSettings.go +++ b/sdk/go/akamai/getAppSecSiemSettings.go @@ -37,14 +37,20 @@ type LookupAppSecSiemSettingsResult struct { func LookupAppSecSiemSettingsOutput(ctx *pulumi.Context, args LookupAppSecSiemSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecSiemSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecSiemSettingsResult, error) { + ApplyT(func(v interface{}) (LookupAppSecSiemSettingsResultOutput, error) { args := v.(LookupAppSecSiemSettingsArgs) - r, err := LookupAppSecSiemSettings(ctx, &args, opts...) - var s LookupAppSecSiemSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecSiemSettingsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecSiemSettings:getAppSecSiemSettings", args, &rv, "", opts...) + if err != nil { + return LookupAppSecSiemSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecSiemSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecSiemSettingsResultOutput), nil + } + return output, nil }).(LookupAppSecSiemSettingsResultOutput) } diff --git a/sdk/go/akamai/getAppSecSlowPost.go b/sdk/go/akamai/getAppSecSlowPost.go index 95b662f0e..572f3c708 100644 --- a/sdk/go/akamai/getAppSecSlowPost.go +++ b/sdk/go/akamai/getAppSecSlowPost.go @@ -39,14 +39,20 @@ type LookupAppSecSlowPostResult struct { func LookupAppSecSlowPostOutput(ctx *pulumi.Context, args LookupAppSecSlowPostOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecSlowPostResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecSlowPostResult, error) { + ApplyT(func(v interface{}) (LookupAppSecSlowPostResultOutput, error) { args := v.(LookupAppSecSlowPostArgs) - r, err := LookupAppSecSlowPost(ctx, &args, opts...) - var s LookupAppSecSlowPostResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecSlowPostResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecSlowPost:getAppSecSlowPost", args, &rv, "", opts...) + if err != nil { + return LookupAppSecSlowPostResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecSlowPostResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecSlowPostResultOutput), nil + } + return output, nil }).(LookupAppSecSlowPostResultOutput) } diff --git a/sdk/go/akamai/getAppSecThreatIntel.go b/sdk/go/akamai/getAppSecThreatIntel.go index bdb1c5db9..0d3e17a72 100644 --- a/sdk/go/akamai/getAppSecThreatIntel.go +++ b/sdk/go/akamai/getAppSecThreatIntel.go @@ -40,14 +40,20 @@ type LookupAppSecThreatIntelResult struct { func LookupAppSecThreatIntelOutput(ctx *pulumi.Context, args LookupAppSecThreatIntelOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecThreatIntelResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecThreatIntelResult, error) { + ApplyT(func(v interface{}) (LookupAppSecThreatIntelResultOutput, error) { args := v.(LookupAppSecThreatIntelArgs) - r, err := LookupAppSecThreatIntel(ctx, &args, opts...) - var s LookupAppSecThreatIntelResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecThreatIntelResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecThreatIntel:getAppSecThreatIntel", args, &rv, "", opts...) + if err != nil { + return LookupAppSecThreatIntelResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecThreatIntelResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecThreatIntelResultOutput), nil + } + return output, nil }).(LookupAppSecThreatIntelResultOutput) } diff --git a/sdk/go/akamai/getAppSecTuningRecommendations.go b/sdk/go/akamai/getAppSecTuningRecommendations.go index 463b916e8..948e45852 100644 --- a/sdk/go/akamai/getAppSecTuningRecommendations.go +++ b/sdk/go/akamai/getAppSecTuningRecommendations.go @@ -44,14 +44,20 @@ type GetAppSecTuningRecommendationsResult struct { func GetAppSecTuningRecommendationsOutput(ctx *pulumi.Context, args GetAppSecTuningRecommendationsOutputArgs, opts ...pulumi.InvokeOption) GetAppSecTuningRecommendationsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecTuningRecommendationsResult, error) { + ApplyT(func(v interface{}) (GetAppSecTuningRecommendationsResultOutput, error) { args := v.(GetAppSecTuningRecommendationsArgs) - r, err := GetAppSecTuningRecommendations(ctx, &args, opts...) - var s GetAppSecTuningRecommendationsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecTuningRecommendationsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecTuningRecommendations:getAppSecTuningRecommendations", args, &rv, "", opts...) + if err != nil { + return GetAppSecTuningRecommendationsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecTuningRecommendationsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecTuningRecommendationsResultOutput), nil + } + return output, nil }).(GetAppSecTuningRecommendationsResultOutput) } diff --git a/sdk/go/akamai/getAppSecVersionNotes.go b/sdk/go/akamai/getAppSecVersionNotes.go index 20ee543a5..e6dcd2934 100644 --- a/sdk/go/akamai/getAppSecVersionNotes.go +++ b/sdk/go/akamai/getAppSecVersionNotes.go @@ -37,14 +37,20 @@ type GetAppSecVersionNotesResult struct { func GetAppSecVersionNotesOutput(ctx *pulumi.Context, args GetAppSecVersionNotesOutputArgs, opts ...pulumi.InvokeOption) GetAppSecVersionNotesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAppSecVersionNotesResult, error) { + ApplyT(func(v interface{}) (GetAppSecVersionNotesResultOutput, error) { args := v.(GetAppSecVersionNotesArgs) - r, err := GetAppSecVersionNotes(ctx, &args, opts...) - var s GetAppSecVersionNotesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAppSecVersionNotesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecVersionNotes:getAppSecVersionNotes", args, &rv, "", opts...) + if err != nil { + return GetAppSecVersionNotesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAppSecVersionNotesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAppSecVersionNotesResultOutput), nil + } + return output, nil }).(GetAppSecVersionNotesResultOutput) } diff --git a/sdk/go/akamai/getAppSecWafMode.go b/sdk/go/akamai/getAppSecWafMode.go index 65b27335b..47ac48f09 100644 --- a/sdk/go/akamai/getAppSecWafMode.go +++ b/sdk/go/akamai/getAppSecWafMode.go @@ -44,14 +44,20 @@ type LookupAppSecWafModeResult struct { func LookupAppSecWafModeOutput(ctx *pulumi.Context, args LookupAppSecWafModeOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecWafModeResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecWafModeResult, error) { + ApplyT(func(v interface{}) (LookupAppSecWafModeResultOutput, error) { args := v.(LookupAppSecWafModeArgs) - r, err := LookupAppSecWafMode(ctx, &args, opts...) - var s LookupAppSecWafModeResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecWafModeResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecWafMode:getAppSecWafMode", args, &rv, "", opts...) + if err != nil { + return LookupAppSecWafModeResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecWafModeResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecWafModeResultOutput), nil + } + return output, nil }).(LookupAppSecWafModeResultOutput) } diff --git a/sdk/go/akamai/getAppSecWapSelectedHostnames.go b/sdk/go/akamai/getAppSecWapSelectedHostnames.go index a4f4e34d4..5ececa5e8 100644 --- a/sdk/go/akamai/getAppSecWapSelectedHostnames.go +++ b/sdk/go/akamai/getAppSecWapSelectedHostnames.go @@ -43,14 +43,20 @@ type LookupAppSecWapSelectedHostnamesResult struct { func LookupAppSecWapSelectedHostnamesOutput(ctx *pulumi.Context, args LookupAppSecWapSelectedHostnamesOutputArgs, opts ...pulumi.InvokeOption) LookupAppSecWapSelectedHostnamesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppSecWapSelectedHostnamesResult, error) { + ApplyT(func(v interface{}) (LookupAppSecWapSelectedHostnamesResultOutput, error) { args := v.(LookupAppSecWapSelectedHostnamesArgs) - r, err := LookupAppSecWapSelectedHostnames(ctx, &args, opts...) - var s LookupAppSecWapSelectedHostnamesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppSecWapSelectedHostnamesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppSecWapSelectedHostnames:getAppSecWapSelectedHostnames", args, &rv, "", opts...) + if err != nil { + return LookupAppSecWapSelectedHostnamesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppSecWapSelectedHostnamesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppSecWapSelectedHostnamesResultOutput), nil + } + return output, nil }).(LookupAppSecWapSelectedHostnamesResultOutput) } diff --git a/sdk/go/akamai/getAppsecAdvancedSettingsAttackPayloadLogging.go b/sdk/go/akamai/getAppsecAdvancedSettingsAttackPayloadLogging.go index 0a786169e..83b7a8c08 100644 --- a/sdk/go/akamai/getAppsecAdvancedSettingsAttackPayloadLogging.go +++ b/sdk/go/akamai/getAppsecAdvancedSettingsAttackPayloadLogging.go @@ -39,14 +39,20 @@ type LookupAppsecAdvancedSettingsAttackPayloadLoggingResult struct { func LookupAppsecAdvancedSettingsAttackPayloadLoggingOutput(ctx *pulumi.Context, args LookupAppsecAdvancedSettingsAttackPayloadLoggingOutputArgs, opts ...pulumi.InvokeOption) LookupAppsecAdvancedSettingsAttackPayloadLoggingResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppsecAdvancedSettingsAttackPayloadLoggingResult, error) { + ApplyT(func(v interface{}) (LookupAppsecAdvancedSettingsAttackPayloadLoggingResultOutput, error) { args := v.(LookupAppsecAdvancedSettingsAttackPayloadLoggingArgs) - r, err := LookupAppsecAdvancedSettingsAttackPayloadLogging(ctx, &args, opts...) - var s LookupAppsecAdvancedSettingsAttackPayloadLoggingResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppsecAdvancedSettingsAttackPayloadLoggingResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppsecAdvancedSettingsAttackPayloadLogging:getAppsecAdvancedSettingsAttackPayloadLogging", args, &rv, "", opts...) + if err != nil { + return LookupAppsecAdvancedSettingsAttackPayloadLoggingResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppsecAdvancedSettingsAttackPayloadLoggingResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppsecAdvancedSettingsAttackPayloadLoggingResultOutput), nil + } + return output, nil }).(LookupAppsecAdvancedSettingsAttackPayloadLoggingResultOutput) } diff --git a/sdk/go/akamai/getAppsecAdvancedSettingsPiiLearning.go b/sdk/go/akamai/getAppsecAdvancedSettingsPiiLearning.go index 78c5b19d2..49e30025e 100644 --- a/sdk/go/akamai/getAppsecAdvancedSettingsPiiLearning.go +++ b/sdk/go/akamai/getAppsecAdvancedSettingsPiiLearning.go @@ -37,14 +37,20 @@ type LookupAppsecAdvancedSettingsPiiLearningResult struct { func LookupAppsecAdvancedSettingsPiiLearningOutput(ctx *pulumi.Context, args LookupAppsecAdvancedSettingsPiiLearningOutputArgs, opts ...pulumi.InvokeOption) LookupAppsecAdvancedSettingsPiiLearningResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppsecAdvancedSettingsPiiLearningResult, error) { + ApplyT(func(v interface{}) (LookupAppsecAdvancedSettingsPiiLearningResultOutput, error) { args := v.(LookupAppsecAdvancedSettingsPiiLearningArgs) - r, err := LookupAppsecAdvancedSettingsPiiLearning(ctx, &args, opts...) - var s LookupAppsecAdvancedSettingsPiiLearningResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppsecAdvancedSettingsPiiLearningResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppsecAdvancedSettingsPiiLearning:getAppsecAdvancedSettingsPiiLearning", args, &rv, "", opts...) + if err != nil { + return LookupAppsecAdvancedSettingsPiiLearningResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppsecAdvancedSettingsPiiLearningResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppsecAdvancedSettingsPiiLearningResultOutput), nil + } + return output, nil }).(LookupAppsecAdvancedSettingsPiiLearningResultOutput) } diff --git a/sdk/go/akamai/getAppsecAdvancedSettingsRequestBody.go b/sdk/go/akamai/getAppsecAdvancedSettingsRequestBody.go index c4b2dfa60..3a26dc55f 100644 --- a/sdk/go/akamai/getAppsecAdvancedSettingsRequestBody.go +++ b/sdk/go/akamai/getAppsecAdvancedSettingsRequestBody.go @@ -39,14 +39,20 @@ type LookupAppsecAdvancedSettingsRequestBodyResult struct { func LookupAppsecAdvancedSettingsRequestBodyOutput(ctx *pulumi.Context, args LookupAppsecAdvancedSettingsRequestBodyOutputArgs, opts ...pulumi.InvokeOption) LookupAppsecAdvancedSettingsRequestBodyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppsecAdvancedSettingsRequestBodyResult, error) { + ApplyT(func(v interface{}) (LookupAppsecAdvancedSettingsRequestBodyResultOutput, error) { args := v.(LookupAppsecAdvancedSettingsRequestBodyArgs) - r, err := LookupAppsecAdvancedSettingsRequestBody(ctx, &args, opts...) - var s LookupAppsecAdvancedSettingsRequestBodyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppsecAdvancedSettingsRequestBodyResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppsecAdvancedSettingsRequestBody:getAppsecAdvancedSettingsRequestBody", args, &rv, "", opts...) + if err != nil { + return LookupAppsecAdvancedSettingsRequestBodyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppsecAdvancedSettingsRequestBodyResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppsecAdvancedSettingsRequestBodyResultOutput), nil + } + return output, nil }).(LookupAppsecAdvancedSettingsRequestBodyResultOutput) } diff --git a/sdk/go/akamai/getAppsecEvalPenaltyBoxConditions.go b/sdk/go/akamai/getAppsecEvalPenaltyBoxConditions.go index bd34c0663..1da8e3480 100644 --- a/sdk/go/akamai/getAppsecEvalPenaltyBoxConditions.go +++ b/sdk/go/akamai/getAppsecEvalPenaltyBoxConditions.go @@ -39,14 +39,20 @@ type LookupAppsecEvalPenaltyBoxConditionsResult struct { func LookupAppsecEvalPenaltyBoxConditionsOutput(ctx *pulumi.Context, args LookupAppsecEvalPenaltyBoxConditionsOutputArgs, opts ...pulumi.InvokeOption) LookupAppsecEvalPenaltyBoxConditionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppsecEvalPenaltyBoxConditionsResult, error) { + ApplyT(func(v interface{}) (LookupAppsecEvalPenaltyBoxConditionsResultOutput, error) { args := v.(LookupAppsecEvalPenaltyBoxConditionsArgs) - r, err := LookupAppsecEvalPenaltyBoxConditions(ctx, &args, opts...) - var s LookupAppsecEvalPenaltyBoxConditionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppsecEvalPenaltyBoxConditionsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppsecEvalPenaltyBoxConditions:getAppsecEvalPenaltyBoxConditions", args, &rv, "", opts...) + if err != nil { + return LookupAppsecEvalPenaltyBoxConditionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppsecEvalPenaltyBoxConditionsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppsecEvalPenaltyBoxConditionsResultOutput), nil + } + return output, nil }).(LookupAppsecEvalPenaltyBoxConditionsResultOutput) } diff --git a/sdk/go/akamai/getAppsecPenaltyBoxConditions.go b/sdk/go/akamai/getAppsecPenaltyBoxConditions.go index 6a48e6848..b9419f4cf 100644 --- a/sdk/go/akamai/getAppsecPenaltyBoxConditions.go +++ b/sdk/go/akamai/getAppsecPenaltyBoxConditions.go @@ -39,14 +39,20 @@ type LookupAppsecPenaltyBoxConditionsResult struct { func LookupAppsecPenaltyBoxConditionsOutput(ctx *pulumi.Context, args LookupAppsecPenaltyBoxConditionsOutputArgs, opts ...pulumi.InvokeOption) LookupAppsecPenaltyBoxConditionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAppsecPenaltyBoxConditionsResult, error) { + ApplyT(func(v interface{}) (LookupAppsecPenaltyBoxConditionsResultOutput, error) { args := v.(LookupAppsecPenaltyBoxConditionsArgs) - r, err := LookupAppsecPenaltyBoxConditions(ctx, &args, opts...) - var s LookupAppsecPenaltyBoxConditionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAppsecPenaltyBoxConditionsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAppsecPenaltyBoxConditions:getAppsecPenaltyBoxConditions", args, &rv, "", opts...) + if err != nil { + return LookupAppsecPenaltyBoxConditionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAppsecPenaltyBoxConditionsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAppsecPenaltyBoxConditionsResultOutput), nil + } + return output, nil }).(LookupAppsecPenaltyBoxConditionsResultOutput) } diff --git a/sdk/go/akamai/getAuthoritiesSet.go b/sdk/go/akamai/getAuthoritiesSet.go index a3d368221..bec23fc09 100644 --- a/sdk/go/akamai/getAuthoritiesSet.go +++ b/sdk/go/akamai/getAuthoritiesSet.go @@ -36,14 +36,20 @@ type GetAuthoritiesSetResult struct { func GetAuthoritiesSetOutput(ctx *pulumi.Context, args GetAuthoritiesSetOutputArgs, opts ...pulumi.InvokeOption) GetAuthoritiesSetResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAuthoritiesSetResult, error) { + ApplyT(func(v interface{}) (GetAuthoritiesSetResultOutput, error) { args := v.(GetAuthoritiesSetArgs) - r, err := GetAuthoritiesSet(ctx, &args, opts...) - var s GetAuthoritiesSetResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAuthoritiesSetResult + secret, err := ctx.InvokePackageRaw("akamai:index/getAuthoritiesSet:getAuthoritiesSet", args, &rv, "", opts...) + if err != nil { + return GetAuthoritiesSetResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAuthoritiesSetResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAuthoritiesSetResultOutput), nil + } + return output, nil }).(GetAuthoritiesSetResultOutput) } diff --git a/sdk/go/akamai/getBotmanAkamaiBotCategory.go b/sdk/go/akamai/getBotmanAkamaiBotCategory.go index 248fbc830..e9b64f0ba 100644 --- a/sdk/go/akamai/getBotmanAkamaiBotCategory.go +++ b/sdk/go/akamai/getBotmanAkamaiBotCategory.go @@ -36,14 +36,20 @@ type GetBotmanAkamaiBotCategoryResult struct { func GetBotmanAkamaiBotCategoryOutput(ctx *pulumi.Context, args GetBotmanAkamaiBotCategoryOutputArgs, opts ...pulumi.InvokeOption) GetBotmanAkamaiBotCategoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetBotmanAkamaiBotCategoryResult, error) { + ApplyT(func(v interface{}) (GetBotmanAkamaiBotCategoryResultOutput, error) { args := v.(GetBotmanAkamaiBotCategoryArgs) - r, err := GetBotmanAkamaiBotCategory(ctx, &args, opts...) - var s GetBotmanAkamaiBotCategoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetBotmanAkamaiBotCategoryResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanAkamaiBotCategory:getBotmanAkamaiBotCategory", args, &rv, "", opts...) + if err != nil { + return GetBotmanAkamaiBotCategoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetBotmanAkamaiBotCategoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetBotmanAkamaiBotCategoryResultOutput), nil + } + return output, nil }).(GetBotmanAkamaiBotCategoryResultOutput) } diff --git a/sdk/go/akamai/getBotmanAkamaiBotCategoryAction.go b/sdk/go/akamai/getBotmanAkamaiBotCategoryAction.go index af8fabd46..b8511098e 100644 --- a/sdk/go/akamai/getBotmanAkamaiBotCategoryAction.go +++ b/sdk/go/akamai/getBotmanAkamaiBotCategoryAction.go @@ -40,14 +40,20 @@ type LookupBotmanAkamaiBotCategoryActionResult struct { func LookupBotmanAkamaiBotCategoryActionOutput(ctx *pulumi.Context, args LookupBotmanAkamaiBotCategoryActionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanAkamaiBotCategoryActionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanAkamaiBotCategoryActionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanAkamaiBotCategoryActionResultOutput, error) { args := v.(LookupBotmanAkamaiBotCategoryActionArgs) - r, err := LookupBotmanAkamaiBotCategoryAction(ctx, &args, opts...) - var s LookupBotmanAkamaiBotCategoryActionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanAkamaiBotCategoryActionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanAkamaiBotCategoryAction:getBotmanAkamaiBotCategoryAction", args, &rv, "", opts...) + if err != nil { + return LookupBotmanAkamaiBotCategoryActionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanAkamaiBotCategoryActionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanAkamaiBotCategoryActionResultOutput), nil + } + return output, nil }).(LookupBotmanAkamaiBotCategoryActionResultOutput) } diff --git a/sdk/go/akamai/getBotmanAkamaiDefinedBot.go b/sdk/go/akamai/getBotmanAkamaiDefinedBot.go index 286ef2568..9d0653772 100644 --- a/sdk/go/akamai/getBotmanAkamaiDefinedBot.go +++ b/sdk/go/akamai/getBotmanAkamaiDefinedBot.go @@ -36,14 +36,20 @@ type GetBotmanAkamaiDefinedBotResult struct { func GetBotmanAkamaiDefinedBotOutput(ctx *pulumi.Context, args GetBotmanAkamaiDefinedBotOutputArgs, opts ...pulumi.InvokeOption) GetBotmanAkamaiDefinedBotResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetBotmanAkamaiDefinedBotResult, error) { + ApplyT(func(v interface{}) (GetBotmanAkamaiDefinedBotResultOutput, error) { args := v.(GetBotmanAkamaiDefinedBotArgs) - r, err := GetBotmanAkamaiDefinedBot(ctx, &args, opts...) - var s GetBotmanAkamaiDefinedBotResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetBotmanAkamaiDefinedBotResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanAkamaiDefinedBot:getBotmanAkamaiDefinedBot", args, &rv, "", opts...) + if err != nil { + return GetBotmanAkamaiDefinedBotResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetBotmanAkamaiDefinedBotResultOutput) + if secret { + return pulumi.ToSecret(output).(GetBotmanAkamaiDefinedBotResultOutput), nil + } + return output, nil }).(GetBotmanAkamaiDefinedBotResultOutput) } diff --git a/sdk/go/akamai/getBotmanBotAnalyticsCookie.go b/sdk/go/akamai/getBotmanBotAnalyticsCookie.go index 8b5acab97..6fd58be6d 100644 --- a/sdk/go/akamai/getBotmanBotAnalyticsCookie.go +++ b/sdk/go/akamai/getBotmanBotAnalyticsCookie.go @@ -36,14 +36,20 @@ type LookupBotmanBotAnalyticsCookieResult struct { func LookupBotmanBotAnalyticsCookieOutput(ctx *pulumi.Context, args LookupBotmanBotAnalyticsCookieOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanBotAnalyticsCookieResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanBotAnalyticsCookieResult, error) { + ApplyT(func(v interface{}) (LookupBotmanBotAnalyticsCookieResultOutput, error) { args := v.(LookupBotmanBotAnalyticsCookieArgs) - r, err := LookupBotmanBotAnalyticsCookie(ctx, &args, opts...) - var s LookupBotmanBotAnalyticsCookieResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanBotAnalyticsCookieResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanBotAnalyticsCookie:getBotmanBotAnalyticsCookie", args, &rv, "", opts...) + if err != nil { + return LookupBotmanBotAnalyticsCookieResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanBotAnalyticsCookieResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanBotAnalyticsCookieResultOutput), nil + } + return output, nil }).(LookupBotmanBotAnalyticsCookieResultOutput) } diff --git a/sdk/go/akamai/getBotmanBotAnalyticsCookieValues.go b/sdk/go/akamai/getBotmanBotAnalyticsCookieValues.go index c4f39bbf0..79fb41072 100644 --- a/sdk/go/akamai/getBotmanBotAnalyticsCookieValues.go +++ b/sdk/go/akamai/getBotmanBotAnalyticsCookieValues.go @@ -29,13 +29,19 @@ type GetBotmanBotAnalyticsCookieValuesResult struct { } func GetBotmanBotAnalyticsCookieValuesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetBotmanBotAnalyticsCookieValuesResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetBotmanBotAnalyticsCookieValuesResult, error) { - r, err := GetBotmanBotAnalyticsCookieValues(ctx, opts...) - var s GetBotmanBotAnalyticsCookieValuesResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetBotmanBotAnalyticsCookieValuesResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetBotmanBotAnalyticsCookieValuesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanBotAnalyticsCookieValues:getBotmanBotAnalyticsCookieValues", nil, &rv, "", opts...) + if err != nil { + return GetBotmanBotAnalyticsCookieValuesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetBotmanBotAnalyticsCookieValuesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetBotmanBotAnalyticsCookieValuesResultOutput), nil + } + return output, nil }).(GetBotmanBotAnalyticsCookieValuesResultOutput) } diff --git a/sdk/go/akamai/getBotmanBotCategoryException.go b/sdk/go/akamai/getBotmanBotCategoryException.go index 6505a1772..3ae8e3805 100644 --- a/sdk/go/akamai/getBotmanBotCategoryException.go +++ b/sdk/go/akamai/getBotmanBotCategoryException.go @@ -38,14 +38,20 @@ type LookupBotmanBotCategoryExceptionResult struct { func LookupBotmanBotCategoryExceptionOutput(ctx *pulumi.Context, args LookupBotmanBotCategoryExceptionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanBotCategoryExceptionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanBotCategoryExceptionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanBotCategoryExceptionResultOutput, error) { args := v.(LookupBotmanBotCategoryExceptionArgs) - r, err := LookupBotmanBotCategoryException(ctx, &args, opts...) - var s LookupBotmanBotCategoryExceptionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanBotCategoryExceptionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanBotCategoryException:getBotmanBotCategoryException", args, &rv, "", opts...) + if err != nil { + return LookupBotmanBotCategoryExceptionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanBotCategoryExceptionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanBotCategoryExceptionResultOutput), nil + } + return output, nil }).(LookupBotmanBotCategoryExceptionResultOutput) } diff --git a/sdk/go/akamai/getBotmanBotDetection.go b/sdk/go/akamai/getBotmanBotDetection.go index ee9fe6312..089d7b59b 100644 --- a/sdk/go/akamai/getBotmanBotDetection.go +++ b/sdk/go/akamai/getBotmanBotDetection.go @@ -36,14 +36,20 @@ type GetBotmanBotDetectionResult struct { func GetBotmanBotDetectionOutput(ctx *pulumi.Context, args GetBotmanBotDetectionOutputArgs, opts ...pulumi.InvokeOption) GetBotmanBotDetectionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetBotmanBotDetectionResult, error) { + ApplyT(func(v interface{}) (GetBotmanBotDetectionResultOutput, error) { args := v.(GetBotmanBotDetectionArgs) - r, err := GetBotmanBotDetection(ctx, &args, opts...) - var s GetBotmanBotDetectionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetBotmanBotDetectionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanBotDetection:getBotmanBotDetection", args, &rv, "", opts...) + if err != nil { + return GetBotmanBotDetectionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetBotmanBotDetectionResultOutput) + if secret { + return pulumi.ToSecret(output).(GetBotmanBotDetectionResultOutput), nil + } + return output, nil }).(GetBotmanBotDetectionResultOutput) } diff --git a/sdk/go/akamai/getBotmanBotDetectionAction.go b/sdk/go/akamai/getBotmanBotDetectionAction.go index 4f8cddbf2..979d338a3 100644 --- a/sdk/go/akamai/getBotmanBotDetectionAction.go +++ b/sdk/go/akamai/getBotmanBotDetectionAction.go @@ -40,14 +40,20 @@ type LookupBotmanBotDetectionActionResult struct { func LookupBotmanBotDetectionActionOutput(ctx *pulumi.Context, args LookupBotmanBotDetectionActionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanBotDetectionActionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanBotDetectionActionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanBotDetectionActionResultOutput, error) { args := v.(LookupBotmanBotDetectionActionArgs) - r, err := LookupBotmanBotDetectionAction(ctx, &args, opts...) - var s LookupBotmanBotDetectionActionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanBotDetectionActionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanBotDetectionAction:getBotmanBotDetectionAction", args, &rv, "", opts...) + if err != nil { + return LookupBotmanBotDetectionActionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanBotDetectionActionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanBotDetectionActionResultOutput), nil + } + return output, nil }).(LookupBotmanBotDetectionActionResultOutput) } diff --git a/sdk/go/akamai/getBotmanBotEndpointCoverageReport.go b/sdk/go/akamai/getBotmanBotEndpointCoverageReport.go index d7b94ba01..a8f565fa6 100644 --- a/sdk/go/akamai/getBotmanBotEndpointCoverageReport.go +++ b/sdk/go/akamai/getBotmanBotEndpointCoverageReport.go @@ -38,14 +38,20 @@ type GetBotmanBotEndpointCoverageReportResult struct { func GetBotmanBotEndpointCoverageReportOutput(ctx *pulumi.Context, args GetBotmanBotEndpointCoverageReportOutputArgs, opts ...pulumi.InvokeOption) GetBotmanBotEndpointCoverageReportResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetBotmanBotEndpointCoverageReportResult, error) { + ApplyT(func(v interface{}) (GetBotmanBotEndpointCoverageReportResultOutput, error) { args := v.(GetBotmanBotEndpointCoverageReportArgs) - r, err := GetBotmanBotEndpointCoverageReport(ctx, &args, opts...) - var s GetBotmanBotEndpointCoverageReportResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetBotmanBotEndpointCoverageReportResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanBotEndpointCoverageReport:getBotmanBotEndpointCoverageReport", args, &rv, "", opts...) + if err != nil { + return GetBotmanBotEndpointCoverageReportResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetBotmanBotEndpointCoverageReportResultOutput) + if secret { + return pulumi.ToSecret(output).(GetBotmanBotEndpointCoverageReportResultOutput), nil + } + return output, nil }).(GetBotmanBotEndpointCoverageReportResultOutput) } diff --git a/sdk/go/akamai/getBotmanBotManagementSettings.go b/sdk/go/akamai/getBotmanBotManagementSettings.go index c8424a3d9..eb8a6f959 100644 --- a/sdk/go/akamai/getBotmanBotManagementSettings.go +++ b/sdk/go/akamai/getBotmanBotManagementSettings.go @@ -38,14 +38,20 @@ type LookupBotmanBotManagementSettingsResult struct { func LookupBotmanBotManagementSettingsOutput(ctx *pulumi.Context, args LookupBotmanBotManagementSettingsOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanBotManagementSettingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanBotManagementSettingsResult, error) { + ApplyT(func(v interface{}) (LookupBotmanBotManagementSettingsResultOutput, error) { args := v.(LookupBotmanBotManagementSettingsArgs) - r, err := LookupBotmanBotManagementSettings(ctx, &args, opts...) - var s LookupBotmanBotManagementSettingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanBotManagementSettingsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanBotManagementSettings:getBotmanBotManagementSettings", args, &rv, "", opts...) + if err != nil { + return LookupBotmanBotManagementSettingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanBotManagementSettingsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanBotManagementSettingsResultOutput), nil + } + return output, nil }).(LookupBotmanBotManagementSettingsResultOutput) } diff --git a/sdk/go/akamai/getBotmanChallengeAction.go b/sdk/go/akamai/getBotmanChallengeAction.go index aff8a0e0c..c9b2fcca8 100644 --- a/sdk/go/akamai/getBotmanChallengeAction.go +++ b/sdk/go/akamai/getBotmanChallengeAction.go @@ -38,14 +38,20 @@ type LookupBotmanChallengeActionResult struct { func LookupBotmanChallengeActionOutput(ctx *pulumi.Context, args LookupBotmanChallengeActionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanChallengeActionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanChallengeActionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanChallengeActionResultOutput, error) { args := v.(LookupBotmanChallengeActionArgs) - r, err := LookupBotmanChallengeAction(ctx, &args, opts...) - var s LookupBotmanChallengeActionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanChallengeActionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanChallengeAction:getBotmanChallengeAction", args, &rv, "", opts...) + if err != nil { + return LookupBotmanChallengeActionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanChallengeActionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanChallengeActionResultOutput), nil + } + return output, nil }).(LookupBotmanChallengeActionResultOutput) } diff --git a/sdk/go/akamai/getBotmanChallengeInjectionRules.go b/sdk/go/akamai/getBotmanChallengeInjectionRules.go index 5a8a7a9ff..ced9a6178 100644 --- a/sdk/go/akamai/getBotmanChallengeInjectionRules.go +++ b/sdk/go/akamai/getBotmanChallengeInjectionRules.go @@ -36,14 +36,20 @@ type LookupBotmanChallengeInjectionRulesResult struct { func LookupBotmanChallengeInjectionRulesOutput(ctx *pulumi.Context, args LookupBotmanChallengeInjectionRulesOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanChallengeInjectionRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanChallengeInjectionRulesResult, error) { + ApplyT(func(v interface{}) (LookupBotmanChallengeInjectionRulesResultOutput, error) { args := v.(LookupBotmanChallengeInjectionRulesArgs) - r, err := LookupBotmanChallengeInjectionRules(ctx, &args, opts...) - var s LookupBotmanChallengeInjectionRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanChallengeInjectionRulesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanChallengeInjectionRules:getBotmanChallengeInjectionRules", args, &rv, "", opts...) + if err != nil { + return LookupBotmanChallengeInjectionRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanChallengeInjectionRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanChallengeInjectionRulesResultOutput), nil + } + return output, nil }).(LookupBotmanChallengeInjectionRulesResultOutput) } diff --git a/sdk/go/akamai/getBotmanChallengeInterceptionRules.go b/sdk/go/akamai/getBotmanChallengeInterceptionRules.go index 6fe16e131..ecb9cb671 100644 --- a/sdk/go/akamai/getBotmanChallengeInterceptionRules.go +++ b/sdk/go/akamai/getBotmanChallengeInterceptionRules.go @@ -36,14 +36,20 @@ type LookupBotmanChallengeInterceptionRulesResult struct { func LookupBotmanChallengeInterceptionRulesOutput(ctx *pulumi.Context, args LookupBotmanChallengeInterceptionRulesOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanChallengeInterceptionRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanChallengeInterceptionRulesResult, error) { + ApplyT(func(v interface{}) (LookupBotmanChallengeInterceptionRulesResultOutput, error) { args := v.(LookupBotmanChallengeInterceptionRulesArgs) - r, err := LookupBotmanChallengeInterceptionRules(ctx, &args, opts...) - var s LookupBotmanChallengeInterceptionRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanChallengeInterceptionRulesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanChallengeInterceptionRules:getBotmanChallengeInterceptionRules", args, &rv, "", opts...) + if err != nil { + return LookupBotmanChallengeInterceptionRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanChallengeInterceptionRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanChallengeInterceptionRulesResultOutput), nil + } + return output, nil }).(LookupBotmanChallengeInterceptionRulesResultOutput) } diff --git a/sdk/go/akamai/getBotmanClientSideSecurity.go b/sdk/go/akamai/getBotmanClientSideSecurity.go index a9f92f36d..fd8e4a159 100644 --- a/sdk/go/akamai/getBotmanClientSideSecurity.go +++ b/sdk/go/akamai/getBotmanClientSideSecurity.go @@ -36,14 +36,20 @@ type LookupBotmanClientSideSecurityResult struct { func LookupBotmanClientSideSecurityOutput(ctx *pulumi.Context, args LookupBotmanClientSideSecurityOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanClientSideSecurityResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanClientSideSecurityResult, error) { + ApplyT(func(v interface{}) (LookupBotmanClientSideSecurityResultOutput, error) { args := v.(LookupBotmanClientSideSecurityArgs) - r, err := LookupBotmanClientSideSecurity(ctx, &args, opts...) - var s LookupBotmanClientSideSecurityResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanClientSideSecurityResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanClientSideSecurity:getBotmanClientSideSecurity", args, &rv, "", opts...) + if err != nil { + return LookupBotmanClientSideSecurityResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanClientSideSecurityResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanClientSideSecurityResultOutput), nil + } + return output, nil }).(LookupBotmanClientSideSecurityResultOutput) } diff --git a/sdk/go/akamai/getBotmanConditionalAction.go b/sdk/go/akamai/getBotmanConditionalAction.go index ac8d198aa..7f834f685 100644 --- a/sdk/go/akamai/getBotmanConditionalAction.go +++ b/sdk/go/akamai/getBotmanConditionalAction.go @@ -38,14 +38,20 @@ type LookupBotmanConditionalActionResult struct { func LookupBotmanConditionalActionOutput(ctx *pulumi.Context, args LookupBotmanConditionalActionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanConditionalActionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanConditionalActionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanConditionalActionResultOutput, error) { args := v.(LookupBotmanConditionalActionArgs) - r, err := LookupBotmanConditionalAction(ctx, &args, opts...) - var s LookupBotmanConditionalActionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanConditionalActionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanConditionalAction:getBotmanConditionalAction", args, &rv, "", opts...) + if err != nil { + return LookupBotmanConditionalActionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanConditionalActionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanConditionalActionResultOutput), nil + } + return output, nil }).(LookupBotmanConditionalActionResultOutput) } diff --git a/sdk/go/akamai/getBotmanCustomBotCategory.go b/sdk/go/akamai/getBotmanCustomBotCategory.go index 48d0d8526..7d41a44e4 100644 --- a/sdk/go/akamai/getBotmanCustomBotCategory.go +++ b/sdk/go/akamai/getBotmanCustomBotCategory.go @@ -38,14 +38,20 @@ type LookupBotmanCustomBotCategoryResult struct { func LookupBotmanCustomBotCategoryOutput(ctx *pulumi.Context, args LookupBotmanCustomBotCategoryOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanCustomBotCategoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanCustomBotCategoryResult, error) { + ApplyT(func(v interface{}) (LookupBotmanCustomBotCategoryResultOutput, error) { args := v.(LookupBotmanCustomBotCategoryArgs) - r, err := LookupBotmanCustomBotCategory(ctx, &args, opts...) - var s LookupBotmanCustomBotCategoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanCustomBotCategoryResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanCustomBotCategory:getBotmanCustomBotCategory", args, &rv, "", opts...) + if err != nil { + return LookupBotmanCustomBotCategoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanCustomBotCategoryResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanCustomBotCategoryResultOutput), nil + } + return output, nil }).(LookupBotmanCustomBotCategoryResultOutput) } diff --git a/sdk/go/akamai/getBotmanCustomBotCategoryAction.go b/sdk/go/akamai/getBotmanCustomBotCategoryAction.go index 9e62cec16..5f302a598 100644 --- a/sdk/go/akamai/getBotmanCustomBotCategoryAction.go +++ b/sdk/go/akamai/getBotmanCustomBotCategoryAction.go @@ -40,14 +40,20 @@ type LookupBotmanCustomBotCategoryActionResult struct { func LookupBotmanCustomBotCategoryActionOutput(ctx *pulumi.Context, args LookupBotmanCustomBotCategoryActionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanCustomBotCategoryActionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanCustomBotCategoryActionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanCustomBotCategoryActionResultOutput, error) { args := v.(LookupBotmanCustomBotCategoryActionArgs) - r, err := LookupBotmanCustomBotCategoryAction(ctx, &args, opts...) - var s LookupBotmanCustomBotCategoryActionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanCustomBotCategoryActionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanCustomBotCategoryAction:getBotmanCustomBotCategoryAction", args, &rv, "", opts...) + if err != nil { + return LookupBotmanCustomBotCategoryActionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanCustomBotCategoryActionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanCustomBotCategoryActionResultOutput), nil + } + return output, nil }).(LookupBotmanCustomBotCategoryActionResultOutput) } diff --git a/sdk/go/akamai/getBotmanCustomBotCategorySequence.go b/sdk/go/akamai/getBotmanCustomBotCategorySequence.go index 4e193a768..d1e4195da 100644 --- a/sdk/go/akamai/getBotmanCustomBotCategorySequence.go +++ b/sdk/go/akamai/getBotmanCustomBotCategorySequence.go @@ -36,14 +36,20 @@ type LookupBotmanCustomBotCategorySequenceResult struct { func LookupBotmanCustomBotCategorySequenceOutput(ctx *pulumi.Context, args LookupBotmanCustomBotCategorySequenceOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanCustomBotCategorySequenceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanCustomBotCategorySequenceResult, error) { + ApplyT(func(v interface{}) (LookupBotmanCustomBotCategorySequenceResultOutput, error) { args := v.(LookupBotmanCustomBotCategorySequenceArgs) - r, err := LookupBotmanCustomBotCategorySequence(ctx, &args, opts...) - var s LookupBotmanCustomBotCategorySequenceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanCustomBotCategorySequenceResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanCustomBotCategorySequence:getBotmanCustomBotCategorySequence", args, &rv, "", opts...) + if err != nil { + return LookupBotmanCustomBotCategorySequenceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanCustomBotCategorySequenceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanCustomBotCategorySequenceResultOutput), nil + } + return output, nil }).(LookupBotmanCustomBotCategorySequenceResultOutput) } diff --git a/sdk/go/akamai/getBotmanCustomClient.go b/sdk/go/akamai/getBotmanCustomClient.go index 8dbb89418..3e3e4cb58 100644 --- a/sdk/go/akamai/getBotmanCustomClient.go +++ b/sdk/go/akamai/getBotmanCustomClient.go @@ -38,14 +38,20 @@ type LookupBotmanCustomClientResult struct { func LookupBotmanCustomClientOutput(ctx *pulumi.Context, args LookupBotmanCustomClientOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanCustomClientResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanCustomClientResult, error) { + ApplyT(func(v interface{}) (LookupBotmanCustomClientResultOutput, error) { args := v.(LookupBotmanCustomClientArgs) - r, err := LookupBotmanCustomClient(ctx, &args, opts...) - var s LookupBotmanCustomClientResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanCustomClientResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanCustomClient:getBotmanCustomClient", args, &rv, "", opts...) + if err != nil { + return LookupBotmanCustomClientResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanCustomClientResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanCustomClientResultOutput), nil + } + return output, nil }).(LookupBotmanCustomClientResultOutput) } diff --git a/sdk/go/akamai/getBotmanCustomClientSequence.go b/sdk/go/akamai/getBotmanCustomClientSequence.go index 006065623..c9abb035a 100644 --- a/sdk/go/akamai/getBotmanCustomClientSequence.go +++ b/sdk/go/akamai/getBotmanCustomClientSequence.go @@ -36,14 +36,20 @@ type LookupBotmanCustomClientSequenceResult struct { func LookupBotmanCustomClientSequenceOutput(ctx *pulumi.Context, args LookupBotmanCustomClientSequenceOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanCustomClientSequenceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanCustomClientSequenceResult, error) { + ApplyT(func(v interface{}) (LookupBotmanCustomClientSequenceResultOutput, error) { args := v.(LookupBotmanCustomClientSequenceArgs) - r, err := LookupBotmanCustomClientSequence(ctx, &args, opts...) - var s LookupBotmanCustomClientSequenceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanCustomClientSequenceResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanCustomClientSequence:getBotmanCustomClientSequence", args, &rv, "", opts...) + if err != nil { + return LookupBotmanCustomClientSequenceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanCustomClientSequenceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanCustomClientSequenceResultOutput), nil + } + return output, nil }).(LookupBotmanCustomClientSequenceResultOutput) } diff --git a/sdk/go/akamai/getBotmanCustomCode.go b/sdk/go/akamai/getBotmanCustomCode.go index a13fa1087..3da6921d4 100644 --- a/sdk/go/akamai/getBotmanCustomCode.go +++ b/sdk/go/akamai/getBotmanCustomCode.go @@ -36,14 +36,20 @@ type LookupBotmanCustomCodeResult struct { func LookupBotmanCustomCodeOutput(ctx *pulumi.Context, args LookupBotmanCustomCodeOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanCustomCodeResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanCustomCodeResult, error) { + ApplyT(func(v interface{}) (LookupBotmanCustomCodeResultOutput, error) { args := v.(LookupBotmanCustomCodeArgs) - r, err := LookupBotmanCustomCode(ctx, &args, opts...) - var s LookupBotmanCustomCodeResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanCustomCodeResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanCustomCode:getBotmanCustomCode", args, &rv, "", opts...) + if err != nil { + return LookupBotmanCustomCodeResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanCustomCodeResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanCustomCodeResultOutput), nil + } + return output, nil }).(LookupBotmanCustomCodeResultOutput) } diff --git a/sdk/go/akamai/getBotmanCustomDefinedBot.go b/sdk/go/akamai/getBotmanCustomDefinedBot.go index 0f503b276..8feb90658 100644 --- a/sdk/go/akamai/getBotmanCustomDefinedBot.go +++ b/sdk/go/akamai/getBotmanCustomDefinedBot.go @@ -38,14 +38,20 @@ type LookupBotmanCustomDefinedBotResult struct { func LookupBotmanCustomDefinedBotOutput(ctx *pulumi.Context, args LookupBotmanCustomDefinedBotOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanCustomDefinedBotResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanCustomDefinedBotResult, error) { + ApplyT(func(v interface{}) (LookupBotmanCustomDefinedBotResultOutput, error) { args := v.(LookupBotmanCustomDefinedBotArgs) - r, err := LookupBotmanCustomDefinedBot(ctx, &args, opts...) - var s LookupBotmanCustomDefinedBotResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanCustomDefinedBotResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanCustomDefinedBot:getBotmanCustomDefinedBot", args, &rv, "", opts...) + if err != nil { + return LookupBotmanCustomDefinedBotResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanCustomDefinedBotResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanCustomDefinedBotResultOutput), nil + } + return output, nil }).(LookupBotmanCustomDefinedBotResultOutput) } diff --git a/sdk/go/akamai/getBotmanCustomDenyAction.go b/sdk/go/akamai/getBotmanCustomDenyAction.go index a5a196d10..55712baec 100644 --- a/sdk/go/akamai/getBotmanCustomDenyAction.go +++ b/sdk/go/akamai/getBotmanCustomDenyAction.go @@ -38,14 +38,20 @@ type LookupBotmanCustomDenyActionResult struct { func LookupBotmanCustomDenyActionOutput(ctx *pulumi.Context, args LookupBotmanCustomDenyActionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanCustomDenyActionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanCustomDenyActionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanCustomDenyActionResultOutput, error) { args := v.(LookupBotmanCustomDenyActionArgs) - r, err := LookupBotmanCustomDenyAction(ctx, &args, opts...) - var s LookupBotmanCustomDenyActionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanCustomDenyActionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanCustomDenyAction:getBotmanCustomDenyAction", args, &rv, "", opts...) + if err != nil { + return LookupBotmanCustomDenyActionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanCustomDenyActionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanCustomDenyActionResultOutput), nil + } + return output, nil }).(LookupBotmanCustomDenyActionResultOutput) } diff --git a/sdk/go/akamai/getBotmanJavascriptInjection.go b/sdk/go/akamai/getBotmanJavascriptInjection.go index 406524345..4ba86b9bf 100644 --- a/sdk/go/akamai/getBotmanJavascriptInjection.go +++ b/sdk/go/akamai/getBotmanJavascriptInjection.go @@ -38,14 +38,20 @@ type LookupBotmanJavascriptInjectionResult struct { func LookupBotmanJavascriptInjectionOutput(ctx *pulumi.Context, args LookupBotmanJavascriptInjectionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanJavascriptInjectionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanJavascriptInjectionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanJavascriptInjectionResultOutput, error) { args := v.(LookupBotmanJavascriptInjectionArgs) - r, err := LookupBotmanJavascriptInjection(ctx, &args, opts...) - var s LookupBotmanJavascriptInjectionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanJavascriptInjectionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanJavascriptInjection:getBotmanJavascriptInjection", args, &rv, "", opts...) + if err != nil { + return LookupBotmanJavascriptInjectionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanJavascriptInjectionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanJavascriptInjectionResultOutput), nil + } + return output, nil }).(LookupBotmanJavascriptInjectionResultOutput) } diff --git a/sdk/go/akamai/getBotmanRecategorizedAkamaiDefinedBot.go b/sdk/go/akamai/getBotmanRecategorizedAkamaiDefinedBot.go index 143313d86..58c8a2ed8 100644 --- a/sdk/go/akamai/getBotmanRecategorizedAkamaiDefinedBot.go +++ b/sdk/go/akamai/getBotmanRecategorizedAkamaiDefinedBot.go @@ -38,14 +38,20 @@ type LookupBotmanRecategorizedAkamaiDefinedBotResult struct { func LookupBotmanRecategorizedAkamaiDefinedBotOutput(ctx *pulumi.Context, args LookupBotmanRecategorizedAkamaiDefinedBotOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanRecategorizedAkamaiDefinedBotResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanRecategorizedAkamaiDefinedBotResult, error) { + ApplyT(func(v interface{}) (LookupBotmanRecategorizedAkamaiDefinedBotResultOutput, error) { args := v.(LookupBotmanRecategorizedAkamaiDefinedBotArgs) - r, err := LookupBotmanRecategorizedAkamaiDefinedBot(ctx, &args, opts...) - var s LookupBotmanRecategorizedAkamaiDefinedBotResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanRecategorizedAkamaiDefinedBotResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanRecategorizedAkamaiDefinedBot:getBotmanRecategorizedAkamaiDefinedBot", args, &rv, "", opts...) + if err != nil { + return LookupBotmanRecategorizedAkamaiDefinedBotResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanRecategorizedAkamaiDefinedBotResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanRecategorizedAkamaiDefinedBotResultOutput), nil + } + return output, nil }).(LookupBotmanRecategorizedAkamaiDefinedBotResultOutput) } diff --git a/sdk/go/akamai/getBotmanResponseAction.go b/sdk/go/akamai/getBotmanResponseAction.go index 1227b2eef..f495a3280 100644 --- a/sdk/go/akamai/getBotmanResponseAction.go +++ b/sdk/go/akamai/getBotmanResponseAction.go @@ -38,14 +38,20 @@ type GetBotmanResponseActionResult struct { func GetBotmanResponseActionOutput(ctx *pulumi.Context, args GetBotmanResponseActionOutputArgs, opts ...pulumi.InvokeOption) GetBotmanResponseActionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetBotmanResponseActionResult, error) { + ApplyT(func(v interface{}) (GetBotmanResponseActionResultOutput, error) { args := v.(GetBotmanResponseActionArgs) - r, err := GetBotmanResponseAction(ctx, &args, opts...) - var s GetBotmanResponseActionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetBotmanResponseActionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanResponseAction:getBotmanResponseAction", args, &rv, "", opts...) + if err != nil { + return GetBotmanResponseActionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetBotmanResponseActionResultOutput) + if secret { + return pulumi.ToSecret(output).(GetBotmanResponseActionResultOutput), nil + } + return output, nil }).(GetBotmanResponseActionResultOutput) } diff --git a/sdk/go/akamai/getBotmanServeAlternateAction.go b/sdk/go/akamai/getBotmanServeAlternateAction.go index 21e5a2f64..ab71a83ae 100644 --- a/sdk/go/akamai/getBotmanServeAlternateAction.go +++ b/sdk/go/akamai/getBotmanServeAlternateAction.go @@ -38,14 +38,20 @@ type LookupBotmanServeAlternateActionResult struct { func LookupBotmanServeAlternateActionOutput(ctx *pulumi.Context, args LookupBotmanServeAlternateActionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanServeAlternateActionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanServeAlternateActionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanServeAlternateActionResultOutput, error) { args := v.(LookupBotmanServeAlternateActionArgs) - r, err := LookupBotmanServeAlternateAction(ctx, &args, opts...) - var s LookupBotmanServeAlternateActionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanServeAlternateActionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanServeAlternateAction:getBotmanServeAlternateAction", args, &rv, "", opts...) + if err != nil { + return LookupBotmanServeAlternateActionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanServeAlternateActionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanServeAlternateActionResultOutput), nil + } + return output, nil }).(LookupBotmanServeAlternateActionResultOutput) } diff --git a/sdk/go/akamai/getBotmanTransactionalEndpoint.go b/sdk/go/akamai/getBotmanTransactionalEndpoint.go index a74af1887..3f14322d5 100644 --- a/sdk/go/akamai/getBotmanTransactionalEndpoint.go +++ b/sdk/go/akamai/getBotmanTransactionalEndpoint.go @@ -40,14 +40,20 @@ type LookupBotmanTransactionalEndpointResult struct { func LookupBotmanTransactionalEndpointOutput(ctx *pulumi.Context, args LookupBotmanTransactionalEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanTransactionalEndpointResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanTransactionalEndpointResult, error) { + ApplyT(func(v interface{}) (LookupBotmanTransactionalEndpointResultOutput, error) { args := v.(LookupBotmanTransactionalEndpointArgs) - r, err := LookupBotmanTransactionalEndpoint(ctx, &args, opts...) - var s LookupBotmanTransactionalEndpointResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanTransactionalEndpointResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanTransactionalEndpoint:getBotmanTransactionalEndpoint", args, &rv, "", opts...) + if err != nil { + return LookupBotmanTransactionalEndpointResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanTransactionalEndpointResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanTransactionalEndpointResultOutput), nil + } + return output, nil }).(LookupBotmanTransactionalEndpointResultOutput) } diff --git a/sdk/go/akamai/getBotmanTransactionalEndpointProtection.go b/sdk/go/akamai/getBotmanTransactionalEndpointProtection.go index 3ee8db422..99b29b0cf 100644 --- a/sdk/go/akamai/getBotmanTransactionalEndpointProtection.go +++ b/sdk/go/akamai/getBotmanTransactionalEndpointProtection.go @@ -36,14 +36,20 @@ type LookupBotmanTransactionalEndpointProtectionResult struct { func LookupBotmanTransactionalEndpointProtectionOutput(ctx *pulumi.Context, args LookupBotmanTransactionalEndpointProtectionOutputArgs, opts ...pulumi.InvokeOption) LookupBotmanTransactionalEndpointProtectionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupBotmanTransactionalEndpointProtectionResult, error) { + ApplyT(func(v interface{}) (LookupBotmanTransactionalEndpointProtectionResultOutput, error) { args := v.(LookupBotmanTransactionalEndpointProtectionArgs) - r, err := LookupBotmanTransactionalEndpointProtection(ctx, &args, opts...) - var s LookupBotmanTransactionalEndpointProtectionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupBotmanTransactionalEndpointProtectionResult + secret, err := ctx.InvokePackageRaw("akamai:index/getBotmanTransactionalEndpointProtection:getBotmanTransactionalEndpointProtection", args, &rv, "", opts...) + if err != nil { + return LookupBotmanTransactionalEndpointProtectionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupBotmanTransactionalEndpointProtectionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupBotmanTransactionalEndpointProtectionResultOutput), nil + } + return output, nil }).(LookupBotmanTransactionalEndpointProtectionResultOutput) } diff --git a/sdk/go/akamai/getCPSEnrollment.go b/sdk/go/akamai/getCPSEnrollment.go index 560c606fb..6de8b23e3 100644 --- a/sdk/go/akamai/getCPSEnrollment.go +++ b/sdk/go/akamai/getCPSEnrollment.go @@ -58,14 +58,20 @@ type GetCPSEnrollmentResult struct { func GetCPSEnrollmentOutput(ctx *pulumi.Context, args GetCPSEnrollmentOutputArgs, opts ...pulumi.InvokeOption) GetCPSEnrollmentResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCPSEnrollmentResult, error) { + ApplyT(func(v interface{}) (GetCPSEnrollmentResultOutput, error) { args := v.(GetCPSEnrollmentArgs) - r, err := GetCPSEnrollment(ctx, &args, opts...) - var s GetCPSEnrollmentResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCPSEnrollmentResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCPSEnrollment:getCPSEnrollment", args, &rv, "", opts...) + if err != nil { + return GetCPSEnrollmentResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCPSEnrollmentResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCPSEnrollmentResultOutput), nil + } + return output, nil }).(GetCPSEnrollmentResultOutput) } diff --git a/sdk/go/akamai/getCPSEnrollments.go b/sdk/go/akamai/getCPSEnrollments.go index beead818e..21b30bcbc 100644 --- a/sdk/go/akamai/getCPSEnrollments.go +++ b/sdk/go/akamai/getCPSEnrollments.go @@ -36,14 +36,20 @@ type GetCPSEnrollmentsResult struct { func GetCPSEnrollmentsOutput(ctx *pulumi.Context, args GetCPSEnrollmentsOutputArgs, opts ...pulumi.InvokeOption) GetCPSEnrollmentsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCPSEnrollmentsResult, error) { + ApplyT(func(v interface{}) (GetCPSEnrollmentsResultOutput, error) { args := v.(GetCPSEnrollmentsArgs) - r, err := GetCPSEnrollments(ctx, &args, opts...) - var s GetCPSEnrollmentsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCPSEnrollmentsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCPSEnrollments:getCPSEnrollments", args, &rv, "", opts...) + if err != nil { + return GetCPSEnrollmentsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCPSEnrollmentsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCPSEnrollmentsResultOutput), nil + } + return output, nil }).(GetCPSEnrollmentsResultOutput) } diff --git a/sdk/go/akamai/getClientlistLists.go b/sdk/go/akamai/getClientlistLists.go index 28e17b9ba..8a18aebab 100644 --- a/sdk/go/akamai/getClientlistLists.go +++ b/sdk/go/akamai/getClientlistLists.go @@ -41,14 +41,20 @@ type GetClientlistListsResult struct { func GetClientlistListsOutput(ctx *pulumi.Context, args GetClientlistListsOutputArgs, opts ...pulumi.InvokeOption) GetClientlistListsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetClientlistListsResult, error) { + ApplyT(func(v interface{}) (GetClientlistListsResultOutput, error) { args := v.(GetClientlistListsArgs) - r, err := GetClientlistLists(ctx, &args, opts...) - var s GetClientlistListsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetClientlistListsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getClientlistLists:getClientlistLists", args, &rv, "", opts...) + if err != nil { + return GetClientlistListsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetClientlistListsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetClientlistListsResultOutput), nil + } + return output, nil }).(GetClientlistListsResultOutput) } diff --git a/sdk/go/akamai/getCloudletsApiPrioritizationMatchRule.go b/sdk/go/akamai/getCloudletsApiPrioritizationMatchRule.go index f0afa2f11..4cf97e4a7 100644 --- a/sdk/go/akamai/getCloudletsApiPrioritizationMatchRule.go +++ b/sdk/go/akamai/getCloudletsApiPrioritizationMatchRule.go @@ -36,14 +36,20 @@ type GetCloudletsApiPrioritizationMatchRuleResult struct { func GetCloudletsApiPrioritizationMatchRuleOutput(ctx *pulumi.Context, args GetCloudletsApiPrioritizationMatchRuleOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsApiPrioritizationMatchRuleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsApiPrioritizationMatchRuleResult, error) { + ApplyT(func(v interface{}) (GetCloudletsApiPrioritizationMatchRuleResultOutput, error) { args := v.(GetCloudletsApiPrioritizationMatchRuleArgs) - r, err := GetCloudletsApiPrioritizationMatchRule(ctx, &args, opts...) - var s GetCloudletsApiPrioritizationMatchRuleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsApiPrioritizationMatchRuleResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsApiPrioritizationMatchRule:getCloudletsApiPrioritizationMatchRule", args, &rv, "", opts...) + if err != nil { + return GetCloudletsApiPrioritizationMatchRuleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsApiPrioritizationMatchRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsApiPrioritizationMatchRuleResultOutput), nil + } + return output, nil }).(GetCloudletsApiPrioritizationMatchRuleResultOutput) } diff --git a/sdk/go/akamai/getCloudletsApplicationLoadBalancer.go b/sdk/go/akamai/getCloudletsApplicationLoadBalancer.go index cbcca8090..aa5820386 100644 --- a/sdk/go/akamai/getCloudletsApplicationLoadBalancer.go +++ b/sdk/go/akamai/getCloudletsApplicationLoadBalancer.go @@ -49,14 +49,20 @@ type LookupCloudletsApplicationLoadBalancerResult struct { func LookupCloudletsApplicationLoadBalancerOutput(ctx *pulumi.Context, args LookupCloudletsApplicationLoadBalancerOutputArgs, opts ...pulumi.InvokeOption) LookupCloudletsApplicationLoadBalancerResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCloudletsApplicationLoadBalancerResult, error) { + ApplyT(func(v interface{}) (LookupCloudletsApplicationLoadBalancerResultOutput, error) { args := v.(LookupCloudletsApplicationLoadBalancerArgs) - r, err := LookupCloudletsApplicationLoadBalancer(ctx, &args, opts...) - var s LookupCloudletsApplicationLoadBalancerResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCloudletsApplicationLoadBalancerResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsApplicationLoadBalancer:getCloudletsApplicationLoadBalancer", args, &rv, "", opts...) + if err != nil { + return LookupCloudletsApplicationLoadBalancerResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCloudletsApplicationLoadBalancerResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCloudletsApplicationLoadBalancerResultOutput), nil + } + return output, nil }).(LookupCloudletsApplicationLoadBalancerResultOutput) } diff --git a/sdk/go/akamai/getCloudletsApplicationLoadBalancerMatchRule.go b/sdk/go/akamai/getCloudletsApplicationLoadBalancerMatchRule.go index e82ffe10d..ea259f941 100644 --- a/sdk/go/akamai/getCloudletsApplicationLoadBalancerMatchRule.go +++ b/sdk/go/akamai/getCloudletsApplicationLoadBalancerMatchRule.go @@ -36,14 +36,20 @@ type GetCloudletsApplicationLoadBalancerMatchRuleResult struct { func GetCloudletsApplicationLoadBalancerMatchRuleOutput(ctx *pulumi.Context, args GetCloudletsApplicationLoadBalancerMatchRuleOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsApplicationLoadBalancerMatchRuleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsApplicationLoadBalancerMatchRuleResult, error) { + ApplyT(func(v interface{}) (GetCloudletsApplicationLoadBalancerMatchRuleResultOutput, error) { args := v.(GetCloudletsApplicationLoadBalancerMatchRuleArgs) - r, err := GetCloudletsApplicationLoadBalancerMatchRule(ctx, &args, opts...) - var s GetCloudletsApplicationLoadBalancerMatchRuleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsApplicationLoadBalancerMatchRuleResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsApplicationLoadBalancerMatchRule:getCloudletsApplicationLoadBalancerMatchRule", args, &rv, "", opts...) + if err != nil { + return GetCloudletsApplicationLoadBalancerMatchRuleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsApplicationLoadBalancerMatchRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsApplicationLoadBalancerMatchRuleResultOutput), nil + } + return output, nil }).(GetCloudletsApplicationLoadBalancerMatchRuleResultOutput) } diff --git a/sdk/go/akamai/getCloudletsAudienceSegmentationMatchRule.go b/sdk/go/akamai/getCloudletsAudienceSegmentationMatchRule.go index 64f36112f..0d593089e 100644 --- a/sdk/go/akamai/getCloudletsAudienceSegmentationMatchRule.go +++ b/sdk/go/akamai/getCloudletsAudienceSegmentationMatchRule.go @@ -36,14 +36,20 @@ type GetCloudletsAudienceSegmentationMatchRuleResult struct { func GetCloudletsAudienceSegmentationMatchRuleOutput(ctx *pulumi.Context, args GetCloudletsAudienceSegmentationMatchRuleOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsAudienceSegmentationMatchRuleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsAudienceSegmentationMatchRuleResult, error) { + ApplyT(func(v interface{}) (GetCloudletsAudienceSegmentationMatchRuleResultOutput, error) { args := v.(GetCloudletsAudienceSegmentationMatchRuleArgs) - r, err := GetCloudletsAudienceSegmentationMatchRule(ctx, &args, opts...) - var s GetCloudletsAudienceSegmentationMatchRuleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsAudienceSegmentationMatchRuleResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsAudienceSegmentationMatchRule:getCloudletsAudienceSegmentationMatchRule", args, &rv, "", opts...) + if err != nil { + return GetCloudletsAudienceSegmentationMatchRuleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsAudienceSegmentationMatchRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsAudienceSegmentationMatchRuleResultOutput), nil + } + return output, nil }).(GetCloudletsAudienceSegmentationMatchRuleResultOutput) } diff --git a/sdk/go/akamai/getCloudletsEdgeRedirectorMatchRule.go b/sdk/go/akamai/getCloudletsEdgeRedirectorMatchRule.go index 968cb8d58..32cb20f42 100644 --- a/sdk/go/akamai/getCloudletsEdgeRedirectorMatchRule.go +++ b/sdk/go/akamai/getCloudletsEdgeRedirectorMatchRule.go @@ -36,14 +36,20 @@ type GetCloudletsEdgeRedirectorMatchRuleResult struct { func GetCloudletsEdgeRedirectorMatchRuleOutput(ctx *pulumi.Context, args GetCloudletsEdgeRedirectorMatchRuleOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsEdgeRedirectorMatchRuleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsEdgeRedirectorMatchRuleResult, error) { + ApplyT(func(v interface{}) (GetCloudletsEdgeRedirectorMatchRuleResultOutput, error) { args := v.(GetCloudletsEdgeRedirectorMatchRuleArgs) - r, err := GetCloudletsEdgeRedirectorMatchRule(ctx, &args, opts...) - var s GetCloudletsEdgeRedirectorMatchRuleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsEdgeRedirectorMatchRuleResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsEdgeRedirectorMatchRule:getCloudletsEdgeRedirectorMatchRule", args, &rv, "", opts...) + if err != nil { + return GetCloudletsEdgeRedirectorMatchRuleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsEdgeRedirectorMatchRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsEdgeRedirectorMatchRuleResultOutput), nil + } + return output, nil }).(GetCloudletsEdgeRedirectorMatchRuleResultOutput) } diff --git a/sdk/go/akamai/getCloudletsForwardRewriteMatchRule.go b/sdk/go/akamai/getCloudletsForwardRewriteMatchRule.go index 0f284a2fb..30e33d040 100644 --- a/sdk/go/akamai/getCloudletsForwardRewriteMatchRule.go +++ b/sdk/go/akamai/getCloudletsForwardRewriteMatchRule.go @@ -36,14 +36,20 @@ type GetCloudletsForwardRewriteMatchRuleResult struct { func GetCloudletsForwardRewriteMatchRuleOutput(ctx *pulumi.Context, args GetCloudletsForwardRewriteMatchRuleOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsForwardRewriteMatchRuleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsForwardRewriteMatchRuleResult, error) { + ApplyT(func(v interface{}) (GetCloudletsForwardRewriteMatchRuleResultOutput, error) { args := v.(GetCloudletsForwardRewriteMatchRuleArgs) - r, err := GetCloudletsForwardRewriteMatchRule(ctx, &args, opts...) - var s GetCloudletsForwardRewriteMatchRuleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsForwardRewriteMatchRuleResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsForwardRewriteMatchRule:getCloudletsForwardRewriteMatchRule", args, &rv, "", opts...) + if err != nil { + return GetCloudletsForwardRewriteMatchRuleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsForwardRewriteMatchRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsForwardRewriteMatchRuleResultOutput), nil + } + return output, nil }).(GetCloudletsForwardRewriteMatchRuleResultOutput) } diff --git a/sdk/go/akamai/getCloudletsPhasedReleaseMatchRule.go b/sdk/go/akamai/getCloudletsPhasedReleaseMatchRule.go index 01216302d..b8d28dbd4 100644 --- a/sdk/go/akamai/getCloudletsPhasedReleaseMatchRule.go +++ b/sdk/go/akamai/getCloudletsPhasedReleaseMatchRule.go @@ -36,14 +36,20 @@ type GetCloudletsPhasedReleaseMatchRuleResult struct { func GetCloudletsPhasedReleaseMatchRuleOutput(ctx *pulumi.Context, args GetCloudletsPhasedReleaseMatchRuleOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsPhasedReleaseMatchRuleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsPhasedReleaseMatchRuleResult, error) { + ApplyT(func(v interface{}) (GetCloudletsPhasedReleaseMatchRuleResultOutput, error) { args := v.(GetCloudletsPhasedReleaseMatchRuleArgs) - r, err := GetCloudletsPhasedReleaseMatchRule(ctx, &args, opts...) - var s GetCloudletsPhasedReleaseMatchRuleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsPhasedReleaseMatchRuleResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsPhasedReleaseMatchRule:getCloudletsPhasedReleaseMatchRule", args, &rv, "", opts...) + if err != nil { + return GetCloudletsPhasedReleaseMatchRuleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsPhasedReleaseMatchRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsPhasedReleaseMatchRuleResultOutput), nil + } + return output, nil }).(GetCloudletsPhasedReleaseMatchRuleResultOutput) } diff --git a/sdk/go/akamai/getCloudletsPolicy.go b/sdk/go/akamai/getCloudletsPolicy.go index 674ad7c65..e21091c91 100644 --- a/sdk/go/akamai/getCloudletsPolicy.go +++ b/sdk/go/akamai/getCloudletsPolicy.go @@ -50,14 +50,20 @@ type LookupCloudletsPolicyResult struct { func LookupCloudletsPolicyOutput(ctx *pulumi.Context, args LookupCloudletsPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupCloudletsPolicyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCloudletsPolicyResult, error) { + ApplyT(func(v interface{}) (LookupCloudletsPolicyResultOutput, error) { args := v.(LookupCloudletsPolicyArgs) - r, err := LookupCloudletsPolicy(ctx, &args, opts...) - var s LookupCloudletsPolicyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCloudletsPolicyResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsPolicy:getCloudletsPolicy", args, &rv, "", opts...) + if err != nil { + return LookupCloudletsPolicyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCloudletsPolicyResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCloudletsPolicyResultOutput), nil + } + return output, nil }).(LookupCloudletsPolicyResultOutput) } diff --git a/sdk/go/akamai/getCloudletsPolicyActivation.go b/sdk/go/akamai/getCloudletsPolicyActivation.go index 72e7a6f24..eae0cb854 100644 --- a/sdk/go/akamai/getCloudletsPolicyActivation.go +++ b/sdk/go/akamai/getCloudletsPolicyActivation.go @@ -41,14 +41,20 @@ type LookupCloudletsPolicyActivationResult struct { func LookupCloudletsPolicyActivationOutput(ctx *pulumi.Context, args LookupCloudletsPolicyActivationOutputArgs, opts ...pulumi.InvokeOption) LookupCloudletsPolicyActivationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCloudletsPolicyActivationResult, error) { + ApplyT(func(v interface{}) (LookupCloudletsPolicyActivationResultOutput, error) { args := v.(LookupCloudletsPolicyActivationArgs) - r, err := LookupCloudletsPolicyActivation(ctx, &args, opts...) - var s LookupCloudletsPolicyActivationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCloudletsPolicyActivationResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsPolicyActivation:getCloudletsPolicyActivation", args, &rv, "", opts...) + if err != nil { + return LookupCloudletsPolicyActivationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCloudletsPolicyActivationResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCloudletsPolicyActivationResultOutput), nil + } + return output, nil }).(LookupCloudletsPolicyActivationResultOutput) } diff --git a/sdk/go/akamai/getCloudletsRequestControlMatchRule.go b/sdk/go/akamai/getCloudletsRequestControlMatchRule.go index 4fbdc9b56..c6ec2297e 100644 --- a/sdk/go/akamai/getCloudletsRequestControlMatchRule.go +++ b/sdk/go/akamai/getCloudletsRequestControlMatchRule.go @@ -36,14 +36,20 @@ type GetCloudletsRequestControlMatchRuleResult struct { func GetCloudletsRequestControlMatchRuleOutput(ctx *pulumi.Context, args GetCloudletsRequestControlMatchRuleOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsRequestControlMatchRuleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsRequestControlMatchRuleResult, error) { + ApplyT(func(v interface{}) (GetCloudletsRequestControlMatchRuleResultOutput, error) { args := v.(GetCloudletsRequestControlMatchRuleArgs) - r, err := GetCloudletsRequestControlMatchRule(ctx, &args, opts...) - var s GetCloudletsRequestControlMatchRuleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsRequestControlMatchRuleResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsRequestControlMatchRule:getCloudletsRequestControlMatchRule", args, &rv, "", opts...) + if err != nil { + return GetCloudletsRequestControlMatchRuleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsRequestControlMatchRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsRequestControlMatchRuleResultOutput), nil + } + return output, nil }).(GetCloudletsRequestControlMatchRuleResultOutput) } diff --git a/sdk/go/akamai/getCloudletsSharedPolicy.go b/sdk/go/akamai/getCloudletsSharedPolicy.go index 7ece5967f..f6d82fa3b 100644 --- a/sdk/go/akamai/getCloudletsSharedPolicy.go +++ b/sdk/go/akamai/getCloudletsSharedPolicy.go @@ -46,14 +46,20 @@ type GetCloudletsSharedPolicyResult struct { func GetCloudletsSharedPolicyOutput(ctx *pulumi.Context, args GetCloudletsSharedPolicyOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsSharedPolicyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsSharedPolicyResult, error) { + ApplyT(func(v interface{}) (GetCloudletsSharedPolicyResultOutput, error) { args := v.(GetCloudletsSharedPolicyArgs) - r, err := GetCloudletsSharedPolicy(ctx, &args, opts...) - var s GetCloudletsSharedPolicyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsSharedPolicyResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsSharedPolicy:getCloudletsSharedPolicy", args, &rv, "", opts...) + if err != nil { + return GetCloudletsSharedPolicyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsSharedPolicyResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsSharedPolicyResultOutput), nil + } + return output, nil }).(GetCloudletsSharedPolicyResultOutput) } diff --git a/sdk/go/akamai/getCloudletsVisitorPrioritizationMatchRule.go b/sdk/go/akamai/getCloudletsVisitorPrioritizationMatchRule.go index 51aa7e79f..62bcd2808 100644 --- a/sdk/go/akamai/getCloudletsVisitorPrioritizationMatchRule.go +++ b/sdk/go/akamai/getCloudletsVisitorPrioritizationMatchRule.go @@ -36,14 +36,20 @@ type GetCloudletsVisitorPrioritizationMatchRuleResult struct { func GetCloudletsVisitorPrioritizationMatchRuleOutput(ctx *pulumi.Context, args GetCloudletsVisitorPrioritizationMatchRuleOutputArgs, opts ...pulumi.InvokeOption) GetCloudletsVisitorPrioritizationMatchRuleResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudletsVisitorPrioritizationMatchRuleResult, error) { + ApplyT(func(v interface{}) (GetCloudletsVisitorPrioritizationMatchRuleResultOutput, error) { args := v.(GetCloudletsVisitorPrioritizationMatchRuleArgs) - r, err := GetCloudletsVisitorPrioritizationMatchRule(ctx, &args, opts...) - var s GetCloudletsVisitorPrioritizationMatchRuleResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudletsVisitorPrioritizationMatchRuleResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudletsVisitorPrioritizationMatchRule:getCloudletsVisitorPrioritizationMatchRule", args, &rv, "", opts...) + if err != nil { + return GetCloudletsVisitorPrioritizationMatchRuleResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudletsVisitorPrioritizationMatchRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudletsVisitorPrioritizationMatchRuleResultOutput), nil + } + return output, nil }).(GetCloudletsVisitorPrioritizationMatchRuleResultOutput) } diff --git a/sdk/go/akamai/getCloudwrapperCapacities.go b/sdk/go/akamai/getCloudwrapperCapacities.go index 5b796dbdf..e5b731789 100644 --- a/sdk/go/akamai/getCloudwrapperCapacities.go +++ b/sdk/go/akamai/getCloudwrapperCapacities.go @@ -37,14 +37,20 @@ type GetCloudwrapperCapacitiesResult struct { func GetCloudwrapperCapacitiesOutput(ctx *pulumi.Context, args GetCloudwrapperCapacitiesOutputArgs, opts ...pulumi.InvokeOption) GetCloudwrapperCapacitiesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudwrapperCapacitiesResult, error) { + ApplyT(func(v interface{}) (GetCloudwrapperCapacitiesResultOutput, error) { args := v.(GetCloudwrapperCapacitiesArgs) - r, err := GetCloudwrapperCapacities(ctx, &args, opts...) - var s GetCloudwrapperCapacitiesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudwrapperCapacitiesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudwrapperCapacities:getCloudwrapperCapacities", args, &rv, "", opts...) + if err != nil { + return GetCloudwrapperCapacitiesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudwrapperCapacitiesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudwrapperCapacitiesResultOutput), nil + } + return output, nil }).(GetCloudwrapperCapacitiesResultOutput) } diff --git a/sdk/go/akamai/getCloudwrapperConfiguration.go b/sdk/go/akamai/getCloudwrapperConfiguration.go index 71dee9ac3..a8fc8f28d 100644 --- a/sdk/go/akamai/getCloudwrapperConfiguration.go +++ b/sdk/go/akamai/getCloudwrapperConfiguration.go @@ -49,14 +49,20 @@ type LookupCloudwrapperConfigurationResult struct { func LookupCloudwrapperConfigurationOutput(ctx *pulumi.Context, args LookupCloudwrapperConfigurationOutputArgs, opts ...pulumi.InvokeOption) LookupCloudwrapperConfigurationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCloudwrapperConfigurationResult, error) { + ApplyT(func(v interface{}) (LookupCloudwrapperConfigurationResultOutput, error) { args := v.(LookupCloudwrapperConfigurationArgs) - r, err := LookupCloudwrapperConfiguration(ctx, &args, opts...) - var s LookupCloudwrapperConfigurationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCloudwrapperConfigurationResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudwrapperConfiguration:getCloudwrapperConfiguration", args, &rv, "", opts...) + if err != nil { + return LookupCloudwrapperConfigurationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCloudwrapperConfigurationResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCloudwrapperConfigurationResultOutput), nil + } + return output, nil }).(LookupCloudwrapperConfigurationResultOutput) } diff --git a/sdk/go/akamai/getCloudwrapperConfigurations.go b/sdk/go/akamai/getCloudwrapperConfigurations.go index 5972698d9..4f7accdc0 100644 --- a/sdk/go/akamai/getCloudwrapperConfigurations.go +++ b/sdk/go/akamai/getCloudwrapperConfigurations.go @@ -35,14 +35,20 @@ type GetCloudwrapperConfigurationsResult struct { func GetCloudwrapperConfigurationsOutput(ctx *pulumi.Context, args GetCloudwrapperConfigurationsOutputArgs, opts ...pulumi.InvokeOption) GetCloudwrapperConfigurationsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudwrapperConfigurationsResult, error) { + ApplyT(func(v interface{}) (GetCloudwrapperConfigurationsResultOutput, error) { args := v.(GetCloudwrapperConfigurationsArgs) - r, err := GetCloudwrapperConfigurations(ctx, &args, opts...) - var s GetCloudwrapperConfigurationsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudwrapperConfigurationsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudwrapperConfigurations:getCloudwrapperConfigurations", args, &rv, "", opts...) + if err != nil { + return GetCloudwrapperConfigurationsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudwrapperConfigurationsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudwrapperConfigurationsResultOutput), nil + } + return output, nil }).(GetCloudwrapperConfigurationsResultOutput) } diff --git a/sdk/go/akamai/getCloudwrapperLocation.go b/sdk/go/akamai/getCloudwrapperLocation.go index 14c30db9b..de4f67c3e 100644 --- a/sdk/go/akamai/getCloudwrapperLocation.go +++ b/sdk/go/akamai/getCloudwrapperLocation.go @@ -39,14 +39,20 @@ type GetCloudwrapperLocationResult struct { func GetCloudwrapperLocationOutput(ctx *pulumi.Context, args GetCloudwrapperLocationOutputArgs, opts ...pulumi.InvokeOption) GetCloudwrapperLocationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudwrapperLocationResult, error) { + ApplyT(func(v interface{}) (GetCloudwrapperLocationResultOutput, error) { args := v.(GetCloudwrapperLocationArgs) - r, err := GetCloudwrapperLocation(ctx, &args, opts...) - var s GetCloudwrapperLocationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudwrapperLocationResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudwrapperLocation:getCloudwrapperLocation", args, &rv, "", opts...) + if err != nil { + return GetCloudwrapperLocationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudwrapperLocationResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudwrapperLocationResultOutput), nil + } + return output, nil }).(GetCloudwrapperLocationResultOutput) } diff --git a/sdk/go/akamai/getCloudwrapperLocations.go b/sdk/go/akamai/getCloudwrapperLocations.go index eb10e7db0..65073b6ad 100644 --- a/sdk/go/akamai/getCloudwrapperLocations.go +++ b/sdk/go/akamai/getCloudwrapperLocations.go @@ -35,14 +35,20 @@ type GetCloudwrapperLocationsResult struct { func GetCloudwrapperLocationsOutput(ctx *pulumi.Context, args GetCloudwrapperLocationsOutputArgs, opts ...pulumi.InvokeOption) GetCloudwrapperLocationsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudwrapperLocationsResult, error) { + ApplyT(func(v interface{}) (GetCloudwrapperLocationsResultOutput, error) { args := v.(GetCloudwrapperLocationsArgs) - r, err := GetCloudwrapperLocations(ctx, &args, opts...) - var s GetCloudwrapperLocationsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudwrapperLocationsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudwrapperLocations:getCloudwrapperLocations", args, &rv, "", opts...) + if err != nil { + return GetCloudwrapperLocationsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudwrapperLocationsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudwrapperLocationsResultOutput), nil + } + return output, nil }).(GetCloudwrapperLocationsResultOutput) } diff --git a/sdk/go/akamai/getCloudwrapperProperties.go b/sdk/go/akamai/getCloudwrapperProperties.go index 07cf61338..6a0ca82f7 100644 --- a/sdk/go/akamai/getCloudwrapperProperties.go +++ b/sdk/go/akamai/getCloudwrapperProperties.go @@ -39,14 +39,20 @@ type GetCloudwrapperPropertiesResult struct { func GetCloudwrapperPropertiesOutput(ctx *pulumi.Context, args GetCloudwrapperPropertiesOutputArgs, opts ...pulumi.InvokeOption) GetCloudwrapperPropertiesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCloudwrapperPropertiesResult, error) { + ApplyT(func(v interface{}) (GetCloudwrapperPropertiesResultOutput, error) { args := v.(GetCloudwrapperPropertiesArgs) - r, err := GetCloudwrapperProperties(ctx, &args, opts...) - var s GetCloudwrapperPropertiesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCloudwrapperPropertiesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCloudwrapperProperties:getCloudwrapperProperties", args, &rv, "", opts...) + if err != nil { + return GetCloudwrapperPropertiesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCloudwrapperPropertiesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCloudwrapperPropertiesResultOutput), nil + } + return output, nil }).(GetCloudwrapperPropertiesResultOutput) } diff --git a/sdk/go/akamai/getContract.go b/sdk/go/akamai/getContract.go index 2a558aa41..217d84b50 100644 --- a/sdk/go/akamai/getContract.go +++ b/sdk/go/akamai/getContract.go @@ -37,14 +37,20 @@ type GetContractResult struct { func GetContractOutput(ctx *pulumi.Context, args GetContractOutputArgs, opts ...pulumi.InvokeOption) GetContractResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetContractResult, error) { + ApplyT(func(v interface{}) (GetContractResultOutput, error) { args := v.(GetContractArgs) - r, err := GetContract(ctx, &args, opts...) - var s GetContractResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetContractResult + secret, err := ctx.InvokePackageRaw("akamai:index/getContract:getContract", args, &rv, "", opts...) + if err != nil { + return GetContractResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetContractResultOutput) + if secret { + return pulumi.ToSecret(output).(GetContractResultOutput), nil + } + return output, nil }).(GetContractResultOutput) } diff --git a/sdk/go/akamai/getContracts.go b/sdk/go/akamai/getContracts.go index db838f837..9b7954b1f 100644 --- a/sdk/go/akamai/getContracts.go +++ b/sdk/go/akamai/getContracts.go @@ -29,13 +29,19 @@ type GetContractsResult struct { } func GetContractsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetContractsResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetContractsResult, error) { - r, err := GetContracts(ctx, opts...) - var s GetContractsResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetContractsResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetContractsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getContracts:getContracts", nil, &rv, "", opts...) + if err != nil { + return GetContractsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetContractsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetContractsResultOutput), nil + } + return output, nil }).(GetContractsResultOutput) } diff --git a/sdk/go/akamai/getCpCode.go b/sdk/go/akamai/getCpCode.go index 4f25b3cf3..72bacbd22 100644 --- a/sdk/go/akamai/getCpCode.go +++ b/sdk/go/akamai/getCpCode.go @@ -40,14 +40,20 @@ type LookupCpCodeResult struct { func LookupCpCodeOutput(ctx *pulumi.Context, args LookupCpCodeOutputArgs, opts ...pulumi.InvokeOption) LookupCpCodeResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCpCodeResult, error) { + ApplyT(func(v interface{}) (LookupCpCodeResultOutput, error) { args := v.(LookupCpCodeArgs) - r, err := LookupCpCode(ctx, &args, opts...) - var s LookupCpCodeResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCpCodeResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCpCode:getCpCode", args, &rv, "", opts...) + if err != nil { + return LookupCpCodeResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupCpCodeResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCpCodeResultOutput), nil + } + return output, nil }).(LookupCpCodeResultOutput) } diff --git a/sdk/go/akamai/getCpsCsr.go b/sdk/go/akamai/getCpsCsr.go index 92f5ad8cd..887ad8b91 100644 --- a/sdk/go/akamai/getCpsCsr.go +++ b/sdk/go/akamai/getCpsCsr.go @@ -37,14 +37,20 @@ type GetCpsCsrResult struct { func GetCpsCsrOutput(ctx *pulumi.Context, args GetCpsCsrOutputArgs, opts ...pulumi.InvokeOption) GetCpsCsrResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCpsCsrResult, error) { + ApplyT(func(v interface{}) (GetCpsCsrResultOutput, error) { args := v.(GetCpsCsrArgs) - r, err := GetCpsCsr(ctx, &args, opts...) - var s GetCpsCsrResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCpsCsrResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCpsCsr:getCpsCsr", args, &rv, "", opts...) + if err != nil { + return GetCpsCsrResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCpsCsrResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCpsCsrResultOutput), nil + } + return output, nil }).(GetCpsCsrResultOutput) } diff --git a/sdk/go/akamai/getCpsDeployments.go b/sdk/go/akamai/getCpsDeployments.go index 97ee4e001..51ac35dde 100644 --- a/sdk/go/akamai/getCpsDeployments.go +++ b/sdk/go/akamai/getCpsDeployments.go @@ -41,14 +41,20 @@ type GetCpsDeploymentsResult struct { func GetCpsDeploymentsOutput(ctx *pulumi.Context, args GetCpsDeploymentsOutputArgs, opts ...pulumi.InvokeOption) GetCpsDeploymentsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCpsDeploymentsResult, error) { + ApplyT(func(v interface{}) (GetCpsDeploymentsResultOutput, error) { args := v.(GetCpsDeploymentsArgs) - r, err := GetCpsDeployments(ctx, &args, opts...) - var s GetCpsDeploymentsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCpsDeploymentsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCpsDeployments:getCpsDeployments", args, &rv, "", opts...) + if err != nil { + return GetCpsDeploymentsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCpsDeploymentsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCpsDeploymentsResultOutput), nil + } + return output, nil }).(GetCpsDeploymentsResultOutput) } diff --git a/sdk/go/akamai/getCpsWarnings.go b/sdk/go/akamai/getCpsWarnings.go index fc47c71d4..c30da4f77 100644 --- a/sdk/go/akamai/getCpsWarnings.go +++ b/sdk/go/akamai/getCpsWarnings.go @@ -29,13 +29,19 @@ type GetCpsWarningsResult struct { } func GetCpsWarningsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetCpsWarningsResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetCpsWarningsResult, error) { - r, err := GetCpsWarnings(ctx, opts...) - var s GetCpsWarningsResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetCpsWarningsResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCpsWarningsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getCpsWarnings:getCpsWarnings", nil, &rv, "", opts...) + if err != nil { + return GetCpsWarningsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCpsWarningsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCpsWarningsResultOutput), nil + } + return output, nil }).(GetCpsWarningsResultOutput) } diff --git a/sdk/go/akamai/getDatastreamActivationHistory.go b/sdk/go/akamai/getDatastreamActivationHistory.go index 2f35466c8..52e3524ed 100644 --- a/sdk/go/akamai/getDatastreamActivationHistory.go +++ b/sdk/go/akamai/getDatastreamActivationHistory.go @@ -36,14 +36,20 @@ type GetDatastreamActivationHistoryResult struct { func GetDatastreamActivationHistoryOutput(ctx *pulumi.Context, args GetDatastreamActivationHistoryOutputArgs, opts ...pulumi.InvokeOption) GetDatastreamActivationHistoryResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDatastreamActivationHistoryResult, error) { + ApplyT(func(v interface{}) (GetDatastreamActivationHistoryResultOutput, error) { args := v.(GetDatastreamActivationHistoryArgs) - r, err := GetDatastreamActivationHistory(ctx, &args, opts...) - var s GetDatastreamActivationHistoryResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDatastreamActivationHistoryResult + secret, err := ctx.InvokePackageRaw("akamai:index/getDatastreamActivationHistory:getDatastreamActivationHistory", args, &rv, "", opts...) + if err != nil { + return GetDatastreamActivationHistoryResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDatastreamActivationHistoryResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDatastreamActivationHistoryResultOutput), nil + } + return output, nil }).(GetDatastreamActivationHistoryResultOutput) } diff --git a/sdk/go/akamai/getDatastreamDatasetFields.go b/sdk/go/akamai/getDatastreamDatasetFields.go index 3032bf6d5..a373ffca1 100644 --- a/sdk/go/akamai/getDatastreamDatasetFields.go +++ b/sdk/go/akamai/getDatastreamDatasetFields.go @@ -36,14 +36,20 @@ type GetDatastreamDatasetFieldsResult struct { func GetDatastreamDatasetFieldsOutput(ctx *pulumi.Context, args GetDatastreamDatasetFieldsOutputArgs, opts ...pulumi.InvokeOption) GetDatastreamDatasetFieldsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDatastreamDatasetFieldsResult, error) { + ApplyT(func(v interface{}) (GetDatastreamDatasetFieldsResultOutput, error) { args := v.(GetDatastreamDatasetFieldsArgs) - r, err := GetDatastreamDatasetFields(ctx, &args, opts...) - var s GetDatastreamDatasetFieldsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDatastreamDatasetFieldsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getDatastreamDatasetFields:getDatastreamDatasetFields", args, &rv, "", opts...) + if err != nil { + return GetDatastreamDatasetFieldsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDatastreamDatasetFieldsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDatastreamDatasetFieldsResultOutput), nil + } + return output, nil }).(GetDatastreamDatasetFieldsResultOutput) } diff --git a/sdk/go/akamai/getDatastreams.go b/sdk/go/akamai/getDatastreams.go index e2527fd3b..45cc02370 100644 --- a/sdk/go/akamai/getDatastreams.go +++ b/sdk/go/akamai/getDatastreams.go @@ -36,14 +36,20 @@ type GetDatastreamsResult struct { func GetDatastreamsOutput(ctx *pulumi.Context, args GetDatastreamsOutputArgs, opts ...pulumi.InvokeOption) GetDatastreamsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDatastreamsResult, error) { + ApplyT(func(v interface{}) (GetDatastreamsResultOutput, error) { args := v.(GetDatastreamsArgs) - r, err := GetDatastreams(ctx, &args, opts...) - var s GetDatastreamsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDatastreamsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getDatastreams:getDatastreams", args, &rv, "", opts...) + if err != nil { + return GetDatastreamsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDatastreamsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDatastreamsResultOutput), nil + } + return output, nil }).(GetDatastreamsResultOutput) } diff --git a/sdk/go/akamai/getDnsRecordSet.go b/sdk/go/akamai/getDnsRecordSet.go index c50ace405..c20b48ec3 100644 --- a/sdk/go/akamai/getDnsRecordSet.go +++ b/sdk/go/akamai/getDnsRecordSet.go @@ -40,14 +40,20 @@ type GetDnsRecordSetResult struct { func GetDnsRecordSetOutput(ctx *pulumi.Context, args GetDnsRecordSetOutputArgs, opts ...pulumi.InvokeOption) GetDnsRecordSetResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetDnsRecordSetResult, error) { + ApplyT(func(v interface{}) (GetDnsRecordSetResultOutput, error) { args := v.(GetDnsRecordSetArgs) - r, err := GetDnsRecordSet(ctx, &args, opts...) - var s GetDnsRecordSetResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDnsRecordSetResult + secret, err := ctx.InvokePackageRaw("akamai:index/getDnsRecordSet:getDnsRecordSet", args, &rv, "", opts...) + if err != nil { + return GetDnsRecordSetResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetDnsRecordSetResultOutput) + if secret { + return pulumi.ToSecret(output).(GetDnsRecordSetResultOutput), nil + } + return output, nil }).(GetDnsRecordSetResultOutput) } diff --git a/sdk/go/akamai/getEdgeWorker.go b/sdk/go/akamai/getEdgeWorker.go index fe0528211..a64a744aa 100644 --- a/sdk/go/akamai/getEdgeWorker.go +++ b/sdk/go/akamai/getEdgeWorker.go @@ -43,14 +43,20 @@ type LookupEdgeWorkerResult struct { func LookupEdgeWorkerOutput(ctx *pulumi.Context, args LookupEdgeWorkerOutputArgs, opts ...pulumi.InvokeOption) LookupEdgeWorkerResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupEdgeWorkerResult, error) { + ApplyT(func(v interface{}) (LookupEdgeWorkerResultOutput, error) { args := v.(LookupEdgeWorkerArgs) - r, err := LookupEdgeWorker(ctx, &args, opts...) - var s LookupEdgeWorkerResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupEdgeWorkerResult + secret, err := ctx.InvokePackageRaw("akamai:index/getEdgeWorker:getEdgeWorker", args, &rv, "", opts...) + if err != nil { + return LookupEdgeWorkerResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupEdgeWorkerResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupEdgeWorkerResultOutput), nil + } + return output, nil }).(LookupEdgeWorkerResultOutput) } diff --git a/sdk/go/akamai/getEdgeWorkerActivation.go b/sdk/go/akamai/getEdgeWorkerActivation.go index 14b6dd69b..c423979d3 100644 --- a/sdk/go/akamai/getEdgeWorkerActivation.go +++ b/sdk/go/akamai/getEdgeWorkerActivation.go @@ -39,14 +39,20 @@ type GetEdgeWorkerActivationResult struct { func GetEdgeWorkerActivationOutput(ctx *pulumi.Context, args GetEdgeWorkerActivationOutputArgs, opts ...pulumi.InvokeOption) GetEdgeWorkerActivationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetEdgeWorkerActivationResult, error) { + ApplyT(func(v interface{}) (GetEdgeWorkerActivationResultOutput, error) { args := v.(GetEdgeWorkerActivationArgs) - r, err := GetEdgeWorkerActivation(ctx, &args, opts...) - var s GetEdgeWorkerActivationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEdgeWorkerActivationResult + secret, err := ctx.InvokePackageRaw("akamai:index/getEdgeWorkerActivation:getEdgeWorkerActivation", args, &rv, "", opts...) + if err != nil { + return GetEdgeWorkerActivationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetEdgeWorkerActivationResultOutput) + if secret { + return pulumi.ToSecret(output).(GetEdgeWorkerActivationResultOutput), nil + } + return output, nil }).(GetEdgeWorkerActivationResultOutput) } diff --git a/sdk/go/akamai/getEdgeWorkersPropertyRules.go b/sdk/go/akamai/getEdgeWorkersPropertyRules.go index 9596dd2da..c7ccebdec 100644 --- a/sdk/go/akamai/getEdgeWorkersPropertyRules.go +++ b/sdk/go/akamai/getEdgeWorkersPropertyRules.go @@ -36,14 +36,20 @@ type GetEdgeWorkersPropertyRulesResult struct { func GetEdgeWorkersPropertyRulesOutput(ctx *pulumi.Context, args GetEdgeWorkersPropertyRulesOutputArgs, opts ...pulumi.InvokeOption) GetEdgeWorkersPropertyRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetEdgeWorkersPropertyRulesResult, error) { + ApplyT(func(v interface{}) (GetEdgeWorkersPropertyRulesResultOutput, error) { args := v.(GetEdgeWorkersPropertyRulesArgs) - r, err := GetEdgeWorkersPropertyRules(ctx, &args, opts...) - var s GetEdgeWorkersPropertyRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEdgeWorkersPropertyRulesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getEdgeWorkersPropertyRules:getEdgeWorkersPropertyRules", args, &rv, "", opts...) + if err != nil { + return GetEdgeWorkersPropertyRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetEdgeWorkersPropertyRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetEdgeWorkersPropertyRulesResultOutput), nil + } + return output, nil }).(GetEdgeWorkersPropertyRulesResultOutput) } diff --git a/sdk/go/akamai/getEdgeWorkersResourceTier.go b/sdk/go/akamai/getEdgeWorkersResourceTier.go index 496cac97f..aaea78aa3 100644 --- a/sdk/go/akamai/getEdgeWorkersResourceTier.go +++ b/sdk/go/akamai/getEdgeWorkersResourceTier.go @@ -38,14 +38,20 @@ type GetEdgeWorkersResourceTierResult struct { func GetEdgeWorkersResourceTierOutput(ctx *pulumi.Context, args GetEdgeWorkersResourceTierOutputArgs, opts ...pulumi.InvokeOption) GetEdgeWorkersResourceTierResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetEdgeWorkersResourceTierResult, error) { + ApplyT(func(v interface{}) (GetEdgeWorkersResourceTierResultOutput, error) { args := v.(GetEdgeWorkersResourceTierArgs) - r, err := GetEdgeWorkersResourceTier(ctx, &args, opts...) - var s GetEdgeWorkersResourceTierResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEdgeWorkersResourceTierResult + secret, err := ctx.InvokePackageRaw("akamai:index/getEdgeWorkersResourceTier:getEdgeWorkersResourceTier", args, &rv, "", opts...) + if err != nil { + return GetEdgeWorkersResourceTierResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetEdgeWorkersResourceTierResultOutput) + if secret { + return pulumi.ToSecret(output).(GetEdgeWorkersResourceTierResultOutput), nil + } + return output, nil }).(GetEdgeWorkersResourceTierResultOutput) } diff --git a/sdk/go/akamai/getEdgekvGroupItems.go b/sdk/go/akamai/getEdgekvGroupItems.go index 4b311f54e..f1890e41d 100644 --- a/sdk/go/akamai/getEdgekvGroupItems.go +++ b/sdk/go/akamai/getEdgekvGroupItems.go @@ -40,14 +40,20 @@ type LookupEdgekvGroupItemsResult struct { func LookupEdgekvGroupItemsOutput(ctx *pulumi.Context, args LookupEdgekvGroupItemsOutputArgs, opts ...pulumi.InvokeOption) LookupEdgekvGroupItemsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupEdgekvGroupItemsResult, error) { + ApplyT(func(v interface{}) (LookupEdgekvGroupItemsResultOutput, error) { args := v.(LookupEdgekvGroupItemsArgs) - r, err := LookupEdgekvGroupItems(ctx, &args, opts...) - var s LookupEdgekvGroupItemsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupEdgekvGroupItemsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getEdgekvGroupItems:getEdgekvGroupItems", args, &rv, "", opts...) + if err != nil { + return LookupEdgekvGroupItemsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupEdgekvGroupItemsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupEdgekvGroupItemsResultOutput), nil + } + return output, nil }).(LookupEdgekvGroupItemsResultOutput) } diff --git a/sdk/go/akamai/getEdgekvGroups.go b/sdk/go/akamai/getEdgekvGroups.go index f7a5776d7..2034fe72a 100644 --- a/sdk/go/akamai/getEdgekvGroups.go +++ b/sdk/go/akamai/getEdgekvGroups.go @@ -38,14 +38,20 @@ type GetEdgekvGroupsResult struct { func GetEdgekvGroupsOutput(ctx *pulumi.Context, args GetEdgekvGroupsOutputArgs, opts ...pulumi.InvokeOption) GetEdgekvGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetEdgekvGroupsResult, error) { + ApplyT(func(v interface{}) (GetEdgekvGroupsResultOutput, error) { args := v.(GetEdgekvGroupsArgs) - r, err := GetEdgekvGroups(ctx, &args, opts...) - var s GetEdgekvGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEdgekvGroupsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getEdgekvGroups:getEdgekvGroups", args, &rv, "", opts...) + if err != nil { + return GetEdgekvGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetEdgekvGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetEdgekvGroupsResultOutput), nil + } + return output, nil }).(GetEdgekvGroupsResultOutput) } diff --git a/sdk/go/akamai/getGroup.go b/sdk/go/akamai/getGroup.go index 1bccd806d..be2731a32 100644 --- a/sdk/go/akamai/getGroup.go +++ b/sdk/go/akamai/getGroup.go @@ -37,14 +37,20 @@ type GetGroupResult struct { func GetGroupOutput(ctx *pulumi.Context, args GetGroupOutputArgs, opts ...pulumi.InvokeOption) GetGroupResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetGroupResult, error) { + ApplyT(func(v interface{}) (GetGroupResultOutput, error) { args := v.(GetGroupArgs) - r, err := GetGroup(ctx, &args, opts...) - var s GetGroupResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetGroupResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGroup:getGroup", args, &rv, "", opts...) + if err != nil { + return GetGroupResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetGroupResultOutput) + if secret { + return pulumi.ToSecret(output).(GetGroupResultOutput), nil + } + return output, nil }).(GetGroupResultOutput) } diff --git a/sdk/go/akamai/getGroups.go b/sdk/go/akamai/getGroups.go index c54eeb794..28db6ee32 100644 --- a/sdk/go/akamai/getGroups.go +++ b/sdk/go/akamai/getGroups.go @@ -29,13 +29,19 @@ type GetGroupsResult struct { } func GetGroupsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetGroupsResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetGroupsResult, error) { - r, err := GetGroups(ctx, opts...) - var s GetGroupsResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetGroupsResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetGroupsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGroups:getGroups", nil, &rv, "", opts...) + if err != nil { + return GetGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetGroupsResultOutput), nil + } + return output, nil }).(GetGroupsResultOutput) } diff --git a/sdk/go/akamai/getGtmAsmap.go b/sdk/go/akamai/getGtmAsmap.go index 0abca8fca..abb34ee72 100644 --- a/sdk/go/akamai/getGtmAsmap.go +++ b/sdk/go/akamai/getGtmAsmap.go @@ -43,14 +43,20 @@ type LookupGtmAsmapResult struct { func LookupGtmAsmapOutput(ctx *pulumi.Context, args LookupGtmAsmapOutputArgs, opts ...pulumi.InvokeOption) LookupGtmAsmapResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupGtmAsmapResult, error) { + ApplyT(func(v interface{}) (LookupGtmAsmapResultOutput, error) { args := v.(LookupGtmAsmapArgs) - r, err := LookupGtmAsmap(ctx, &args, opts...) - var s LookupGtmAsmapResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupGtmAsmapResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmAsmap:getGtmAsmap", args, &rv, "", opts...) + if err != nil { + return LookupGtmAsmapResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupGtmAsmapResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGtmAsmapResultOutput), nil + } + return output, nil }).(LookupGtmAsmapResultOutput) } diff --git a/sdk/go/akamai/getGtmCidrmap.go b/sdk/go/akamai/getGtmCidrmap.go index 34e350305..6776374d2 100644 --- a/sdk/go/akamai/getGtmCidrmap.go +++ b/sdk/go/akamai/getGtmCidrmap.go @@ -43,14 +43,20 @@ type LookupGtmCidrmapResult struct { func LookupGtmCidrmapOutput(ctx *pulumi.Context, args LookupGtmCidrmapOutputArgs, opts ...pulumi.InvokeOption) LookupGtmCidrmapResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupGtmCidrmapResult, error) { + ApplyT(func(v interface{}) (LookupGtmCidrmapResultOutput, error) { args := v.(LookupGtmCidrmapArgs) - r, err := LookupGtmCidrmap(ctx, &args, opts...) - var s LookupGtmCidrmapResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupGtmCidrmapResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmCidrmap:getGtmCidrmap", args, &rv, "", opts...) + if err != nil { + return LookupGtmCidrmapResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupGtmCidrmapResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGtmCidrmapResultOutput), nil + } + return output, nil }).(LookupGtmCidrmapResultOutput) } diff --git a/sdk/go/akamai/getGtmDatacenter.go b/sdk/go/akamai/getGtmDatacenter.go index b5ef3166b..7ad5700d8 100644 --- a/sdk/go/akamai/getGtmDatacenter.go +++ b/sdk/go/akamai/getGtmDatacenter.go @@ -52,14 +52,20 @@ type LookupGtmDatacenterResult struct { func LookupGtmDatacenterOutput(ctx *pulumi.Context, args LookupGtmDatacenterOutputArgs, opts ...pulumi.InvokeOption) LookupGtmDatacenterResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupGtmDatacenterResult, error) { + ApplyT(func(v interface{}) (LookupGtmDatacenterResultOutput, error) { args := v.(LookupGtmDatacenterArgs) - r, err := LookupGtmDatacenter(ctx, &args, opts...) - var s LookupGtmDatacenterResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupGtmDatacenterResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmDatacenter:getGtmDatacenter", args, &rv, "", opts...) + if err != nil { + return LookupGtmDatacenterResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupGtmDatacenterResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGtmDatacenterResultOutput), nil + } + return output, nil }).(LookupGtmDatacenterResultOutput) } diff --git a/sdk/go/akamai/getGtmDatacenters.go b/sdk/go/akamai/getGtmDatacenters.go index 7e9e73999..f3d18b296 100644 --- a/sdk/go/akamai/getGtmDatacenters.go +++ b/sdk/go/akamai/getGtmDatacenters.go @@ -36,14 +36,20 @@ type GetGtmDatacentersResult struct { func GetGtmDatacentersOutput(ctx *pulumi.Context, args GetGtmDatacentersOutputArgs, opts ...pulumi.InvokeOption) GetGtmDatacentersResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetGtmDatacentersResult, error) { + ApplyT(func(v interface{}) (GetGtmDatacentersResultOutput, error) { args := v.(GetGtmDatacentersArgs) - r, err := GetGtmDatacenters(ctx, &args, opts...) - var s GetGtmDatacentersResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetGtmDatacentersResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmDatacenters:getGtmDatacenters", args, &rv, "", opts...) + if err != nil { + return GetGtmDatacentersResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetGtmDatacentersResultOutput) + if secret { + return pulumi.ToSecret(output).(GetGtmDatacentersResultOutput), nil + } + return output, nil }).(GetGtmDatacentersResultOutput) } diff --git a/sdk/go/akamai/getGtmDefaultDatacenter.go b/sdk/go/akamai/getGtmDefaultDatacenter.go index b9ac95331..2670a0686 100644 --- a/sdk/go/akamai/getGtmDefaultDatacenter.go +++ b/sdk/go/akamai/getGtmDefaultDatacenter.go @@ -39,14 +39,20 @@ type GetGtmDefaultDatacenterResult struct { func GetGtmDefaultDatacenterOutput(ctx *pulumi.Context, args GetGtmDefaultDatacenterOutputArgs, opts ...pulumi.InvokeOption) GetGtmDefaultDatacenterResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetGtmDefaultDatacenterResult, error) { + ApplyT(func(v interface{}) (GetGtmDefaultDatacenterResultOutput, error) { args := v.(GetGtmDefaultDatacenterArgs) - r, err := GetGtmDefaultDatacenter(ctx, &args, opts...) - var s GetGtmDefaultDatacenterResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetGtmDefaultDatacenterResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmDefaultDatacenter:getGtmDefaultDatacenter", args, &rv, "", opts...) + if err != nil { + return GetGtmDefaultDatacenterResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetGtmDefaultDatacenterResultOutput) + if secret { + return pulumi.ToSecret(output).(GetGtmDefaultDatacenterResultOutput), nil + } + return output, nil }).(GetGtmDefaultDatacenterResultOutput) } diff --git a/sdk/go/akamai/getGtmDomain.go b/sdk/go/akamai/getGtmDomain.go index 8d776f146..379b84d3b 100644 --- a/sdk/go/akamai/getGtmDomain.go +++ b/sdk/go/akamai/getGtmDomain.go @@ -80,14 +80,20 @@ type LookupGtmDomainResult struct { func LookupGtmDomainOutput(ctx *pulumi.Context, args LookupGtmDomainOutputArgs, opts ...pulumi.InvokeOption) LookupGtmDomainResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupGtmDomainResult, error) { + ApplyT(func(v interface{}) (LookupGtmDomainResultOutput, error) { args := v.(LookupGtmDomainArgs) - r, err := LookupGtmDomain(ctx, &args, opts...) - var s LookupGtmDomainResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupGtmDomainResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmDomain:getGtmDomain", args, &rv, "", opts...) + if err != nil { + return LookupGtmDomainResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupGtmDomainResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGtmDomainResultOutput), nil + } + return output, nil }).(LookupGtmDomainResultOutput) } diff --git a/sdk/go/akamai/getGtmDomains.go b/sdk/go/akamai/getGtmDomains.go index 15db9d3fc..998879600 100644 --- a/sdk/go/akamai/getGtmDomains.go +++ b/sdk/go/akamai/getGtmDomains.go @@ -35,14 +35,20 @@ type GetGtmDomainsResult struct { func GetGtmDomainsOutput(ctx *pulumi.Context, args GetGtmDomainsOutputArgs, opts ...pulumi.InvokeOption) GetGtmDomainsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetGtmDomainsResult, error) { + ApplyT(func(v interface{}) (GetGtmDomainsResultOutput, error) { args := v.(GetGtmDomainsArgs) - r, err := GetGtmDomains(ctx, &args, opts...) - var s GetGtmDomainsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetGtmDomainsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmDomains:getGtmDomains", args, &rv, "", opts...) + if err != nil { + return GetGtmDomainsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetGtmDomainsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetGtmDomainsResultOutput), nil + } + return output, nil }).(GetGtmDomainsResultOutput) } diff --git a/sdk/go/akamai/getGtmResource.go b/sdk/go/akamai/getGtmResource.go index 343cba366..8c29ca946 100644 --- a/sdk/go/akamai/getGtmResource.go +++ b/sdk/go/akamai/getGtmResource.go @@ -51,14 +51,20 @@ type LookupGtmResourceResult struct { func LookupGtmResourceOutput(ctx *pulumi.Context, args LookupGtmResourceOutputArgs, opts ...pulumi.InvokeOption) LookupGtmResourceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupGtmResourceResult, error) { + ApplyT(func(v interface{}) (LookupGtmResourceResultOutput, error) { args := v.(LookupGtmResourceArgs) - r, err := LookupGtmResource(ctx, &args, opts...) - var s LookupGtmResourceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupGtmResourceResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmResource:getGtmResource", args, &rv, "", opts...) + if err != nil { + return LookupGtmResourceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupGtmResourceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGtmResourceResultOutput), nil + } + return output, nil }).(LookupGtmResourceResultOutput) } diff --git a/sdk/go/akamai/getGtmResources.go b/sdk/go/akamai/getGtmResources.go index 016c27aad..696176817 100644 --- a/sdk/go/akamai/getGtmResources.go +++ b/sdk/go/akamai/getGtmResources.go @@ -37,14 +37,20 @@ type GetGtmResourcesResult struct { func GetGtmResourcesOutput(ctx *pulumi.Context, args GetGtmResourcesOutputArgs, opts ...pulumi.InvokeOption) GetGtmResourcesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetGtmResourcesResult, error) { + ApplyT(func(v interface{}) (GetGtmResourcesResultOutput, error) { args := v.(GetGtmResourcesArgs) - r, err := GetGtmResources(ctx, &args, opts...) - var s GetGtmResourcesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetGtmResourcesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getGtmResources:getGtmResources", args, &rv, "", opts...) + if err != nil { + return GetGtmResourcesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetGtmResourcesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetGtmResourcesResultOutput), nil + } + return output, nil }).(GetGtmResourcesResultOutput) } diff --git a/sdk/go/akamai/getIamContactTypes.go b/sdk/go/akamai/getIamContactTypes.go index cabdaa2ce..69e2e43ee 100644 --- a/sdk/go/akamai/getIamContactTypes.go +++ b/sdk/go/akamai/getIamContactTypes.go @@ -29,13 +29,19 @@ type GetIamContactTypesResult struct { } func GetIamContactTypesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIamContactTypesResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetIamContactTypesResult, error) { - r, err := GetIamContactTypes(ctx, opts...) - var s GetIamContactTypesResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetIamContactTypesResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamContactTypesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getIamContactTypes:getIamContactTypes", nil, &rv, "", opts...) + if err != nil { + return GetIamContactTypesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIamContactTypesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIamContactTypesResultOutput), nil + } + return output, nil }).(GetIamContactTypesResultOutput) } diff --git a/sdk/go/akamai/getIamCountries.go b/sdk/go/akamai/getIamCountries.go index eb8b9cd00..cd5e33b0d 100644 --- a/sdk/go/akamai/getIamCountries.go +++ b/sdk/go/akamai/getIamCountries.go @@ -29,13 +29,19 @@ type GetIamCountriesResult struct { } func GetIamCountriesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIamCountriesResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetIamCountriesResult, error) { - r, err := GetIamCountries(ctx, opts...) - var s GetIamCountriesResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetIamCountriesResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamCountriesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getIamCountries:getIamCountries", nil, &rv, "", opts...) + if err != nil { + return GetIamCountriesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIamCountriesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIamCountriesResultOutput), nil + } + return output, nil }).(GetIamCountriesResultOutput) } diff --git a/sdk/go/akamai/getIamGrantableRoles.go b/sdk/go/akamai/getIamGrantableRoles.go index a82878bd2..1d124c19b 100644 --- a/sdk/go/akamai/getIamGrantableRoles.go +++ b/sdk/go/akamai/getIamGrantableRoles.go @@ -29,13 +29,19 @@ type GetIamGrantableRolesResult struct { } func GetIamGrantableRolesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIamGrantableRolesResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetIamGrantableRolesResult, error) { - r, err := GetIamGrantableRoles(ctx, opts...) - var s GetIamGrantableRolesResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetIamGrantableRolesResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamGrantableRolesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getIamGrantableRoles:getIamGrantableRoles", nil, &rv, "", opts...) + if err != nil { + return GetIamGrantableRolesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIamGrantableRolesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIamGrantableRolesResultOutput), nil + } + return output, nil }).(GetIamGrantableRolesResultOutput) } diff --git a/sdk/go/akamai/getIamRoles.go b/sdk/go/akamai/getIamRoles.go index e897bfd3a..aa73ff7a9 100644 --- a/sdk/go/akamai/getIamRoles.go +++ b/sdk/go/akamai/getIamRoles.go @@ -29,13 +29,19 @@ type GetIamRolesResult struct { } func GetIamRolesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIamRolesResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetIamRolesResult, error) { - r, err := GetIamRoles(ctx, opts...) - var s GetIamRolesResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetIamRolesResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamRolesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getIamRoles:getIamRoles", nil, &rv, "", opts...) + if err != nil { + return GetIamRolesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIamRolesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIamRolesResultOutput), nil + } + return output, nil }).(GetIamRolesResultOutput) } diff --git a/sdk/go/akamai/getIamStates.go b/sdk/go/akamai/getIamStates.go index dcc77c574..d8f4c0d4b 100644 --- a/sdk/go/akamai/getIamStates.go +++ b/sdk/go/akamai/getIamStates.go @@ -36,14 +36,20 @@ type GetIamStatesResult struct { func GetIamStatesOutput(ctx *pulumi.Context, args GetIamStatesOutputArgs, opts ...pulumi.InvokeOption) GetIamStatesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetIamStatesResult, error) { + ApplyT(func(v interface{}) (GetIamStatesResultOutput, error) { args := v.(GetIamStatesArgs) - r, err := GetIamStates(ctx, &args, opts...) - var s GetIamStatesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamStatesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getIamStates:getIamStates", args, &rv, "", opts...) + if err != nil { + return GetIamStatesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIamStatesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIamStatesResultOutput), nil + } + return output, nil }).(GetIamStatesResultOutput) } diff --git a/sdk/go/akamai/getIamSupportedLangs.go b/sdk/go/akamai/getIamSupportedLangs.go index a7c80a21b..46e29729e 100644 --- a/sdk/go/akamai/getIamSupportedLangs.go +++ b/sdk/go/akamai/getIamSupportedLangs.go @@ -29,13 +29,19 @@ type GetIamSupportedLangsResult struct { } func GetIamSupportedLangsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIamSupportedLangsResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetIamSupportedLangsResult, error) { - r, err := GetIamSupportedLangs(ctx, opts...) - var s GetIamSupportedLangsResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetIamSupportedLangsResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamSupportedLangsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getIamSupportedLangs:getIamSupportedLangs", nil, &rv, "", opts...) + if err != nil { + return GetIamSupportedLangsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIamSupportedLangsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIamSupportedLangsResultOutput), nil + } + return output, nil }).(GetIamSupportedLangsResultOutput) } diff --git a/sdk/go/akamai/getIamTimeoutPolicies.go b/sdk/go/akamai/getIamTimeoutPolicies.go index ef2f54b4e..94ee72ece 100644 --- a/sdk/go/akamai/getIamTimeoutPolicies.go +++ b/sdk/go/akamai/getIamTimeoutPolicies.go @@ -29,13 +29,19 @@ type GetIamTimeoutPoliciesResult struct { } func GetIamTimeoutPoliciesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIamTimeoutPoliciesResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetIamTimeoutPoliciesResult, error) { - r, err := GetIamTimeoutPolicies(ctx, opts...) - var s GetIamTimeoutPoliciesResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetIamTimeoutPoliciesResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamTimeoutPoliciesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getIamTimeoutPolicies:getIamTimeoutPolicies", nil, &rv, "", opts...) + if err != nil { + return GetIamTimeoutPoliciesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIamTimeoutPoliciesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIamTimeoutPoliciesResultOutput), nil + } + return output, nil }).(GetIamTimeoutPoliciesResultOutput) } diff --git a/sdk/go/akamai/getIamTimezones.go b/sdk/go/akamai/getIamTimezones.go index 3b93aa416..3cf8a5593 100644 --- a/sdk/go/akamai/getIamTimezones.go +++ b/sdk/go/akamai/getIamTimezones.go @@ -29,13 +29,19 @@ type GetIamTimezonesResult struct { } func GetIamTimezonesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIamTimezonesResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetIamTimezonesResult, error) { - r, err := GetIamTimezones(ctx, opts...) - var s GetIamTimezonesResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetIamTimezonesResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamTimezonesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getIamTimezones:getIamTimezones", nil, &rv, "", opts...) + if err != nil { + return GetIamTimezonesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIamTimezonesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIamTimezonesResultOutput), nil + } + return output, nil }).(GetIamTimezonesResultOutput) } diff --git a/sdk/go/akamai/getImagingPolicyImage.go b/sdk/go/akamai/getImagingPolicyImage.go index fe660ddab..4edbf339e 100644 --- a/sdk/go/akamai/getImagingPolicyImage.go +++ b/sdk/go/akamai/getImagingPolicyImage.go @@ -36,14 +36,20 @@ type LookupImagingPolicyImageResult struct { func LookupImagingPolicyImageOutput(ctx *pulumi.Context, args LookupImagingPolicyImageOutputArgs, opts ...pulumi.InvokeOption) LookupImagingPolicyImageResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupImagingPolicyImageResult, error) { + ApplyT(func(v interface{}) (LookupImagingPolicyImageResultOutput, error) { args := v.(LookupImagingPolicyImageArgs) - r, err := LookupImagingPolicyImage(ctx, &args, opts...) - var s LookupImagingPolicyImageResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupImagingPolicyImageResult + secret, err := ctx.InvokePackageRaw("akamai:index/getImagingPolicyImage:getImagingPolicyImage", args, &rv, "", opts...) + if err != nil { + return LookupImagingPolicyImageResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupImagingPolicyImageResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupImagingPolicyImageResultOutput), nil + } + return output, nil }).(LookupImagingPolicyImageResultOutput) } diff --git a/sdk/go/akamai/getImagingPolicyVideo.go b/sdk/go/akamai/getImagingPolicyVideo.go index 0d608700d..ebe7272f1 100644 --- a/sdk/go/akamai/getImagingPolicyVideo.go +++ b/sdk/go/akamai/getImagingPolicyVideo.go @@ -36,14 +36,20 @@ type LookupImagingPolicyVideoResult struct { func LookupImagingPolicyVideoOutput(ctx *pulumi.Context, args LookupImagingPolicyVideoOutputArgs, opts ...pulumi.InvokeOption) LookupImagingPolicyVideoResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupImagingPolicyVideoResult, error) { + ApplyT(func(v interface{}) (LookupImagingPolicyVideoResultOutput, error) { args := v.(LookupImagingPolicyVideoArgs) - r, err := LookupImagingPolicyVideo(ctx, &args, opts...) - var s LookupImagingPolicyVideoResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupImagingPolicyVideoResult + secret, err := ctx.InvokePackageRaw("akamai:index/getImagingPolicyVideo:getImagingPolicyVideo", args, &rv, "", opts...) + if err != nil { + return LookupImagingPolicyVideoResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupImagingPolicyVideoResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupImagingPolicyVideoResultOutput), nil + } + return output, nil }).(LookupImagingPolicyVideoResultOutput) } diff --git a/sdk/go/akamai/getNetworkLists.go b/sdk/go/akamai/getNetworkLists.go index dfd4ba1dc..611be89f2 100644 --- a/sdk/go/akamai/getNetworkLists.go +++ b/sdk/go/akamai/getNetworkLists.go @@ -45,14 +45,20 @@ type GetNetworkListsResult struct { func GetNetworkListsOutput(ctx *pulumi.Context, args GetNetworkListsOutputArgs, opts ...pulumi.InvokeOption) GetNetworkListsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNetworkListsResult, error) { + ApplyT(func(v interface{}) (GetNetworkListsResultOutput, error) { args := v.(GetNetworkListsArgs) - r, err := GetNetworkLists(ctx, &args, opts...) - var s GetNetworkListsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetNetworkListsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getNetworkLists:getNetworkLists", args, &rv, "", opts...) + if err != nil { + return GetNetworkListsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetNetworkListsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetNetworkListsResultOutput), nil + } + return output, nil }).(GetNetworkListsResultOutput) } diff --git a/sdk/go/akamai/getProperties.go b/sdk/go/akamai/getProperties.go index 84037d6aa..48d1e15ee 100644 --- a/sdk/go/akamai/getProperties.go +++ b/sdk/go/akamai/getProperties.go @@ -38,14 +38,20 @@ type GetPropertiesResult struct { func GetPropertiesOutput(ctx *pulumi.Context, args GetPropertiesOutputArgs, opts ...pulumi.InvokeOption) GetPropertiesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertiesResult, error) { + ApplyT(func(v interface{}) (GetPropertiesResultOutput, error) { args := v.(GetPropertiesArgs) - r, err := GetProperties(ctx, &args, opts...) - var s GetPropertiesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertiesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getProperties:getProperties", args, &rv, "", opts...) + if err != nil { + return GetPropertiesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertiesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertiesResultOutput), nil + } + return output, nil }).(GetPropertiesResultOutput) } diff --git a/sdk/go/akamai/getPropertiesSearch.go b/sdk/go/akamai/getPropertiesSearch.go index 89292f8dd..eaa655595 100644 --- a/sdk/go/akamai/getPropertiesSearch.go +++ b/sdk/go/akamai/getPropertiesSearch.go @@ -38,14 +38,20 @@ type GetPropertiesSearchResult struct { func GetPropertiesSearchOutput(ctx *pulumi.Context, args GetPropertiesSearchOutputArgs, opts ...pulumi.InvokeOption) GetPropertiesSearchResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertiesSearchResult, error) { + ApplyT(func(v interface{}) (GetPropertiesSearchResultOutput, error) { args := v.(GetPropertiesSearchArgs) - r, err := GetPropertiesSearch(ctx, &args, opts...) - var s GetPropertiesSearchResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertiesSearchResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertiesSearch:getPropertiesSearch", args, &rv, "", opts...) + if err != nil { + return GetPropertiesSearchResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertiesSearchResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertiesSearchResultOutput), nil + } + return output, nil }).(GetPropertiesSearchResultOutput) } diff --git a/sdk/go/akamai/getProperty.go b/sdk/go/akamai/getProperty.go index 3fb07757e..c44712582 100644 --- a/sdk/go/akamai/getProperty.go +++ b/sdk/go/akamai/getProperty.go @@ -47,14 +47,20 @@ type LookupPropertyResult struct { func LookupPropertyOutput(ctx *pulumi.Context, args LookupPropertyOutputArgs, opts ...pulumi.InvokeOption) LookupPropertyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupPropertyResult, error) { + ApplyT(func(v interface{}) (LookupPropertyResultOutput, error) { args := v.(LookupPropertyArgs) - r, err := LookupProperty(ctx, &args, opts...) - var s LookupPropertyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupPropertyResult + secret, err := ctx.InvokePackageRaw("akamai:index/getProperty:getProperty", args, &rv, "", opts...) + if err != nil { + return LookupPropertyResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupPropertyResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupPropertyResultOutput), nil + } + return output, nil }).(LookupPropertyResultOutput) } diff --git a/sdk/go/akamai/getPropertyActivation.go b/sdk/go/akamai/getPropertyActivation.go index 87e542a7f..2a9575edc 100644 --- a/sdk/go/akamai/getPropertyActivation.go +++ b/sdk/go/akamai/getPropertyActivation.go @@ -45,14 +45,20 @@ type LookupPropertyActivationResult struct { func LookupPropertyActivationOutput(ctx *pulumi.Context, args LookupPropertyActivationOutputArgs, opts ...pulumi.InvokeOption) LookupPropertyActivationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupPropertyActivationResult, error) { + ApplyT(func(v interface{}) (LookupPropertyActivationResultOutput, error) { args := v.(LookupPropertyActivationArgs) - r, err := LookupPropertyActivation(ctx, &args, opts...) - var s LookupPropertyActivationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupPropertyActivationResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyActivation:getPropertyActivation", args, &rv, "", opts...) + if err != nil { + return LookupPropertyActivationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupPropertyActivationResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupPropertyActivationResultOutput), nil + } + return output, nil }).(LookupPropertyActivationResultOutput) } diff --git a/sdk/go/akamai/getPropertyHostnames.go b/sdk/go/akamai/getPropertyHostnames.go index a4e03332d..0e299cf26 100644 --- a/sdk/go/akamai/getPropertyHostnames.go +++ b/sdk/go/akamai/getPropertyHostnames.go @@ -42,14 +42,20 @@ type GetPropertyHostnamesResult struct { func GetPropertyHostnamesOutput(ctx *pulumi.Context, args GetPropertyHostnamesOutputArgs, opts ...pulumi.InvokeOption) GetPropertyHostnamesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertyHostnamesResult, error) { + ApplyT(func(v interface{}) (GetPropertyHostnamesResultOutput, error) { args := v.(GetPropertyHostnamesArgs) - r, err := GetPropertyHostnames(ctx, &args, opts...) - var s GetPropertyHostnamesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyHostnamesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyHostnames:getPropertyHostnames", args, &rv, "", opts...) + if err != nil { + return GetPropertyHostnamesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyHostnamesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyHostnamesResultOutput), nil + } + return output, nil }).(GetPropertyHostnamesResultOutput) } diff --git a/sdk/go/akamai/getPropertyInclude.go b/sdk/go/akamai/getPropertyInclude.go index ec800a827..0918fc389 100644 --- a/sdk/go/akamai/getPropertyInclude.go +++ b/sdk/go/akamai/getPropertyInclude.go @@ -43,14 +43,20 @@ type LookupPropertyIncludeResult struct { func LookupPropertyIncludeOutput(ctx *pulumi.Context, args LookupPropertyIncludeOutputArgs, opts ...pulumi.InvokeOption) LookupPropertyIncludeResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupPropertyIncludeResult, error) { + ApplyT(func(v interface{}) (LookupPropertyIncludeResultOutput, error) { args := v.(LookupPropertyIncludeArgs) - r, err := LookupPropertyInclude(ctx, &args, opts...) - var s LookupPropertyIncludeResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupPropertyIncludeResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyInclude:getPropertyInclude", args, &rv, "", opts...) + if err != nil { + return LookupPropertyIncludeResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupPropertyIncludeResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupPropertyIncludeResultOutput), nil + } + return output, nil }).(LookupPropertyIncludeResultOutput) } diff --git a/sdk/go/akamai/getPropertyIncludeActivation.go b/sdk/go/akamai/getPropertyIncludeActivation.go index 7ec22ef6f..19ff1e1bf 100644 --- a/sdk/go/akamai/getPropertyIncludeActivation.go +++ b/sdk/go/akamai/getPropertyIncludeActivation.go @@ -45,14 +45,20 @@ type LookupPropertyIncludeActivationResult struct { func LookupPropertyIncludeActivationOutput(ctx *pulumi.Context, args LookupPropertyIncludeActivationOutputArgs, opts ...pulumi.InvokeOption) LookupPropertyIncludeActivationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupPropertyIncludeActivationResult, error) { + ApplyT(func(v interface{}) (LookupPropertyIncludeActivationResultOutput, error) { args := v.(LookupPropertyIncludeActivationArgs) - r, err := LookupPropertyIncludeActivation(ctx, &args, opts...) - var s LookupPropertyIncludeActivationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupPropertyIncludeActivationResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyIncludeActivation:getPropertyIncludeActivation", args, &rv, "", opts...) + if err != nil { + return LookupPropertyIncludeActivationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupPropertyIncludeActivationResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupPropertyIncludeActivationResultOutput), nil + } + return output, nil }).(LookupPropertyIncludeActivationResultOutput) } diff --git a/sdk/go/akamai/getPropertyIncludeParents.go b/sdk/go/akamai/getPropertyIncludeParents.go index 59b444b74..ca45e5a5f 100644 --- a/sdk/go/akamai/getPropertyIncludeParents.go +++ b/sdk/go/akamai/getPropertyIncludeParents.go @@ -40,14 +40,20 @@ type GetPropertyIncludeParentsResult struct { func GetPropertyIncludeParentsOutput(ctx *pulumi.Context, args GetPropertyIncludeParentsOutputArgs, opts ...pulumi.InvokeOption) GetPropertyIncludeParentsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertyIncludeParentsResult, error) { + ApplyT(func(v interface{}) (GetPropertyIncludeParentsResultOutput, error) { args := v.(GetPropertyIncludeParentsArgs) - r, err := GetPropertyIncludeParents(ctx, &args, opts...) - var s GetPropertyIncludeParentsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyIncludeParentsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyIncludeParents:getPropertyIncludeParents", args, &rv, "", opts...) + if err != nil { + return GetPropertyIncludeParentsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyIncludeParentsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyIncludeParentsResultOutput), nil + } + return output, nil }).(GetPropertyIncludeParentsResultOutput) } diff --git a/sdk/go/akamai/getPropertyIncludeRules.go b/sdk/go/akamai/getPropertyIncludeRules.go index 067fea327..0590bf36b 100644 --- a/sdk/go/akamai/getPropertyIncludeRules.go +++ b/sdk/go/akamai/getPropertyIncludeRules.go @@ -47,14 +47,20 @@ type GetPropertyIncludeRulesResult struct { func GetPropertyIncludeRulesOutput(ctx *pulumi.Context, args GetPropertyIncludeRulesOutputArgs, opts ...pulumi.InvokeOption) GetPropertyIncludeRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertyIncludeRulesResult, error) { + ApplyT(func(v interface{}) (GetPropertyIncludeRulesResultOutput, error) { args := v.(GetPropertyIncludeRulesArgs) - r, err := GetPropertyIncludeRules(ctx, &args, opts...) - var s GetPropertyIncludeRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyIncludeRulesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyIncludeRules:getPropertyIncludeRules", args, &rv, "", opts...) + if err != nil { + return GetPropertyIncludeRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyIncludeRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyIncludeRulesResultOutput), nil + } + return output, nil }).(GetPropertyIncludeRulesResultOutput) } diff --git a/sdk/go/akamai/getPropertyIncludes.go b/sdk/go/akamai/getPropertyIncludes.go index 45663a314..8a332dfa1 100644 --- a/sdk/go/akamai/getPropertyIncludes.go +++ b/sdk/go/akamai/getPropertyIncludes.go @@ -42,14 +42,20 @@ type GetPropertyIncludesResult struct { func GetPropertyIncludesOutput(ctx *pulumi.Context, args GetPropertyIncludesOutputArgs, opts ...pulumi.InvokeOption) GetPropertyIncludesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertyIncludesResult, error) { + ApplyT(func(v interface{}) (GetPropertyIncludesResultOutput, error) { args := v.(GetPropertyIncludesArgs) - r, err := GetPropertyIncludes(ctx, &args, opts...) - var s GetPropertyIncludesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyIncludesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyIncludes:getPropertyIncludes", args, &rv, "", opts...) + if err != nil { + return GetPropertyIncludesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyIncludesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyIncludesResultOutput), nil + } + return output, nil }).(GetPropertyIncludesResultOutput) } diff --git a/sdk/go/akamai/getPropertyProducts.go b/sdk/go/akamai/getPropertyProducts.go index 594565b3c..5374ec182 100644 --- a/sdk/go/akamai/getPropertyProducts.go +++ b/sdk/go/akamai/getPropertyProducts.go @@ -36,14 +36,20 @@ type GetPropertyProductsResult struct { func GetPropertyProductsOutput(ctx *pulumi.Context, args GetPropertyProductsOutputArgs, opts ...pulumi.InvokeOption) GetPropertyProductsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertyProductsResult, error) { + ApplyT(func(v interface{}) (GetPropertyProductsResultOutput, error) { args := v.(GetPropertyProductsArgs) - r, err := GetPropertyProducts(ctx, &args, opts...) - var s GetPropertyProductsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyProductsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyProducts:getPropertyProducts", args, &rv, "", opts...) + if err != nil { + return GetPropertyProductsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyProductsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyProductsResultOutput), nil + } + return output, nil }).(GetPropertyProductsResultOutput) } diff --git a/sdk/go/akamai/getPropertyRuleFormats.go b/sdk/go/akamai/getPropertyRuleFormats.go index 9b74f0055..d35da7d48 100644 --- a/sdk/go/akamai/getPropertyRuleFormats.go +++ b/sdk/go/akamai/getPropertyRuleFormats.go @@ -29,13 +29,19 @@ type GetPropertyRuleFormatsResult struct { } func GetPropertyRuleFormatsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetPropertyRuleFormatsResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (GetPropertyRuleFormatsResult, error) { - r, err := GetPropertyRuleFormats(ctx, opts...) - var s GetPropertyRuleFormatsResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (GetPropertyRuleFormatsResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyRuleFormatsResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyRuleFormats:getPropertyRuleFormats", nil, &rv, "", opts...) + if err != nil { + return GetPropertyRuleFormatsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyRuleFormatsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyRuleFormatsResultOutput), nil + } + return output, nil }).(GetPropertyRuleFormatsResultOutput) } diff --git a/sdk/go/akamai/getPropertyRules.go b/sdk/go/akamai/getPropertyRules.go index 0358ecb52..ea4d586cd 100644 --- a/sdk/go/akamai/getPropertyRules.go +++ b/sdk/go/akamai/getPropertyRules.go @@ -45,14 +45,20 @@ type GetPropertyRulesResult struct { func GetPropertyRulesOutput(ctx *pulumi.Context, args GetPropertyRulesOutputArgs, opts ...pulumi.InvokeOption) GetPropertyRulesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertyRulesResult, error) { + ApplyT(func(v interface{}) (GetPropertyRulesResultOutput, error) { args := v.(GetPropertyRulesArgs) - r, err := GetPropertyRules(ctx, &args, opts...) - var s GetPropertyRulesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyRulesResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyRules:getPropertyRules", args, &rv, "", opts...) + if err != nil { + return GetPropertyRulesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyRulesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyRulesResultOutput), nil + } + return output, nil }).(GetPropertyRulesResultOutput) } diff --git a/sdk/go/akamai/getPropertyRulesBuilder.go b/sdk/go/akamai/getPropertyRulesBuilder.go index 6d1a67a8d..14849e55b 100644 --- a/sdk/go/akamai/getPropertyRulesBuilder.go +++ b/sdk/go/akamai/getPropertyRulesBuilder.go @@ -47,14 +47,20 @@ type GetPropertyRulesBuilderResult struct { func GetPropertyRulesBuilderOutput(ctx *pulumi.Context, args GetPropertyRulesBuilderOutputArgs, opts ...pulumi.InvokeOption) GetPropertyRulesBuilderResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertyRulesBuilderResult, error) { + ApplyT(func(v interface{}) (GetPropertyRulesBuilderResultOutput, error) { args := v.(GetPropertyRulesBuilderArgs) - r, err := GetPropertyRulesBuilder(ctx, &args, opts...) - var s GetPropertyRulesBuilderResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyRulesBuilderResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyRulesBuilder:getPropertyRulesBuilder", args, &rv, "", opts...) + if err != nil { + return GetPropertyRulesBuilderResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyRulesBuilderResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyRulesBuilderResultOutput), nil + } + return output, nil }).(GetPropertyRulesBuilderResultOutput) } diff --git a/sdk/go/akamai/getPropertyRulesTemplate.go b/sdk/go/akamai/getPropertyRulesTemplate.go index f3c475062..6ae90edcf 100644 --- a/sdk/go/akamai/getPropertyRulesTemplate.go +++ b/sdk/go/akamai/getPropertyRulesTemplate.go @@ -44,14 +44,20 @@ type GetPropertyRulesTemplateResult struct { func GetPropertyRulesTemplateOutput(ctx *pulumi.Context, args GetPropertyRulesTemplateOutputArgs, opts ...pulumi.InvokeOption) GetPropertyRulesTemplateResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPropertyRulesTemplateResult, error) { + ApplyT(func(v interface{}) (GetPropertyRulesTemplateResultOutput, error) { args := v.(GetPropertyRulesTemplateArgs) - r, err := GetPropertyRulesTemplate(ctx, &args, opts...) - var s GetPropertyRulesTemplateResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPropertyRulesTemplateResult + secret, err := ctx.InvokePackageRaw("akamai:index/getPropertyRulesTemplate:getPropertyRulesTemplate", args, &rv, "", opts...) + if err != nil { + return GetPropertyRulesTemplateResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPropertyRulesTemplateResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPropertyRulesTemplateResultOutput), nil + } + return output, nil }).(GetPropertyRulesTemplateResultOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index ffe746c71..eb0261f24 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.15.0") + implementation("com.pulumi:pulumi:0.16.1") } task sourcesJar(type: Jar) { diff --git a/sdk/nodejs/getAppSecAdvancedSettingsEvasivePathMatch.ts b/sdk/nodejs/getAppSecAdvancedSettingsEvasivePathMatch.ts index c0cdbd14f..299e3713f 100644 --- a/sdk/nodejs/getAppSecAdvancedSettingsEvasivePathMatch.ts +++ b/sdk/nodejs/getAppSecAdvancedSettingsEvasivePathMatch.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecAdvancedSettingsEvasivePathMatch(args: GetAppSecAdvancedSettingsEvasivePathMatchArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecAdvancedSettingsEvasivePathMatch:getAppSecAdvancedSettingsEvasivePathMatch", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecAdvancedSettingsEvasivePathMatchResult { readonly securityPolicyId?: string; } export function getAppSecAdvancedSettingsEvasivePathMatchOutput(args: GetAppSecAdvancedSettingsEvasivePathMatchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecAdvancedSettingsEvasivePathMatch(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecAdvancedSettingsEvasivePathMatch:getAppSecAdvancedSettingsEvasivePathMatch", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecAdvancedSettingsLogging.ts b/sdk/nodejs/getAppSecAdvancedSettingsLogging.ts index fe39baa65..241edc91c 100644 --- a/sdk/nodejs/getAppSecAdvancedSettingsLogging.ts +++ b/sdk/nodejs/getAppSecAdvancedSettingsLogging.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecAdvancedSettingsLogging(args: GetAppSecAdvancedSettingsLoggingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecAdvancedSettingsLogging:getAppSecAdvancedSettingsLogging", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecAdvancedSettingsLoggingResult { readonly securityPolicyId?: string; } export function getAppSecAdvancedSettingsLoggingOutput(args: GetAppSecAdvancedSettingsLoggingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecAdvancedSettingsLogging(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecAdvancedSettingsLogging:getAppSecAdvancedSettingsLogging", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecAdvancedSettingsPragmaHeader.ts b/sdk/nodejs/getAppSecAdvancedSettingsPragmaHeader.ts index 162039a0c..862c9c71c 100644 --- a/sdk/nodejs/getAppSecAdvancedSettingsPragmaHeader.ts +++ b/sdk/nodejs/getAppSecAdvancedSettingsPragmaHeader.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecAdvancedSettingsPragmaHeader(args: GetAppSecAdvancedSettingsPragmaHeaderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecAdvancedSettingsPragmaHeader:getAppSecAdvancedSettingsPragmaHeader", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecAdvancedSettingsPragmaHeaderResult { readonly securityPolicyId?: string; } export function getAppSecAdvancedSettingsPragmaHeaderOutput(args: GetAppSecAdvancedSettingsPragmaHeaderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecAdvancedSettingsPragmaHeader(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecAdvancedSettingsPragmaHeader:getAppSecAdvancedSettingsPragmaHeader", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecAdvancedSettingsPrefetch.ts b/sdk/nodejs/getAppSecAdvancedSettingsPrefetch.ts index 3f027134f..0f397e8e2 100644 --- a/sdk/nodejs/getAppSecAdvancedSettingsPrefetch.ts +++ b/sdk/nodejs/getAppSecAdvancedSettingsPrefetch.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecAdvancedSettingsPrefetch(args: GetAppSecAdvancedSettingsPrefetchArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecAdvancedSettingsPrefetch:getAppSecAdvancedSettingsPrefetch", { "configId": args.configId, @@ -32,7 +31,10 @@ export interface GetAppSecAdvancedSettingsPrefetchResult { readonly outputText: string; } export function getAppSecAdvancedSettingsPrefetchOutput(args: GetAppSecAdvancedSettingsPrefetchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecAdvancedSettingsPrefetch(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecAdvancedSettingsPrefetch:getAppSecAdvancedSettingsPrefetch", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecApiEndpoints.ts b/sdk/nodejs/getAppSecApiEndpoints.ts index 1bd0cb6e8..7f2f785e0 100644 --- a/sdk/nodejs/getAppSecApiEndpoints.ts +++ b/sdk/nodejs/getAppSecApiEndpoints.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecApiEndpoints(args: GetAppSecApiEndpointsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecApiEndpoints:getAppSecApiEndpoints", { "apiName": args.apiName, @@ -39,7 +38,12 @@ export interface GetAppSecApiEndpointsResult { readonly securityPolicyId?: string; } export function getAppSecApiEndpointsOutput(args: GetAppSecApiEndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecApiEndpoints(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecApiEndpoints:getAppSecApiEndpoints", { + "apiName": args.apiName, + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecApiRequestConstraints.ts b/sdk/nodejs/getAppSecApiRequestConstraints.ts index bc4feed2a..8e25f6397 100644 --- a/sdk/nodejs/getAppSecApiRequestConstraints.ts +++ b/sdk/nodejs/getAppSecApiRequestConstraints.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecApiRequestConstraints(args: GetAppSecApiRequestConstraintsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecApiRequestConstraints:getAppSecApiRequestConstraints", { "apiId": args.apiId, @@ -38,7 +37,12 @@ export interface GetAppSecApiRequestConstraintsResult { readonly securityPolicyId: string; } export function getAppSecApiRequestConstraintsOutput(args: GetAppSecApiRequestConstraintsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecApiRequestConstraints(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecApiRequestConstraints:getAppSecApiRequestConstraints", { + "apiId": args.apiId, + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecAttackGroups.ts b/sdk/nodejs/getAppSecAttackGroups.ts index 0205bf6b8..3f7160b3b 100644 --- a/sdk/nodejs/getAppSecAttackGroups.ts +++ b/sdk/nodejs/getAppSecAttackGroups.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecAttackGroups(args: GetAppSecAttackGroupsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecAttackGroups:getAppSecAttackGroups", { "attackGroup": args.attackGroup, @@ -40,7 +39,12 @@ export interface GetAppSecAttackGroupsResult { readonly securityPolicyId: string; } export function getAppSecAttackGroupsOutput(args: GetAppSecAttackGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecAttackGroups(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecAttackGroups:getAppSecAttackGroups", { + "attackGroup": args.attackGroup, + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecBypassNetworkLists.ts b/sdk/nodejs/getAppSecBypassNetworkLists.ts index e68bb2cf7..e825d037a 100644 --- a/sdk/nodejs/getAppSecBypassNetworkLists.ts +++ b/sdk/nodejs/getAppSecBypassNetworkLists.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecBypassNetworkLists(args: GetAppSecBypassNetworkListsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecBypassNetworkLists:getAppSecBypassNetworkLists", { "configId": args.configId, @@ -36,7 +35,11 @@ export interface GetAppSecBypassNetworkListsResult { readonly securityPolicyId: string; } export function getAppSecBypassNetworkListsOutput(args: GetAppSecBypassNetworkListsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecBypassNetworkLists(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecBypassNetworkLists:getAppSecBypassNetworkLists", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecConfiguration.ts b/sdk/nodejs/getAppSecConfiguration.ts index 95fe358ab..aedbf9823 100644 --- a/sdk/nodejs/getAppSecConfiguration.ts +++ b/sdk/nodejs/getAppSecConfiguration.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getAppSecConfiguration(args?: GetAppSecConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecConfiguration:getAppSecConfiguration", { "name": args.name, @@ -36,7 +35,11 @@ export interface GetAppSecConfigurationResult { readonly stagingVersion: number; } export function getAppSecConfigurationOutput(args?: GetAppSecConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecConfiguration(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecConfiguration:getAppSecConfiguration", { + "name": args.name, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecConfigurationVersion.ts b/sdk/nodejs/getAppSecConfigurationVersion.ts index 015d5426a..eaa419119 100644 --- a/sdk/nodejs/getAppSecConfigurationVersion.ts +++ b/sdk/nodejs/getAppSecConfigurationVersion.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecConfigurationVersion(args: GetAppSecConfigurationVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecConfigurationVersion:getAppSecConfigurationVersion", { "configId": args.configId, @@ -37,7 +36,11 @@ export interface GetAppSecConfigurationVersionResult { readonly version?: number; } export function getAppSecConfigurationVersionOutput(args: GetAppSecConfigurationVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecConfigurationVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecConfigurationVersion:getAppSecConfigurationVersion", { + "configId": args.configId, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecContractsGroups.ts b/sdk/nodejs/getAppSecContractsGroups.ts index cb326a9e1..97da6be68 100644 --- a/sdk/nodejs/getAppSecContractsGroups.ts +++ b/sdk/nodejs/getAppSecContractsGroups.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getAppSecContractsGroups(args?: GetAppSecContractsGroupsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecContractsGroups:getAppSecContractsGroups", { "contractid": args.contractid, @@ -38,7 +37,12 @@ export interface GetAppSecContractsGroupsResult { readonly outputText: string; } export function getAppSecContractsGroupsOutput(args?: GetAppSecContractsGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecContractsGroups(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecContractsGroups:getAppSecContractsGroups", { + "contractid": args.contractid, + "groupid": args.groupid, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecCustomDeny.ts b/sdk/nodejs/getAppSecCustomDeny.ts index 01c9e2b2f..36c33b051 100644 --- a/sdk/nodejs/getAppSecCustomDeny.ts +++ b/sdk/nodejs/getAppSecCustomDeny.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecCustomDeny(args: GetAppSecCustomDenyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecCustomDeny:getAppSecCustomDeny", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecCustomDenyResult { readonly outputText: string; } export function getAppSecCustomDenyOutput(args: GetAppSecCustomDenyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecCustomDeny(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecCustomDeny:getAppSecCustomDeny", { + "configId": args.configId, + "customDenyId": args.customDenyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecCustomRuleActions.ts b/sdk/nodejs/getAppSecCustomRuleActions.ts index 0c3a5eb79..884820dc5 100644 --- a/sdk/nodejs/getAppSecCustomRuleActions.ts +++ b/sdk/nodejs/getAppSecCustomRuleActions.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecCustomRuleActions(args: GetAppSecCustomRuleActionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecCustomRuleActions:getAppSecCustomRuleActions", { "configId": args.configId, @@ -37,7 +36,12 @@ export interface GetAppSecCustomRuleActionsResult { readonly securityPolicyId: string; } export function getAppSecCustomRuleActionsOutput(args: GetAppSecCustomRuleActionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecCustomRuleActions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecCustomRuleActions:getAppSecCustomRuleActions", { + "configId": args.configId, + "customRuleId": args.customRuleId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecCustomRules.ts b/sdk/nodejs/getAppSecCustomRules.ts index fdea7212d..884280645 100644 --- a/sdk/nodejs/getAppSecCustomRules.ts +++ b/sdk/nodejs/getAppSecCustomRules.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecCustomRules(args: GetAppSecCustomRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecCustomRules:getAppSecCustomRules", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecCustomRulesResult { readonly outputText: string; } export function getAppSecCustomRulesOutput(args: GetAppSecCustomRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecCustomRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecCustomRules:getAppSecCustomRules", { + "configId": args.configId, + "customRuleId": args.customRuleId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecEval.ts b/sdk/nodejs/getAppSecEval.ts index e57cee639..bdb58ad1b 100644 --- a/sdk/nodejs/getAppSecEval.ts +++ b/sdk/nodejs/getAppSecEval.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecEval(args: GetAppSecEvalArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecEval:getAppSecEval", { "configId": args.configId, @@ -34,7 +33,11 @@ export interface GetAppSecEvalResult { readonly securityPolicyId: string; } export function getAppSecEvalOutput(args: GetAppSecEvalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecEval(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecEval:getAppSecEval", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecEvalGroups.ts b/sdk/nodejs/getAppSecEvalGroups.ts index 7be02d43f..7370e4280 100644 --- a/sdk/nodejs/getAppSecEvalGroups.ts +++ b/sdk/nodejs/getAppSecEvalGroups.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecEvalGroups(args: GetAppSecEvalGroupsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecEvalGroups:getAppSecEvalGroups", { "attackGroup": args.attackGroup, @@ -40,7 +39,12 @@ export interface GetAppSecEvalGroupsResult { readonly securityPolicyId: string; } export function getAppSecEvalGroupsOutput(args: GetAppSecEvalGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecEvalGroups(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecEvalGroups:getAppSecEvalGroups", { + "attackGroup": args.attackGroup, + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecEvalPenaltyBox.ts b/sdk/nodejs/getAppSecEvalPenaltyBox.ts index 026fe2216..3af6d6ccd 100644 --- a/sdk/nodejs/getAppSecEvalPenaltyBox.ts +++ b/sdk/nodejs/getAppSecEvalPenaltyBox.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecEvalPenaltyBox(args: GetAppSecEvalPenaltyBoxArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecEvalPenaltyBox:getAppSecEvalPenaltyBox", { "configId": args.configId, @@ -36,7 +35,11 @@ export interface GetAppSecEvalPenaltyBoxResult { readonly securityPolicyId: string; } export function getAppSecEvalPenaltyBoxOutput(args: GetAppSecEvalPenaltyBoxOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecEvalPenaltyBox(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecEvalPenaltyBox:getAppSecEvalPenaltyBox", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecEvalRules.ts b/sdk/nodejs/getAppSecEvalRules.ts index 5b66b2b08..88dcee028 100644 --- a/sdk/nodejs/getAppSecEvalRules.ts +++ b/sdk/nodejs/getAppSecEvalRules.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecEvalRules(args: GetAppSecEvalRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecEvalRules:getAppSecEvalRules", { "configId": args.configId, @@ -40,7 +39,12 @@ export interface GetAppSecEvalRulesResult { readonly securityPolicyId: string; } export function getAppSecEvalRulesOutput(args: GetAppSecEvalRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecEvalRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecEvalRules:getAppSecEvalRules", { + "configId": args.configId, + "ruleId": args.ruleId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecExportConfiguration.ts b/sdk/nodejs/getAppSecExportConfiguration.ts index 743c7790e..3996273ae 100644 --- a/sdk/nodejs/getAppSecExportConfiguration.ts +++ b/sdk/nodejs/getAppSecExportConfiguration.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecExportConfiguration(args: GetAppSecExportConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecExportConfiguration:getAppSecExportConfiguration", { "configId": args.configId, @@ -38,7 +37,12 @@ export interface GetAppSecExportConfigurationResult { readonly version: number; } export function getAppSecExportConfigurationOutput(args: GetAppSecExportConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecExportConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecExportConfiguration:getAppSecExportConfiguration", { + "configId": args.configId, + "searches": args.searches, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecFailoverHostnames.ts b/sdk/nodejs/getAppSecFailoverHostnames.ts index 1fa944aab..aee503ac5 100644 --- a/sdk/nodejs/getAppSecFailoverHostnames.ts +++ b/sdk/nodejs/getAppSecFailoverHostnames.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecFailoverHostnames(args: GetAppSecFailoverHostnamesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecFailoverHostnames:getAppSecFailoverHostnames", { "configId": args.configId, @@ -33,7 +32,10 @@ export interface GetAppSecFailoverHostnamesResult { readonly outputText: string; } export function getAppSecFailoverHostnamesOutput(args: GetAppSecFailoverHostnamesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecFailoverHostnames(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecFailoverHostnames:getAppSecFailoverHostnames", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecHostnameCoverage.ts b/sdk/nodejs/getAppSecHostnameCoverage.ts index bb17e79d2..2bb5dc200 100644 --- a/sdk/nodejs/getAppSecHostnameCoverage.ts +++ b/sdk/nodejs/getAppSecHostnameCoverage.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecHostnameCoverage(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecHostnameCoverage:getAppSecHostnameCoverage", { }, opts); @@ -23,5 +22,7 @@ export interface GetAppSecHostnameCoverageResult { readonly outputText: string; } export function getAppSecHostnameCoverageOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getAppSecHostnameCoverage(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecHostnameCoverage:getAppSecHostnameCoverage", { + }, opts); } diff --git a/sdk/nodejs/getAppSecHostnameCoverageMatchTargets.ts b/sdk/nodejs/getAppSecHostnameCoverageMatchTargets.ts index 145db8edb..6ad347a2e 100644 --- a/sdk/nodejs/getAppSecHostnameCoverageMatchTargets.ts +++ b/sdk/nodejs/getAppSecHostnameCoverageMatchTargets.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecHostnameCoverageMatchTargets(args: GetAppSecHostnameCoverageMatchTargetsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecHostnameCoverageMatchTargets:getAppSecHostnameCoverageMatchTargets", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecHostnameCoverageMatchTargetsResult { readonly outputText: string; } export function getAppSecHostnameCoverageMatchTargetsOutput(args: GetAppSecHostnameCoverageMatchTargetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecHostnameCoverageMatchTargets(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecHostnameCoverageMatchTargets:getAppSecHostnameCoverageMatchTargets", { + "configId": args.configId, + "hostname": args.hostname, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecHostnameCoverageOverlapping.ts b/sdk/nodejs/getAppSecHostnameCoverageOverlapping.ts index 50cc749f5..fb0477352 100644 --- a/sdk/nodejs/getAppSecHostnameCoverageOverlapping.ts +++ b/sdk/nodejs/getAppSecHostnameCoverageOverlapping.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecHostnameCoverageOverlapping(args: GetAppSecHostnameCoverageOverlappingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecHostnameCoverageOverlapping:getAppSecHostnameCoverageOverlapping", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecHostnameCoverageOverlappingResult { readonly outputText: string; } export function getAppSecHostnameCoverageOverlappingOutput(args: GetAppSecHostnameCoverageOverlappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecHostnameCoverageOverlapping(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecHostnameCoverageOverlapping:getAppSecHostnameCoverageOverlapping", { + "configId": args.configId, + "hostname": args.hostname, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecIPGeo.ts b/sdk/nodejs/getAppSecIPGeo.ts index b06cc2d36..6add00dae 100644 --- a/sdk/nodejs/getAppSecIPGeo.ts +++ b/sdk/nodejs/getAppSecIPGeo.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecIPGeo(args: GetAppSecIPGeoArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecIPGeo:getAppSecIPGeo", { "configId": args.configId, @@ -40,7 +39,11 @@ export interface GetAppSecIPGeoResult { readonly ukraineGeoControlAction: string; } export function getAppSecIPGeoOutput(args: GetAppSecIPGeoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecIPGeo(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecIPGeo:getAppSecIPGeo", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecMalwareContentTypes.ts b/sdk/nodejs/getAppSecMalwareContentTypes.ts index e672ff284..868e86fd8 100644 --- a/sdk/nodejs/getAppSecMalwareContentTypes.ts +++ b/sdk/nodejs/getAppSecMalwareContentTypes.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecMalwareContentTypes(args: GetAppSecMalwareContentTypesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecMalwareContentTypes:getAppSecMalwareContentTypes", { "configId": args.configId, @@ -32,7 +31,10 @@ export interface GetAppSecMalwareContentTypesResult { readonly outputText: string; } export function getAppSecMalwareContentTypesOutput(args: GetAppSecMalwareContentTypesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecMalwareContentTypes(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecMalwareContentTypes:getAppSecMalwareContentTypes", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecMalwarePolicies.ts b/sdk/nodejs/getAppSecMalwarePolicies.ts index 9373c7470..fec71a9e3 100644 --- a/sdk/nodejs/getAppSecMalwarePolicies.ts +++ b/sdk/nodejs/getAppSecMalwarePolicies.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecMalwarePolicies(args: GetAppSecMalwarePoliciesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecMalwarePolicies:getAppSecMalwarePolicies", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecMalwarePoliciesResult { readonly outputText: string; } export function getAppSecMalwarePoliciesOutput(args: GetAppSecMalwarePoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecMalwarePolicies(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecMalwarePolicies:getAppSecMalwarePolicies", { + "configId": args.configId, + "malwarePolicyId": args.malwarePolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecMalwarePolicyActions.ts b/sdk/nodejs/getAppSecMalwarePolicyActions.ts index 56501004b..a4532663e 100644 --- a/sdk/nodejs/getAppSecMalwarePolicyActions.ts +++ b/sdk/nodejs/getAppSecMalwarePolicyActions.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecMalwarePolicyActions(args: GetAppSecMalwarePolicyActionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecMalwarePolicyActions:getAppSecMalwarePolicyActions", { "configId": args.configId, @@ -37,7 +36,12 @@ export interface GetAppSecMalwarePolicyActionsResult { readonly securityPolicyId: string; } export function getAppSecMalwarePolicyActionsOutput(args: GetAppSecMalwarePolicyActionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecMalwarePolicyActions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecMalwarePolicyActions:getAppSecMalwarePolicyActions", { + "configId": args.configId, + "malwarePolicyId": args.malwarePolicyId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecMatchTargets.ts b/sdk/nodejs/getAppSecMatchTargets.ts index 762fe5039..083638a59 100644 --- a/sdk/nodejs/getAppSecMatchTargets.ts +++ b/sdk/nodejs/getAppSecMatchTargets.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecMatchTargets(args: GetAppSecMatchTargetsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecMatchTargets:getAppSecMatchTargets", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecMatchTargetsResult { readonly outputText: string; } export function getAppSecMatchTargetsOutput(args: GetAppSecMatchTargetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecMatchTargets(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecMatchTargets:getAppSecMatchTargets", { + "configId": args.configId, + "matchTargetId": args.matchTargetId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecPenaltyBox.ts b/sdk/nodejs/getAppSecPenaltyBox.ts index 228700ee1..c306d5cf4 100644 --- a/sdk/nodejs/getAppSecPenaltyBox.ts +++ b/sdk/nodejs/getAppSecPenaltyBox.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecPenaltyBox(args: GetAppSecPenaltyBoxArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecPenaltyBox:getAppSecPenaltyBox", { "configId": args.configId, @@ -36,7 +35,11 @@ export interface GetAppSecPenaltyBoxResult { readonly securityPolicyId: string; } export function getAppSecPenaltyBoxOutput(args: GetAppSecPenaltyBoxOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecPenaltyBox(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecPenaltyBox:getAppSecPenaltyBox", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecRatePolicies.ts b/sdk/nodejs/getAppSecRatePolicies.ts index 3cb223ec3..0a1785f05 100644 --- a/sdk/nodejs/getAppSecRatePolicies.ts +++ b/sdk/nodejs/getAppSecRatePolicies.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecRatePolicies(args: GetAppSecRatePoliciesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecRatePolicies:getAppSecRatePolicies", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecRatePoliciesResult { readonly ratePolicyId?: number; } export function getAppSecRatePoliciesOutput(args: GetAppSecRatePoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecRatePolicies(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecRatePolicies:getAppSecRatePolicies", { + "configId": args.configId, + "ratePolicyId": args.ratePolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecRatePolicyActions.ts b/sdk/nodejs/getAppSecRatePolicyActions.ts index be898271a..7e9fb71c8 100644 --- a/sdk/nodejs/getAppSecRatePolicyActions.ts +++ b/sdk/nodejs/getAppSecRatePolicyActions.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecRatePolicyActions(args: GetAppSecRatePolicyActionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecRatePolicyActions:getAppSecRatePolicyActions", { "configId": args.configId, @@ -37,7 +36,12 @@ export interface GetAppSecRatePolicyActionsResult { readonly securityPolicyId: string; } export function getAppSecRatePolicyActionsOutput(args: GetAppSecRatePolicyActionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecRatePolicyActions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecRatePolicyActions:getAppSecRatePolicyActions", { + "configId": args.configId, + "ratePolicyId": args.ratePolicyId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecReputationProfileActions.ts b/sdk/nodejs/getAppSecReputationProfileActions.ts index a4cd8bda7..e96eab8bd 100644 --- a/sdk/nodejs/getAppSecReputationProfileActions.ts +++ b/sdk/nodejs/getAppSecReputationProfileActions.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecReputationProfileActions(args: GetAppSecReputationProfileActionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecReputationProfileActions:getAppSecReputationProfileActions", { "configId": args.configId, @@ -39,7 +38,12 @@ export interface GetAppSecReputationProfileActionsResult { readonly securityPolicyId: string; } export function getAppSecReputationProfileActionsOutput(args: GetAppSecReputationProfileActionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecReputationProfileActions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecReputationProfileActions:getAppSecReputationProfileActions", { + "configId": args.configId, + "reputationProfileId": args.reputationProfileId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecReputationProfileAnalysis.ts b/sdk/nodejs/getAppSecReputationProfileAnalysis.ts index d3bb93278..3b9094346 100644 --- a/sdk/nodejs/getAppSecReputationProfileAnalysis.ts +++ b/sdk/nodejs/getAppSecReputationProfileAnalysis.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecReputationProfileAnalysis(args: GetAppSecReputationProfileAnalysisArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecReputationProfileAnalysis:getAppSecReputationProfileAnalysis", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecReputationProfileAnalysisResult { readonly securityPolicyId: string; } export function getAppSecReputationProfileAnalysisOutput(args: GetAppSecReputationProfileAnalysisOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecReputationProfileAnalysis(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecReputationProfileAnalysis:getAppSecReputationProfileAnalysis", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecReputationProfiles.ts b/sdk/nodejs/getAppSecReputationProfiles.ts index 2b0f39953..d3693f520 100644 --- a/sdk/nodejs/getAppSecReputationProfiles.ts +++ b/sdk/nodejs/getAppSecReputationProfiles.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecReputationProfiles(args: GetAppSecReputationProfilesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecReputationProfiles:getAppSecReputationProfiles", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecReputationProfilesResult { readonly reputationProfileId?: number; } export function getAppSecReputationProfilesOutput(args: GetAppSecReputationProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecReputationProfiles(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecReputationProfiles:getAppSecReputationProfiles", { + "configId": args.configId, + "reputationProfileId": args.reputationProfileId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecRuleUpgradeDetails.ts b/sdk/nodejs/getAppSecRuleUpgradeDetails.ts index 715ae56cb..89a2717ac 100644 --- a/sdk/nodejs/getAppSecRuleUpgradeDetails.ts +++ b/sdk/nodejs/getAppSecRuleUpgradeDetails.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecRuleUpgradeDetails(args: GetAppSecRuleUpgradeDetailsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecRuleUpgradeDetails:getAppSecRuleUpgradeDetails", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecRuleUpgradeDetailsResult { readonly securityPolicyId: string; } export function getAppSecRuleUpgradeDetailsOutput(args: GetAppSecRuleUpgradeDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecRuleUpgradeDetails(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecRuleUpgradeDetails:getAppSecRuleUpgradeDetails", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecRules.ts b/sdk/nodejs/getAppSecRules.ts index 0a23d83bd..2316d43c0 100644 --- a/sdk/nodejs/getAppSecRules.ts +++ b/sdk/nodejs/getAppSecRules.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecRules(args: GetAppSecRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecRules:getAppSecRules", { "configId": args.configId, @@ -40,7 +39,12 @@ export interface GetAppSecRulesResult { readonly securityPolicyId: string; } export function getAppSecRulesOutput(args: GetAppSecRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecRules:getAppSecRules", { + "configId": args.configId, + "ruleId": args.ruleId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecSecurityPolicy.ts b/sdk/nodejs/getAppSecSecurityPolicy.ts index 3025a0c21..25c049c3b 100644 --- a/sdk/nodejs/getAppSecSecurityPolicy.ts +++ b/sdk/nodejs/getAppSecSecurityPolicy.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecSecurityPolicy(args: GetAppSecSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecSecurityPolicy:getAppSecSecurityPolicy", { "configId": args.configId, @@ -37,7 +36,11 @@ export interface GetAppSecSecurityPolicyResult { readonly securityPolicyName?: string; } export function getAppSecSecurityPolicyOutput(args: GetAppSecSecurityPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecSecurityPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecSecurityPolicy:getAppSecSecurityPolicy", { + "configId": args.configId, + "securityPolicyName": args.securityPolicyName, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecSecurityPolicyProtections.ts b/sdk/nodejs/getAppSecSecurityPolicyProtections.ts index 55b2f56fd..8584a42d9 100644 --- a/sdk/nodejs/getAppSecSecurityPolicyProtections.ts +++ b/sdk/nodejs/getAppSecSecurityPolicyProtections.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecSecurityPolicyProtections(args: GetAppSecSecurityPolicyProtectionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecSecurityPolicyProtections:getAppSecSecurityPolicyProtections", { "configId": args.configId, @@ -43,7 +42,11 @@ export interface GetAppSecSecurityPolicyProtectionsResult { readonly securityPolicyId: string; } export function getAppSecSecurityPolicyProtectionsOutput(args: GetAppSecSecurityPolicyProtectionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecSecurityPolicyProtections(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecSecurityPolicyProtections:getAppSecSecurityPolicyProtections", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecSelectableHostnames.ts b/sdk/nodejs/getAppSecSelectableHostnames.ts index 470f66c65..4dd4db9c1 100644 --- a/sdk/nodejs/getAppSecSelectableHostnames.ts +++ b/sdk/nodejs/getAppSecSelectableHostnames.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getAppSecSelectableHostnames(args?: GetAppSecSelectableHostnamesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecSelectableHostnames:getAppSecSelectableHostnames", { "activeInProduction": args.activeInProduction, @@ -46,7 +45,15 @@ export interface GetAppSecSelectableHostnamesResult { readonly outputText: string; } export function getAppSecSelectableHostnamesOutput(args?: GetAppSecSelectableHostnamesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecSelectableHostnames(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecSelectableHostnames:getAppSecSelectableHostnames", { + "activeInProduction": args.activeInProduction, + "activeInStaging": args.activeInStaging, + "configId": args.configId, + "contractid": args.contractid, + "groupid": args.groupid, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecSelectedHostnames.ts b/sdk/nodejs/getAppSecSelectedHostnames.ts index 808690d65..ba077d29e 100644 --- a/sdk/nodejs/getAppSecSelectedHostnames.ts +++ b/sdk/nodejs/getAppSecSelectedHostnames.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecSelectedHostnames(args: GetAppSecSelectedHostnamesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecSelectedHostnames:getAppSecSelectedHostnames", { "configId": args.configId, @@ -33,7 +32,10 @@ export interface GetAppSecSelectedHostnamesResult { readonly outputText: string; } export function getAppSecSelectedHostnamesOutput(args: GetAppSecSelectedHostnamesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecSelectedHostnames(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecSelectedHostnames:getAppSecSelectedHostnames", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecSiemDefinitions.ts b/sdk/nodejs/getAppSecSiemDefinitions.ts index 5a7cff8ce..59f650fbb 100644 --- a/sdk/nodejs/getAppSecSiemDefinitions.ts +++ b/sdk/nodejs/getAppSecSiemDefinitions.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getAppSecSiemDefinitions(args?: GetAppSecSiemDefinitionsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecSiemDefinitions:getAppSecSiemDefinitions", { "siemDefinitionName": args.siemDefinitionName, @@ -33,7 +32,11 @@ export interface GetAppSecSiemDefinitionsResult { readonly siemDefinitionName?: string; } export function getAppSecSiemDefinitionsOutput(args?: GetAppSecSiemDefinitionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecSiemDefinitions(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecSiemDefinitions:getAppSecSiemDefinitions", { + "siemDefinitionName": args.siemDefinitionName, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecSiemSettings.ts b/sdk/nodejs/getAppSecSiemSettings.ts index 6a34a7b78..6327de40c 100644 --- a/sdk/nodejs/getAppSecSiemSettings.ts +++ b/sdk/nodejs/getAppSecSiemSettings.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecSiemSettings(args: GetAppSecSiemSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecSiemSettings:getAppSecSiemSettings", { "configId": args.configId, @@ -32,7 +31,10 @@ export interface GetAppSecSiemSettingsResult { readonly outputText: string; } export function getAppSecSiemSettingsOutput(args: GetAppSecSiemSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecSiemSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecSiemSettings:getAppSecSiemSettings", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecSlowPost.ts b/sdk/nodejs/getAppSecSlowPost.ts index f35802c95..084c6c8b8 100644 --- a/sdk/nodejs/getAppSecSlowPost.ts +++ b/sdk/nodejs/getAppSecSlowPost.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecSlowPost(args: GetAppSecSlowPostArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecSlowPost:getAppSecSlowPost", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppSecSlowPostResult { readonly securityPolicyId: string; } export function getAppSecSlowPostOutput(args: GetAppSecSlowPostOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecSlowPost(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecSlowPost:getAppSecSlowPost", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecThreatIntel.ts b/sdk/nodejs/getAppSecThreatIntel.ts index cd1f3ae84..1d7390a8b 100644 --- a/sdk/nodejs/getAppSecThreatIntel.ts +++ b/sdk/nodejs/getAppSecThreatIntel.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecThreatIntel(args: GetAppSecThreatIntelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecThreatIntel:getAppSecThreatIntel", { "configId": args.configId, @@ -36,7 +35,11 @@ export interface GetAppSecThreatIntelResult { readonly threatIntel: string; } export function getAppSecThreatIntelOutput(args: GetAppSecThreatIntelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecThreatIntel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecThreatIntel:getAppSecThreatIntel", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecTuningRecommendations.ts b/sdk/nodejs/getAppSecTuningRecommendations.ts index c24202463..3368b4f91 100644 --- a/sdk/nodejs/getAppSecTuningRecommendations.ts +++ b/sdk/nodejs/getAppSecTuningRecommendations.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecTuningRecommendations(args: GetAppSecTuningRecommendationsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecTuningRecommendations:getAppSecTuningRecommendations", { "attackGroup": args.attackGroup, @@ -43,7 +42,14 @@ export interface GetAppSecTuningRecommendationsResult { readonly securityPolicyId?: string; } export function getAppSecTuningRecommendationsOutput(args: GetAppSecTuningRecommendationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecTuningRecommendations(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecTuningRecommendations:getAppSecTuningRecommendations", { + "attackGroup": args.attackGroup, + "configId": args.configId, + "ruleId": args.ruleId, + "rulesetType": args.rulesetType, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecVersionNotes.ts b/sdk/nodejs/getAppSecVersionNotes.ts index ef1aec3f7..698469d62 100644 --- a/sdk/nodejs/getAppSecVersionNotes.ts +++ b/sdk/nodejs/getAppSecVersionNotes.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecVersionNotes(args: GetAppSecVersionNotesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecVersionNotes:getAppSecVersionNotes", { "configId": args.configId, @@ -32,7 +31,10 @@ export interface GetAppSecVersionNotesResult { readonly outputText: string; } export function getAppSecVersionNotesOutput(args: GetAppSecVersionNotesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecVersionNotes(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecVersionNotes:getAppSecVersionNotes", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecWafMode.ts b/sdk/nodejs/getAppSecWafMode.ts index d1bb8652d..a237cb87a 100644 --- a/sdk/nodejs/getAppSecWafMode.ts +++ b/sdk/nodejs/getAppSecWafMode.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecWafMode(args: GetAppSecWafModeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecWafMode:getAppSecWafMode", { "configId": args.configId, @@ -40,7 +39,11 @@ export interface GetAppSecWafModeResult { readonly securityPolicyId: string; } export function getAppSecWafModeOutput(args: GetAppSecWafModeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecWafMode(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecWafMode:getAppSecWafMode", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppSecWapSelectedHostnames.ts b/sdk/nodejs/getAppSecWapSelectedHostnames.ts index d62d11f91..eb8e49e16 100644 --- a/sdk/nodejs/getAppSecWapSelectedHostnames.ts +++ b/sdk/nodejs/getAppSecWapSelectedHostnames.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppSecWapSelectedHostnames(args: GetAppSecWapSelectedHostnamesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppSecWapSelectedHostnames:getAppSecWapSelectedHostnames", { "configId": args.configId, @@ -39,7 +38,11 @@ export interface GetAppSecWapSelectedHostnamesResult { readonly selectedHosts: string[]; } export function getAppSecWapSelectedHostnamesOutput(args: GetAppSecWapSelectedHostnamesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppSecWapSelectedHostnames(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppSecWapSelectedHostnames:getAppSecWapSelectedHostnames", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppsecAdvancedSettingsAttackPayloadLogging.ts b/sdk/nodejs/getAppsecAdvancedSettingsAttackPayloadLogging.ts index ed14f6c7d..1eabae34a 100644 --- a/sdk/nodejs/getAppsecAdvancedSettingsAttackPayloadLogging.ts +++ b/sdk/nodejs/getAppsecAdvancedSettingsAttackPayloadLogging.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppsecAdvancedSettingsAttackPayloadLogging(args: GetAppsecAdvancedSettingsAttackPayloadLoggingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppsecAdvancedSettingsAttackPayloadLogging:getAppsecAdvancedSettingsAttackPayloadLogging", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppsecAdvancedSettingsAttackPayloadLoggingResult { readonly securityPolicyId?: string; } export function getAppsecAdvancedSettingsAttackPayloadLoggingOutput(args: GetAppsecAdvancedSettingsAttackPayloadLoggingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppsecAdvancedSettingsAttackPayloadLogging(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppsecAdvancedSettingsAttackPayloadLogging:getAppsecAdvancedSettingsAttackPayloadLogging", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppsecAdvancedSettingsPiiLearning.ts b/sdk/nodejs/getAppsecAdvancedSettingsPiiLearning.ts index ad397631f..887dfe8f9 100644 --- a/sdk/nodejs/getAppsecAdvancedSettingsPiiLearning.ts +++ b/sdk/nodejs/getAppsecAdvancedSettingsPiiLearning.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppsecAdvancedSettingsPiiLearning(args: GetAppsecAdvancedSettingsPiiLearningArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppsecAdvancedSettingsPiiLearning:getAppsecAdvancedSettingsPiiLearning", { "configId": args.configId, @@ -32,7 +31,10 @@ export interface GetAppsecAdvancedSettingsPiiLearningResult { readonly outputText: string; } export function getAppsecAdvancedSettingsPiiLearningOutput(args: GetAppsecAdvancedSettingsPiiLearningOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppsecAdvancedSettingsPiiLearning(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppsecAdvancedSettingsPiiLearning:getAppsecAdvancedSettingsPiiLearning", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getAppsecAdvancedSettingsRequestBody.ts b/sdk/nodejs/getAppsecAdvancedSettingsRequestBody.ts index 40fe6136d..d4f23ed44 100644 --- a/sdk/nodejs/getAppsecAdvancedSettingsRequestBody.ts +++ b/sdk/nodejs/getAppsecAdvancedSettingsRequestBody.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppsecAdvancedSettingsRequestBody(args: GetAppsecAdvancedSettingsRequestBodyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppsecAdvancedSettingsRequestBody:getAppsecAdvancedSettingsRequestBody", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppsecAdvancedSettingsRequestBodyResult { readonly securityPolicyId?: string; } export function getAppsecAdvancedSettingsRequestBodyOutput(args: GetAppsecAdvancedSettingsRequestBodyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppsecAdvancedSettingsRequestBody(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppsecAdvancedSettingsRequestBody:getAppsecAdvancedSettingsRequestBody", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppsecEvalPenaltyBoxConditions.ts b/sdk/nodejs/getAppsecEvalPenaltyBoxConditions.ts index e3679725e..3b4c2d86d 100644 --- a/sdk/nodejs/getAppsecEvalPenaltyBoxConditions.ts +++ b/sdk/nodejs/getAppsecEvalPenaltyBoxConditions.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppsecEvalPenaltyBoxConditions(args: GetAppsecEvalPenaltyBoxConditionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppsecEvalPenaltyBoxConditions:getAppsecEvalPenaltyBoxConditions", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppsecEvalPenaltyBoxConditionsResult { readonly securityPolicyId: string; } export function getAppsecEvalPenaltyBoxConditionsOutput(args: GetAppsecEvalPenaltyBoxConditionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppsecEvalPenaltyBoxConditions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppsecEvalPenaltyBoxConditions:getAppsecEvalPenaltyBoxConditions", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAppsecPenaltyBoxConditions.ts b/sdk/nodejs/getAppsecPenaltyBoxConditions.ts index 8ed6286f4..c09671269 100644 --- a/sdk/nodejs/getAppsecPenaltyBoxConditions.ts +++ b/sdk/nodejs/getAppsecPenaltyBoxConditions.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAppsecPenaltyBoxConditions(args: GetAppsecPenaltyBoxConditionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAppsecPenaltyBoxConditions:getAppsecPenaltyBoxConditions", { "configId": args.configId, @@ -35,7 +34,11 @@ export interface GetAppsecPenaltyBoxConditionsResult { readonly securityPolicyId: string; } export function getAppsecPenaltyBoxConditionsOutput(args: GetAppsecPenaltyBoxConditionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppsecPenaltyBoxConditions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAppsecPenaltyBoxConditions:getAppsecPenaltyBoxConditions", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getAuthoritiesSet.ts b/sdk/nodejs/getAuthoritiesSet.ts index 1d9ad5ced..35159c8b7 100644 --- a/sdk/nodejs/getAuthoritiesSet.ts +++ b/sdk/nodejs/getAuthoritiesSet.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAuthoritiesSet(args: GetAuthoritiesSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getAuthoritiesSet:getAuthoritiesSet", { "contract": args.contract, @@ -31,7 +30,10 @@ export interface GetAuthoritiesSetResult { readonly id: string; } export function getAuthoritiesSetOutput(args: GetAuthoritiesSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAuthoritiesSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getAuthoritiesSet:getAuthoritiesSet", { + "contract": args.contract, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanAkamaiBotCategory.ts b/sdk/nodejs/getBotmanAkamaiBotCategory.ts index 41d2a2935..f4ae69190 100644 --- a/sdk/nodejs/getBotmanAkamaiBotCategory.ts +++ b/sdk/nodejs/getBotmanAkamaiBotCategory.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getBotmanAkamaiBotCategory(args?: GetBotmanAkamaiBotCategoryArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanAkamaiBotCategory:getBotmanAkamaiBotCategory", { "categoryName": args.categoryName, @@ -32,7 +31,11 @@ export interface GetBotmanAkamaiBotCategoryResult { readonly json: string; } export function getBotmanAkamaiBotCategoryOutput(args?: GetBotmanAkamaiBotCategoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanAkamaiBotCategory(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanAkamaiBotCategory:getBotmanAkamaiBotCategory", { + "categoryName": args.categoryName, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanAkamaiBotCategoryAction.ts b/sdk/nodejs/getBotmanAkamaiBotCategoryAction.ts index 55e24fd6f..da3ee9e5d 100644 --- a/sdk/nodejs/getBotmanAkamaiBotCategoryAction.ts +++ b/sdk/nodejs/getBotmanAkamaiBotCategoryAction.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanAkamaiBotCategoryAction(args: GetBotmanAkamaiBotCategoryActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanAkamaiBotCategoryAction:getBotmanAkamaiBotCategoryAction", { "categoryId": args.categoryId, @@ -37,7 +36,12 @@ export interface GetBotmanAkamaiBotCategoryActionResult { readonly securityPolicyId: string; } export function getBotmanAkamaiBotCategoryActionOutput(args: GetBotmanAkamaiBotCategoryActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanAkamaiBotCategoryAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanAkamaiBotCategoryAction:getBotmanAkamaiBotCategoryAction", { + "categoryId": args.categoryId, + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanAkamaiDefinedBot.ts b/sdk/nodejs/getBotmanAkamaiDefinedBot.ts index 9a6112f3a..d00cee982 100644 --- a/sdk/nodejs/getBotmanAkamaiDefinedBot.ts +++ b/sdk/nodejs/getBotmanAkamaiDefinedBot.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getBotmanAkamaiDefinedBot(args?: GetBotmanAkamaiDefinedBotArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanAkamaiDefinedBot:getBotmanAkamaiDefinedBot", { "botName": args.botName, @@ -32,7 +31,11 @@ export interface GetBotmanAkamaiDefinedBotResult { readonly json: string; } export function getBotmanAkamaiDefinedBotOutput(args?: GetBotmanAkamaiDefinedBotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanAkamaiDefinedBot(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanAkamaiDefinedBot:getBotmanAkamaiDefinedBot", { + "botName": args.botName, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanBotAnalyticsCookie.ts b/sdk/nodejs/getBotmanBotAnalyticsCookie.ts index 78465d631..27ebcd4c6 100644 --- a/sdk/nodejs/getBotmanBotAnalyticsCookie.ts +++ b/sdk/nodejs/getBotmanBotAnalyticsCookie.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanBotAnalyticsCookie(args: GetBotmanBotAnalyticsCookieArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanBotAnalyticsCookie:getBotmanBotAnalyticsCookie", { "configId": args.configId, @@ -31,7 +30,10 @@ export interface GetBotmanBotAnalyticsCookieResult { readonly json: string; } export function getBotmanBotAnalyticsCookieOutput(args: GetBotmanBotAnalyticsCookieOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanBotAnalyticsCookie(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanBotAnalyticsCookie:getBotmanBotAnalyticsCookie", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanBotAnalyticsCookieValues.ts b/sdk/nodejs/getBotmanBotAnalyticsCookieValues.ts index 6b75179d3..bd4baf7a6 100644 --- a/sdk/nodejs/getBotmanBotAnalyticsCookieValues.ts +++ b/sdk/nodejs/getBotmanBotAnalyticsCookieValues.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanBotAnalyticsCookieValues(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanBotAnalyticsCookieValues:getBotmanBotAnalyticsCookieValues", { }, opts); @@ -22,5 +21,7 @@ export interface GetBotmanBotAnalyticsCookieValuesResult { readonly json: string; } export function getBotmanBotAnalyticsCookieValuesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getBotmanBotAnalyticsCookieValues(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanBotAnalyticsCookieValues:getBotmanBotAnalyticsCookieValues", { + }, opts); } diff --git a/sdk/nodejs/getBotmanBotCategoryException.ts b/sdk/nodejs/getBotmanBotCategoryException.ts index d1616bc48..4a51a7808 100644 --- a/sdk/nodejs/getBotmanBotCategoryException.ts +++ b/sdk/nodejs/getBotmanBotCategoryException.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanBotCategoryException(args: GetBotmanBotCategoryExceptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanBotCategoryException:getBotmanBotCategoryException", { "configId": args.configId, @@ -34,7 +33,11 @@ export interface GetBotmanBotCategoryExceptionResult { readonly securityPolicyId: string; } export function getBotmanBotCategoryExceptionOutput(args: GetBotmanBotCategoryExceptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanBotCategoryException(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanBotCategoryException:getBotmanBotCategoryException", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanBotDetection.ts b/sdk/nodejs/getBotmanBotDetection.ts index af3cabb9e..1bcba368f 100644 --- a/sdk/nodejs/getBotmanBotDetection.ts +++ b/sdk/nodejs/getBotmanBotDetection.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getBotmanBotDetection(args?: GetBotmanBotDetectionArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanBotDetection:getBotmanBotDetection", { "detectionName": args.detectionName, @@ -32,7 +31,11 @@ export interface GetBotmanBotDetectionResult { readonly json: string; } export function getBotmanBotDetectionOutput(args?: GetBotmanBotDetectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanBotDetection(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanBotDetection:getBotmanBotDetection", { + "detectionName": args.detectionName, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanBotDetectionAction.ts b/sdk/nodejs/getBotmanBotDetectionAction.ts index 77f6a4b5a..34ffabf09 100644 --- a/sdk/nodejs/getBotmanBotDetectionAction.ts +++ b/sdk/nodejs/getBotmanBotDetectionAction.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanBotDetectionAction(args: GetBotmanBotDetectionActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanBotDetectionAction:getBotmanBotDetectionAction", { "configId": args.configId, @@ -37,7 +36,12 @@ export interface GetBotmanBotDetectionActionResult { readonly securityPolicyId: string; } export function getBotmanBotDetectionActionOutput(args: GetBotmanBotDetectionActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanBotDetectionAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanBotDetectionAction:getBotmanBotDetectionAction", { + "configId": args.configId, + "detectionId": args.detectionId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanBotEndpointCoverageReport.ts b/sdk/nodejs/getBotmanBotEndpointCoverageReport.ts index 11fdcf726..9eae1ef83 100644 --- a/sdk/nodejs/getBotmanBotEndpointCoverageReport.ts +++ b/sdk/nodejs/getBotmanBotEndpointCoverageReport.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getBotmanBotEndpointCoverageReport(args?: GetBotmanBotEndpointCoverageReportArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanBotEndpointCoverageReport:getBotmanBotEndpointCoverageReport", { "configId": args.configId, @@ -35,7 +34,12 @@ export interface GetBotmanBotEndpointCoverageReportResult { readonly operationId?: string; } export function getBotmanBotEndpointCoverageReportOutput(args?: GetBotmanBotEndpointCoverageReportOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanBotEndpointCoverageReport(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanBotEndpointCoverageReport:getBotmanBotEndpointCoverageReport", { + "configId": args.configId, + "operationId": args.operationId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanBotManagementSettings.ts b/sdk/nodejs/getBotmanBotManagementSettings.ts index 3cbf3437b..ffbd6a5d9 100644 --- a/sdk/nodejs/getBotmanBotManagementSettings.ts +++ b/sdk/nodejs/getBotmanBotManagementSettings.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanBotManagementSettings(args: GetBotmanBotManagementSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanBotManagementSettings:getBotmanBotManagementSettings", { "configId": args.configId, @@ -34,7 +33,11 @@ export interface GetBotmanBotManagementSettingsResult { readonly securityPolicyId: string; } export function getBotmanBotManagementSettingsOutput(args: GetBotmanBotManagementSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanBotManagementSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanBotManagementSettings:getBotmanBotManagementSettings", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanChallengeAction.ts b/sdk/nodejs/getBotmanChallengeAction.ts index 0305fb5af..62956c5b7 100644 --- a/sdk/nodejs/getBotmanChallengeAction.ts +++ b/sdk/nodejs/getBotmanChallengeAction.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanChallengeAction(args: GetBotmanChallengeActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanChallengeAction:getBotmanChallengeAction", { "actionId": args.actionId, @@ -34,7 +33,11 @@ export interface GetBotmanChallengeActionResult { readonly json: string; } export function getBotmanChallengeActionOutput(args: GetBotmanChallengeActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanChallengeAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanChallengeAction:getBotmanChallengeAction", { + "actionId": args.actionId, + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanChallengeInjectionRules.ts b/sdk/nodejs/getBotmanChallengeInjectionRules.ts index cd04e5b9c..1e2c70205 100644 --- a/sdk/nodejs/getBotmanChallengeInjectionRules.ts +++ b/sdk/nodejs/getBotmanChallengeInjectionRules.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanChallengeInjectionRules(args: GetBotmanChallengeInjectionRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanChallengeInjectionRules:getBotmanChallengeInjectionRules", { "configId": args.configId, @@ -31,7 +30,10 @@ export interface GetBotmanChallengeInjectionRulesResult { readonly json: string; } export function getBotmanChallengeInjectionRulesOutput(args: GetBotmanChallengeInjectionRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanChallengeInjectionRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanChallengeInjectionRules:getBotmanChallengeInjectionRules", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanChallengeInterceptionRules.ts b/sdk/nodejs/getBotmanChallengeInterceptionRules.ts index 304aec84e..885f6e94a 100644 --- a/sdk/nodejs/getBotmanChallengeInterceptionRules.ts +++ b/sdk/nodejs/getBotmanChallengeInterceptionRules.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanChallengeInterceptionRules(args: GetBotmanChallengeInterceptionRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanChallengeInterceptionRules:getBotmanChallengeInterceptionRules", { "configId": args.configId, @@ -31,7 +30,10 @@ export interface GetBotmanChallengeInterceptionRulesResult { readonly json: string; } export function getBotmanChallengeInterceptionRulesOutput(args: GetBotmanChallengeInterceptionRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanChallengeInterceptionRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanChallengeInterceptionRules:getBotmanChallengeInterceptionRules", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanClientSideSecurity.ts b/sdk/nodejs/getBotmanClientSideSecurity.ts index fba0cdb8f..f10808c06 100644 --- a/sdk/nodejs/getBotmanClientSideSecurity.ts +++ b/sdk/nodejs/getBotmanClientSideSecurity.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanClientSideSecurity(args: GetBotmanClientSideSecurityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanClientSideSecurity:getBotmanClientSideSecurity", { "configId": args.configId, @@ -31,7 +30,10 @@ export interface GetBotmanClientSideSecurityResult { readonly json: string; } export function getBotmanClientSideSecurityOutput(args: GetBotmanClientSideSecurityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanClientSideSecurity(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanClientSideSecurity:getBotmanClientSideSecurity", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanConditionalAction.ts b/sdk/nodejs/getBotmanConditionalAction.ts index 623c4bd83..96d251034 100644 --- a/sdk/nodejs/getBotmanConditionalAction.ts +++ b/sdk/nodejs/getBotmanConditionalAction.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanConditionalAction(args: GetBotmanConditionalActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanConditionalAction:getBotmanConditionalAction", { "actionId": args.actionId, @@ -34,7 +33,11 @@ export interface GetBotmanConditionalActionResult { readonly json: string; } export function getBotmanConditionalActionOutput(args: GetBotmanConditionalActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanConditionalAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanConditionalAction:getBotmanConditionalAction", { + "actionId": args.actionId, + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanCustomBotCategory.ts b/sdk/nodejs/getBotmanCustomBotCategory.ts index f375ad713..d7c6c0af7 100644 --- a/sdk/nodejs/getBotmanCustomBotCategory.ts +++ b/sdk/nodejs/getBotmanCustomBotCategory.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanCustomBotCategory(args: GetBotmanCustomBotCategoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanCustomBotCategory:getBotmanCustomBotCategory", { "categoryId": args.categoryId, @@ -34,7 +33,11 @@ export interface GetBotmanCustomBotCategoryResult { readonly json: string; } export function getBotmanCustomBotCategoryOutput(args: GetBotmanCustomBotCategoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanCustomBotCategory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanCustomBotCategory:getBotmanCustomBotCategory", { + "categoryId": args.categoryId, + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanCustomBotCategoryAction.ts b/sdk/nodejs/getBotmanCustomBotCategoryAction.ts index cee372c42..a94796cb4 100644 --- a/sdk/nodejs/getBotmanCustomBotCategoryAction.ts +++ b/sdk/nodejs/getBotmanCustomBotCategoryAction.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanCustomBotCategoryAction(args: GetBotmanCustomBotCategoryActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanCustomBotCategoryAction:getBotmanCustomBotCategoryAction", { "categoryId": args.categoryId, @@ -37,7 +36,12 @@ export interface GetBotmanCustomBotCategoryActionResult { readonly securityPolicyId: string; } export function getBotmanCustomBotCategoryActionOutput(args: GetBotmanCustomBotCategoryActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanCustomBotCategoryAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanCustomBotCategoryAction:getBotmanCustomBotCategoryAction", { + "categoryId": args.categoryId, + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanCustomBotCategorySequence.ts b/sdk/nodejs/getBotmanCustomBotCategorySequence.ts index a4553344b..e7a7ec46b 100644 --- a/sdk/nodejs/getBotmanCustomBotCategorySequence.ts +++ b/sdk/nodejs/getBotmanCustomBotCategorySequence.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanCustomBotCategorySequence(args: GetBotmanCustomBotCategorySequenceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanCustomBotCategorySequence:getBotmanCustomBotCategorySequence", { "configId": args.configId, @@ -31,7 +30,10 @@ export interface GetBotmanCustomBotCategorySequenceResult { readonly id: string; } export function getBotmanCustomBotCategorySequenceOutput(args: GetBotmanCustomBotCategorySequenceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanCustomBotCategorySequence(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanCustomBotCategorySequence:getBotmanCustomBotCategorySequence", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanCustomClient.ts b/sdk/nodejs/getBotmanCustomClient.ts index 230ad08ba..ea5d451d6 100644 --- a/sdk/nodejs/getBotmanCustomClient.ts +++ b/sdk/nodejs/getBotmanCustomClient.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanCustomClient(args: GetBotmanCustomClientArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanCustomClient:getBotmanCustomClient", { "configId": args.configId, @@ -34,7 +33,11 @@ export interface GetBotmanCustomClientResult { readonly json: string; } export function getBotmanCustomClientOutput(args: GetBotmanCustomClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanCustomClient(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanCustomClient:getBotmanCustomClient", { + "configId": args.configId, + "customClientId": args.customClientId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanCustomClientSequence.ts b/sdk/nodejs/getBotmanCustomClientSequence.ts index 6b819c2c3..9f68e39fe 100644 --- a/sdk/nodejs/getBotmanCustomClientSequence.ts +++ b/sdk/nodejs/getBotmanCustomClientSequence.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanCustomClientSequence(args: GetBotmanCustomClientSequenceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanCustomClientSequence:getBotmanCustomClientSequence", { "configId": args.configId, @@ -31,7 +30,10 @@ export interface GetBotmanCustomClientSequenceResult { readonly id: string; } export function getBotmanCustomClientSequenceOutput(args: GetBotmanCustomClientSequenceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanCustomClientSequence(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanCustomClientSequence:getBotmanCustomClientSequence", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanCustomCode.ts b/sdk/nodejs/getBotmanCustomCode.ts index b23de4c1e..5c4440638 100644 --- a/sdk/nodejs/getBotmanCustomCode.ts +++ b/sdk/nodejs/getBotmanCustomCode.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanCustomCode(args: GetBotmanCustomCodeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanCustomCode:getBotmanCustomCode", { "configId": args.configId, @@ -31,7 +30,10 @@ export interface GetBotmanCustomCodeResult { readonly json: string; } export function getBotmanCustomCodeOutput(args: GetBotmanCustomCodeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanCustomCode(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanCustomCode:getBotmanCustomCode", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanCustomDefinedBot.ts b/sdk/nodejs/getBotmanCustomDefinedBot.ts index 619774a19..458924527 100644 --- a/sdk/nodejs/getBotmanCustomDefinedBot.ts +++ b/sdk/nodejs/getBotmanCustomDefinedBot.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanCustomDefinedBot(args: GetBotmanCustomDefinedBotArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanCustomDefinedBot:getBotmanCustomDefinedBot", { "botId": args.botId, @@ -34,7 +33,11 @@ export interface GetBotmanCustomDefinedBotResult { readonly json: string; } export function getBotmanCustomDefinedBotOutput(args: GetBotmanCustomDefinedBotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanCustomDefinedBot(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanCustomDefinedBot:getBotmanCustomDefinedBot", { + "botId": args.botId, + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanCustomDenyAction.ts b/sdk/nodejs/getBotmanCustomDenyAction.ts index c4879f1fe..d1cc5201c 100644 --- a/sdk/nodejs/getBotmanCustomDenyAction.ts +++ b/sdk/nodejs/getBotmanCustomDenyAction.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanCustomDenyAction(args: GetBotmanCustomDenyActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanCustomDenyAction:getBotmanCustomDenyAction", { "actionId": args.actionId, @@ -34,7 +33,11 @@ export interface GetBotmanCustomDenyActionResult { readonly json: string; } export function getBotmanCustomDenyActionOutput(args: GetBotmanCustomDenyActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanCustomDenyAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanCustomDenyAction:getBotmanCustomDenyAction", { + "actionId": args.actionId, + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanJavascriptInjection.ts b/sdk/nodejs/getBotmanJavascriptInjection.ts index f55b6f91b..bff427c02 100644 --- a/sdk/nodejs/getBotmanJavascriptInjection.ts +++ b/sdk/nodejs/getBotmanJavascriptInjection.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanJavascriptInjection(args: GetBotmanJavascriptInjectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanJavascriptInjection:getBotmanJavascriptInjection", { "configId": args.configId, @@ -34,7 +33,11 @@ export interface GetBotmanJavascriptInjectionResult { readonly securityPolicyId: string; } export function getBotmanJavascriptInjectionOutput(args: GetBotmanJavascriptInjectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanJavascriptInjection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanJavascriptInjection:getBotmanJavascriptInjection", { + "configId": args.configId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanRecategorizedAkamaiDefinedBot.ts b/sdk/nodejs/getBotmanRecategorizedAkamaiDefinedBot.ts index 7ea6a46f2..ce8c2fd89 100644 --- a/sdk/nodejs/getBotmanRecategorizedAkamaiDefinedBot.ts +++ b/sdk/nodejs/getBotmanRecategorizedAkamaiDefinedBot.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanRecategorizedAkamaiDefinedBot(args: GetBotmanRecategorizedAkamaiDefinedBotArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanRecategorizedAkamaiDefinedBot:getBotmanRecategorizedAkamaiDefinedBot", { "botId": args.botId, @@ -34,7 +33,11 @@ export interface GetBotmanRecategorizedAkamaiDefinedBotResult { readonly json: string; } export function getBotmanRecategorizedAkamaiDefinedBotOutput(args: GetBotmanRecategorizedAkamaiDefinedBotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanRecategorizedAkamaiDefinedBot(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanRecategorizedAkamaiDefinedBot:getBotmanRecategorizedAkamaiDefinedBot", { + "botId": args.botId, + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanResponseAction.ts b/sdk/nodejs/getBotmanResponseAction.ts index 35fb410a4..5c1ffba23 100644 --- a/sdk/nodejs/getBotmanResponseAction.ts +++ b/sdk/nodejs/getBotmanResponseAction.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanResponseAction(args: GetBotmanResponseActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanResponseAction:getBotmanResponseAction", { "actionId": args.actionId, @@ -34,7 +33,11 @@ export interface GetBotmanResponseActionResult { readonly json: string; } export function getBotmanResponseActionOutput(args: GetBotmanResponseActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanResponseAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanResponseAction:getBotmanResponseAction", { + "actionId": args.actionId, + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanServeAlternateAction.ts b/sdk/nodejs/getBotmanServeAlternateAction.ts index 85b960232..d101b5f7c 100644 --- a/sdk/nodejs/getBotmanServeAlternateAction.ts +++ b/sdk/nodejs/getBotmanServeAlternateAction.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanServeAlternateAction(args: GetBotmanServeAlternateActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanServeAlternateAction:getBotmanServeAlternateAction", { "actionId": args.actionId, @@ -34,7 +33,11 @@ export interface GetBotmanServeAlternateActionResult { readonly json: string; } export function getBotmanServeAlternateActionOutput(args: GetBotmanServeAlternateActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanServeAlternateAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanServeAlternateAction:getBotmanServeAlternateAction", { + "actionId": args.actionId, + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanTransactionalEndpoint.ts b/sdk/nodejs/getBotmanTransactionalEndpoint.ts index db5a96225..9bac63024 100644 --- a/sdk/nodejs/getBotmanTransactionalEndpoint.ts +++ b/sdk/nodejs/getBotmanTransactionalEndpoint.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanTransactionalEndpoint(args: GetBotmanTransactionalEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanTransactionalEndpoint:getBotmanTransactionalEndpoint", { "configId": args.configId, @@ -37,7 +36,12 @@ export interface GetBotmanTransactionalEndpointResult { readonly securityPolicyId: string; } export function getBotmanTransactionalEndpointOutput(args: GetBotmanTransactionalEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanTransactionalEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanTransactionalEndpoint:getBotmanTransactionalEndpoint", { + "configId": args.configId, + "operationId": args.operationId, + "securityPolicyId": args.securityPolicyId, + }, opts); } /** diff --git a/sdk/nodejs/getBotmanTransactionalEndpointProtection.ts b/sdk/nodejs/getBotmanTransactionalEndpointProtection.ts index b71588ed4..16f79f0f5 100644 --- a/sdk/nodejs/getBotmanTransactionalEndpointProtection.ts +++ b/sdk/nodejs/getBotmanTransactionalEndpointProtection.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getBotmanTransactionalEndpointProtection(args: GetBotmanTransactionalEndpointProtectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getBotmanTransactionalEndpointProtection:getBotmanTransactionalEndpointProtection", { "configId": args.configId, @@ -31,7 +30,10 @@ export interface GetBotmanTransactionalEndpointProtectionResult { readonly json: string; } export function getBotmanTransactionalEndpointProtectionOutput(args: GetBotmanTransactionalEndpointProtectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotmanTransactionalEndpointProtection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getBotmanTransactionalEndpointProtection:getBotmanTransactionalEndpointProtection", { + "configId": args.configId, + }, opts); } /** diff --git a/sdk/nodejs/getCPSEnrollment.ts b/sdk/nodejs/getCPSEnrollment.ts index be663123a..a23c83308 100644 --- a/sdk/nodejs/getCPSEnrollment.ts +++ b/sdk/nodejs/getCPSEnrollment.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getCPSEnrollment(args: GetCPSEnrollmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCPSEnrollment:getCPSEnrollment", { "enrollmentId": args.enrollmentId, @@ -55,7 +54,10 @@ export interface GetCPSEnrollmentResult { readonly validationType: string; } export function getCPSEnrollmentOutput(args: GetCPSEnrollmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCPSEnrollment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCPSEnrollment:getCPSEnrollment", { + "enrollmentId": args.enrollmentId, + }, opts); } /** diff --git a/sdk/nodejs/getCPSEnrollments.ts b/sdk/nodejs/getCPSEnrollments.ts index 7aa1304b5..2e707c999 100644 --- a/sdk/nodejs/getCPSEnrollments.ts +++ b/sdk/nodejs/getCPSEnrollments.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getCPSEnrollments(args: GetCPSEnrollmentsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCPSEnrollments:getCPSEnrollments", { "contractId": args.contractId, @@ -33,7 +32,10 @@ export interface GetCPSEnrollmentsResult { readonly id: string; } export function getCPSEnrollmentsOutput(args: GetCPSEnrollmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCPSEnrollments(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCPSEnrollments:getCPSEnrollments", { + "contractId": args.contractId, + }, opts); } /** diff --git a/sdk/nodejs/getClientlistLists.ts b/sdk/nodejs/getClientlistLists.ts index 9a594b07b..61aef5186 100644 --- a/sdk/nodejs/getClientlistLists.ts +++ b/sdk/nodejs/getClientlistLists.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getClientlistLists(args?: GetClientlistListsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getClientlistLists:getClientlistLists", { "name": args.name, @@ -40,7 +39,12 @@ export interface GetClientlistListsResult { readonly types?: string[]; } export function getClientlistListsOutput(args?: GetClientlistListsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClientlistLists(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getClientlistLists:getClientlistLists", { + "name": args.name, + "types": args.types, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsApiPrioritizationMatchRule.ts b/sdk/nodejs/getCloudletsApiPrioritizationMatchRule.ts index 24387fe71..bfc8e2dfe 100644 --- a/sdk/nodejs/getCloudletsApiPrioritizationMatchRule.ts +++ b/sdk/nodejs/getCloudletsApiPrioritizationMatchRule.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudletsApiPrioritizationMatchRule(args?: GetCloudletsApiPrioritizationMatchRuleArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsApiPrioritizationMatchRule:getCloudletsApiPrioritizationMatchRule", { "matchRules": args.matchRules, @@ -34,7 +33,11 @@ export interface GetCloudletsApiPrioritizationMatchRuleResult { readonly matchRules?: outputs.GetCloudletsApiPrioritizationMatchRuleMatchRule[]; } export function getCloudletsApiPrioritizationMatchRuleOutput(args?: GetCloudletsApiPrioritizationMatchRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsApiPrioritizationMatchRule(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsApiPrioritizationMatchRule:getCloudletsApiPrioritizationMatchRule", { + "matchRules": args.matchRules, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsApplicationLoadBalancer.ts b/sdk/nodejs/getCloudletsApplicationLoadBalancer.ts index 808fcd387..47295a54c 100644 --- a/sdk/nodejs/getCloudletsApplicationLoadBalancer.ts +++ b/sdk/nodejs/getCloudletsApplicationLoadBalancer.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getCloudletsApplicationLoadBalancer(args: GetCloudletsApplicationLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsApplicationLoadBalancer:getCloudletsApplicationLoadBalancer", { "originId": args.originId, @@ -47,7 +46,11 @@ export interface GetCloudletsApplicationLoadBalancerResult { readonly warnings: string; } export function getCloudletsApplicationLoadBalancerOutput(args: GetCloudletsApplicationLoadBalancerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsApplicationLoadBalancer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsApplicationLoadBalancer:getCloudletsApplicationLoadBalancer", { + "originId": args.originId, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsApplicationLoadBalancerMatchRule.ts b/sdk/nodejs/getCloudletsApplicationLoadBalancerMatchRule.ts index ef9c0096a..bc6b2449c 100644 --- a/sdk/nodejs/getCloudletsApplicationLoadBalancerMatchRule.ts +++ b/sdk/nodejs/getCloudletsApplicationLoadBalancerMatchRule.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudletsApplicationLoadBalancerMatchRule(args?: GetCloudletsApplicationLoadBalancerMatchRuleArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsApplicationLoadBalancerMatchRule:getCloudletsApplicationLoadBalancerMatchRule", { "matchRules": args.matchRules, @@ -34,7 +33,11 @@ export interface GetCloudletsApplicationLoadBalancerMatchRuleResult { readonly matchRules?: outputs.GetCloudletsApplicationLoadBalancerMatchRuleMatchRule[]; } export function getCloudletsApplicationLoadBalancerMatchRuleOutput(args?: GetCloudletsApplicationLoadBalancerMatchRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsApplicationLoadBalancerMatchRule(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsApplicationLoadBalancerMatchRule:getCloudletsApplicationLoadBalancerMatchRule", { + "matchRules": args.matchRules, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsAudienceSegmentationMatchRule.ts b/sdk/nodejs/getCloudletsAudienceSegmentationMatchRule.ts index 6e8c8536d..4a29bfafa 100644 --- a/sdk/nodejs/getCloudletsAudienceSegmentationMatchRule.ts +++ b/sdk/nodejs/getCloudletsAudienceSegmentationMatchRule.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudletsAudienceSegmentationMatchRule(args?: GetCloudletsAudienceSegmentationMatchRuleArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsAudienceSegmentationMatchRule:getCloudletsAudienceSegmentationMatchRule", { "matchRules": args.matchRules, @@ -34,7 +33,11 @@ export interface GetCloudletsAudienceSegmentationMatchRuleResult { readonly matchRules?: outputs.GetCloudletsAudienceSegmentationMatchRuleMatchRule[]; } export function getCloudletsAudienceSegmentationMatchRuleOutput(args?: GetCloudletsAudienceSegmentationMatchRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsAudienceSegmentationMatchRule(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsAudienceSegmentationMatchRule:getCloudletsAudienceSegmentationMatchRule", { + "matchRules": args.matchRules, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsEdgeRedirectorMatchRule.ts b/sdk/nodejs/getCloudletsEdgeRedirectorMatchRule.ts index c72e5beb4..57873d2b9 100644 --- a/sdk/nodejs/getCloudletsEdgeRedirectorMatchRule.ts +++ b/sdk/nodejs/getCloudletsEdgeRedirectorMatchRule.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudletsEdgeRedirectorMatchRule(args?: GetCloudletsEdgeRedirectorMatchRuleArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsEdgeRedirectorMatchRule:getCloudletsEdgeRedirectorMatchRule", { "matchRules": args.matchRules, @@ -34,7 +33,11 @@ export interface GetCloudletsEdgeRedirectorMatchRuleResult { readonly matchRules?: outputs.GetCloudletsEdgeRedirectorMatchRuleMatchRule[]; } export function getCloudletsEdgeRedirectorMatchRuleOutput(args?: GetCloudletsEdgeRedirectorMatchRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsEdgeRedirectorMatchRule(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsEdgeRedirectorMatchRule:getCloudletsEdgeRedirectorMatchRule", { + "matchRules": args.matchRules, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsForwardRewriteMatchRule.ts b/sdk/nodejs/getCloudletsForwardRewriteMatchRule.ts index 63f3906a8..3aace69f2 100644 --- a/sdk/nodejs/getCloudletsForwardRewriteMatchRule.ts +++ b/sdk/nodejs/getCloudletsForwardRewriteMatchRule.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudletsForwardRewriteMatchRule(args?: GetCloudletsForwardRewriteMatchRuleArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsForwardRewriteMatchRule:getCloudletsForwardRewriteMatchRule", { "matchRules": args.matchRules, @@ -34,7 +33,11 @@ export interface GetCloudletsForwardRewriteMatchRuleResult { readonly matchRules?: outputs.GetCloudletsForwardRewriteMatchRuleMatchRule[]; } export function getCloudletsForwardRewriteMatchRuleOutput(args?: GetCloudletsForwardRewriteMatchRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsForwardRewriteMatchRule(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsForwardRewriteMatchRule:getCloudletsForwardRewriteMatchRule", { + "matchRules": args.matchRules, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsPhasedReleaseMatchRule.ts b/sdk/nodejs/getCloudletsPhasedReleaseMatchRule.ts index f6bde5fc9..4a9bf00f6 100644 --- a/sdk/nodejs/getCloudletsPhasedReleaseMatchRule.ts +++ b/sdk/nodejs/getCloudletsPhasedReleaseMatchRule.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudletsPhasedReleaseMatchRule(args?: GetCloudletsPhasedReleaseMatchRuleArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsPhasedReleaseMatchRule:getCloudletsPhasedReleaseMatchRule", { "matchRules": args.matchRules, @@ -34,7 +33,11 @@ export interface GetCloudletsPhasedReleaseMatchRuleResult { readonly matchRules?: outputs.GetCloudletsPhasedReleaseMatchRuleMatchRule[]; } export function getCloudletsPhasedReleaseMatchRuleOutput(args?: GetCloudletsPhasedReleaseMatchRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsPhasedReleaseMatchRule(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsPhasedReleaseMatchRule:getCloudletsPhasedReleaseMatchRule", { + "matchRules": args.matchRules, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsPolicy.ts b/sdk/nodejs/getCloudletsPolicy.ts index 2e168e333..2b52d91de 100644 --- a/sdk/nodejs/getCloudletsPolicy.ts +++ b/sdk/nodejs/getCloudletsPolicy.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getCloudletsPolicy(args: GetCloudletsPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsPolicy:getCloudletsPolicy", { "policyId": args.policyId, @@ -48,7 +47,11 @@ export interface GetCloudletsPolicyResult { readonly warnings: string; } export function getCloudletsPolicyOutput(args: GetCloudletsPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsPolicy:getCloudletsPolicy", { + "policyId": args.policyId, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsPolicyActivation.ts b/sdk/nodejs/getCloudletsPolicyActivation.ts index d351c235f..4ba779fae 100644 --- a/sdk/nodejs/getCloudletsPolicyActivation.ts +++ b/sdk/nodejs/getCloudletsPolicyActivation.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getCloudletsPolicyActivation(args: GetCloudletsPolicyActivationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsPolicyActivation:getCloudletsPolicyActivation", { "associatedProperties": args.associatedProperties, @@ -38,7 +37,12 @@ export interface GetCloudletsPolicyActivationResult { readonly version: number; } export function getCloudletsPolicyActivationOutput(args: GetCloudletsPolicyActivationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsPolicyActivation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsPolicyActivation:getCloudletsPolicyActivation", { + "associatedProperties": args.associatedProperties, + "network": args.network, + "policyId": args.policyId, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsRequestControlMatchRule.ts b/sdk/nodejs/getCloudletsRequestControlMatchRule.ts index 8a505a13b..570c4105b 100644 --- a/sdk/nodejs/getCloudletsRequestControlMatchRule.ts +++ b/sdk/nodejs/getCloudletsRequestControlMatchRule.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudletsRequestControlMatchRule(args?: GetCloudletsRequestControlMatchRuleArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsRequestControlMatchRule:getCloudletsRequestControlMatchRule", { "matchRules": args.matchRules, @@ -34,7 +33,11 @@ export interface GetCloudletsRequestControlMatchRuleResult { readonly matchRules?: outputs.GetCloudletsRequestControlMatchRuleMatchRule[]; } export function getCloudletsRequestControlMatchRuleOutput(args?: GetCloudletsRequestControlMatchRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsRequestControlMatchRule(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsRequestControlMatchRule:getCloudletsRequestControlMatchRule", { + "matchRules": args.matchRules, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsSharedPolicy.ts b/sdk/nodejs/getCloudletsSharedPolicy.ts index 892ba75da..9a8e94022 100644 --- a/sdk/nodejs/getCloudletsSharedPolicy.ts +++ b/sdk/nodejs/getCloudletsSharedPolicy.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getCloudletsSharedPolicy(args: GetCloudletsSharedPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsSharedPolicy:getCloudletsSharedPolicy", { "activations": args.activations, @@ -45,7 +44,12 @@ export interface GetCloudletsSharedPolicyResult { readonly warnings: string; } export function getCloudletsSharedPolicyOutput(args: GetCloudletsSharedPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsSharedPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsSharedPolicy:getCloudletsSharedPolicy", { + "activations": args.activations, + "policyId": args.policyId, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getCloudletsVisitorPrioritizationMatchRule.ts b/sdk/nodejs/getCloudletsVisitorPrioritizationMatchRule.ts index 179db0587..ebcb49107 100644 --- a/sdk/nodejs/getCloudletsVisitorPrioritizationMatchRule.ts +++ b/sdk/nodejs/getCloudletsVisitorPrioritizationMatchRule.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudletsVisitorPrioritizationMatchRule(args?: GetCloudletsVisitorPrioritizationMatchRuleArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudletsVisitorPrioritizationMatchRule:getCloudletsVisitorPrioritizationMatchRule", { "matchRules": args.matchRules, @@ -34,7 +33,11 @@ export interface GetCloudletsVisitorPrioritizationMatchRuleResult { readonly matchRules?: outputs.GetCloudletsVisitorPrioritizationMatchRuleMatchRule[]; } export function getCloudletsVisitorPrioritizationMatchRuleOutput(args?: GetCloudletsVisitorPrioritizationMatchRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudletsVisitorPrioritizationMatchRule(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudletsVisitorPrioritizationMatchRule:getCloudletsVisitorPrioritizationMatchRule", { + "matchRules": args.matchRules, + }, opts); } /** diff --git a/sdk/nodejs/getCloudwrapperCapacities.ts b/sdk/nodejs/getCloudwrapperCapacities.ts index 53b8ea3cc..92cfc6e35 100644 --- a/sdk/nodejs/getCloudwrapperCapacities.ts +++ b/sdk/nodejs/getCloudwrapperCapacities.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudwrapperCapacities(args?: GetCloudwrapperCapacitiesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudwrapperCapacities:getCloudwrapperCapacities", { "capacities": args.capacities, @@ -36,7 +35,12 @@ export interface GetCloudwrapperCapacitiesResult { readonly id: string; } export function getCloudwrapperCapacitiesOutput(args?: GetCloudwrapperCapacitiesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudwrapperCapacities(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudwrapperCapacities:getCloudwrapperCapacities", { + "capacities": args.capacities, + "contractIds": args.contractIds, + }, opts); } /** diff --git a/sdk/nodejs/getCloudwrapperConfiguration.ts b/sdk/nodejs/getCloudwrapperConfiguration.ts index 05197c90b..b76b55c6f 100644 --- a/sdk/nodejs/getCloudwrapperConfiguration.ts +++ b/sdk/nodejs/getCloudwrapperConfiguration.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getCloudwrapperConfiguration(args: GetCloudwrapperConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudwrapperConfiguration:getCloudwrapperConfiguration", { "id": args.id, @@ -46,7 +45,12 @@ export interface GetCloudwrapperConfigurationResult { readonly status: string; } export function getCloudwrapperConfigurationOutput(args: GetCloudwrapperConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudwrapperConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudwrapperConfiguration:getCloudwrapperConfiguration", { + "id": args.id, + "locations": args.locations, + "multiCdnSettings": args.multiCdnSettings, + }, opts); } /** diff --git a/sdk/nodejs/getCloudwrapperConfigurations.ts b/sdk/nodejs/getCloudwrapperConfigurations.ts index b5b10d633..6ed5cc325 100644 --- a/sdk/nodejs/getCloudwrapperConfigurations.ts +++ b/sdk/nodejs/getCloudwrapperConfigurations.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudwrapperConfigurations(args?: GetCloudwrapperConfigurationsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudwrapperConfigurations:getCloudwrapperConfigurations", { "configurations": args.configurations, @@ -33,7 +32,11 @@ export interface GetCloudwrapperConfigurationsResult { readonly id: string; } export function getCloudwrapperConfigurationsOutput(args?: GetCloudwrapperConfigurationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudwrapperConfigurations(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudwrapperConfigurations:getCloudwrapperConfigurations", { + "configurations": args.configurations, + }, opts); } /** diff --git a/sdk/nodejs/getCloudwrapperLocation.ts b/sdk/nodejs/getCloudwrapperLocation.ts index 866f70ed6..7b32871df 100644 --- a/sdk/nodejs/getCloudwrapperLocation.ts +++ b/sdk/nodejs/getCloudwrapperLocation.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getCloudwrapperLocation(args: GetCloudwrapperLocationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudwrapperLocation:getCloudwrapperLocation", { "locationName": args.locationName, @@ -35,7 +34,11 @@ export interface GetCloudwrapperLocationResult { readonly trafficTypeId: number; } export function getCloudwrapperLocationOutput(args: GetCloudwrapperLocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudwrapperLocation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudwrapperLocation:getCloudwrapperLocation", { + "locationName": args.locationName, + "trafficType": args.trafficType, + }, opts); } /** diff --git a/sdk/nodejs/getCloudwrapperLocations.ts b/sdk/nodejs/getCloudwrapperLocations.ts index 3ae7f5063..86623ed99 100644 --- a/sdk/nodejs/getCloudwrapperLocations.ts +++ b/sdk/nodejs/getCloudwrapperLocations.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudwrapperLocations(args?: GetCloudwrapperLocationsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudwrapperLocations:getCloudwrapperLocations", { "locations": args.locations, @@ -33,7 +32,11 @@ export interface GetCloudwrapperLocationsResult { readonly locations?: outputs.GetCloudwrapperLocationsLocation[]; } export function getCloudwrapperLocationsOutput(args?: GetCloudwrapperLocationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudwrapperLocations(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudwrapperLocations:getCloudwrapperLocations", { + "locations": args.locations, + }, opts); } /** diff --git a/sdk/nodejs/getCloudwrapperProperties.ts b/sdk/nodejs/getCloudwrapperProperties.ts index 77bacea65..46e2556e4 100644 --- a/sdk/nodejs/getCloudwrapperProperties.ts +++ b/sdk/nodejs/getCloudwrapperProperties.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getCloudwrapperProperties(args?: GetCloudwrapperPropertiesArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCloudwrapperProperties:getCloudwrapperProperties", { "contractIds": args.contractIds, @@ -39,7 +38,13 @@ export interface GetCloudwrapperPropertiesResult { readonly unused?: boolean; } export function getCloudwrapperPropertiesOutput(args?: GetCloudwrapperPropertiesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudwrapperProperties(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCloudwrapperProperties:getCloudwrapperProperties", { + "contractIds": args.contractIds, + "properties": args.properties, + "unused": args.unused, + }, opts); } /** diff --git a/sdk/nodejs/getContract.ts b/sdk/nodejs/getContract.ts index 41cbab24b..a1f9b1b1c 100644 --- a/sdk/nodejs/getContract.ts +++ b/sdk/nodejs/getContract.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getContract(args?: GetContractArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getContract:getContract", { "groupId": args.groupId, @@ -34,7 +33,12 @@ export interface GetContractResult { readonly id: string; } export function getContractOutput(args?: GetContractOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContract(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getContract:getContract", { + "groupId": args.groupId, + "groupName": args.groupName, + }, opts); } /** diff --git a/sdk/nodejs/getContracts.ts b/sdk/nodejs/getContracts.ts index ddeae9706..33462dbb0 100644 --- a/sdk/nodejs/getContracts.ts +++ b/sdk/nodejs/getContracts.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getContracts(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getContracts:getContracts", { }, opts); @@ -24,5 +23,7 @@ export interface GetContractsResult { readonly id: string; } export function getContractsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getContracts(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getContracts:getContracts", { + }, opts); } diff --git a/sdk/nodejs/getCpCode.ts b/sdk/nodejs/getCpCode.ts index 9abf5208a..8f44bff47 100644 --- a/sdk/nodejs/getCpCode.ts +++ b/sdk/nodejs/getCpCode.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getCpCode(args: GetCpCodeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCpCode:getCpCode", { "contractId": args.contractId, @@ -37,7 +36,12 @@ export interface GetCpCodeResult { readonly productIds: string[]; } export function getCpCodeOutput(args: GetCpCodeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCpCode(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCpCode:getCpCode", { + "contractId": args.contractId, + "groupId": args.groupId, + "name": args.name, + }, opts); } /** diff --git a/sdk/nodejs/getCpsCsr.ts b/sdk/nodejs/getCpsCsr.ts index 847a7f4f4..dd15a7ce7 100644 --- a/sdk/nodejs/getCpsCsr.ts +++ b/sdk/nodejs/getCpsCsr.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getCpsCsr(args: GetCpsCsrArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCpsCsr:getCpsCsr", { "enrollmentId": args.enrollmentId, @@ -32,7 +31,10 @@ export interface GetCpsCsrResult { readonly id: string; } export function getCpsCsrOutput(args: GetCpsCsrOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCpsCsr(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCpsCsr:getCpsCsr", { + "enrollmentId": args.enrollmentId, + }, opts); } /** diff --git a/sdk/nodejs/getCpsDeployments.ts b/sdk/nodejs/getCpsDeployments.ts index 36c40849a..e8fa9d1d2 100644 --- a/sdk/nodejs/getCpsDeployments.ts +++ b/sdk/nodejs/getCpsDeployments.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getCpsDeployments(args: GetCpsDeploymentsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCpsDeployments:getCpsDeployments", { "enrollmentId": args.enrollmentId, @@ -36,7 +35,10 @@ export interface GetCpsDeploymentsResult { readonly stagingCertificateRsa: string; } export function getCpsDeploymentsOutput(args: GetCpsDeploymentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCpsDeployments(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCpsDeployments:getCpsDeployments", { + "enrollmentId": args.enrollmentId, + }, opts); } /** diff --git a/sdk/nodejs/getCpsWarnings.ts b/sdk/nodejs/getCpsWarnings.ts index e00403bed..63a67782d 100644 --- a/sdk/nodejs/getCpsWarnings.ts +++ b/sdk/nodejs/getCpsWarnings.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getCpsWarnings(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getCpsWarnings:getCpsWarnings", { }, opts); @@ -22,5 +21,7 @@ export interface GetCpsWarningsResult { readonly warnings: {[key: string]: string}; } export function getCpsWarningsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getCpsWarnings(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getCpsWarnings:getCpsWarnings", { + }, opts); } diff --git a/sdk/nodejs/getDatastreamActivationHistory.ts b/sdk/nodejs/getDatastreamActivationHistory.ts index f68dd3d2c..fa6be835c 100644 --- a/sdk/nodejs/getDatastreamActivationHistory.ts +++ b/sdk/nodejs/getDatastreamActivationHistory.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getDatastreamActivationHistory(args: GetDatastreamActivationHistoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getDatastreamActivationHistory:getDatastreamActivationHistory", { "streamId": args.streamId, @@ -33,7 +32,10 @@ export interface GetDatastreamActivationHistoryResult { readonly streamId: number; } export function getDatastreamActivationHistoryOutput(args: GetDatastreamActivationHistoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatastreamActivationHistory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getDatastreamActivationHistory:getDatastreamActivationHistory", { + "streamId": args.streamId, + }, opts); } /** diff --git a/sdk/nodejs/getDatastreamDatasetFields.ts b/sdk/nodejs/getDatastreamDatasetFields.ts index a64708c48..0d60f62aa 100644 --- a/sdk/nodejs/getDatastreamDatasetFields.ts +++ b/sdk/nodejs/getDatastreamDatasetFields.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getDatastreamDatasetFields(args?: GetDatastreamDatasetFieldsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getDatastreamDatasetFields:getDatastreamDatasetFields", { "productId": args.productId, @@ -34,7 +33,11 @@ export interface GetDatastreamDatasetFieldsResult { readonly productId?: string; } export function getDatastreamDatasetFieldsOutput(args?: GetDatastreamDatasetFieldsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatastreamDatasetFields(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getDatastreamDatasetFields:getDatastreamDatasetFields", { + "productId": args.productId, + }, opts); } /** diff --git a/sdk/nodejs/getDatastreams.ts b/sdk/nodejs/getDatastreams.ts index 71ba5b29e..1d421fc7b 100644 --- a/sdk/nodejs/getDatastreams.ts +++ b/sdk/nodejs/getDatastreams.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getDatastreams(args?: GetDatastreamsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getDatastreams:getDatastreams", { "groupId": args.groupId, @@ -34,7 +33,11 @@ export interface GetDatastreamsResult { readonly streamsDetails: outputs.GetDatastreamsStreamsDetail[]; } export function getDatastreamsOutput(args?: GetDatastreamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatastreams(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getDatastreams:getDatastreams", { + "groupId": args.groupId, + }, opts); } /** diff --git a/sdk/nodejs/getDnsRecordSet.ts b/sdk/nodejs/getDnsRecordSet.ts index b7a0d723b..0edf037c5 100644 --- a/sdk/nodejs/getDnsRecordSet.ts +++ b/sdk/nodejs/getDnsRecordSet.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getDnsRecordSet(args: GetDnsRecordSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getDnsRecordSet:getDnsRecordSet", { "host": args.host, @@ -37,7 +36,12 @@ export interface GetDnsRecordSetResult { readonly zone: string; } export function getDnsRecordSetOutput(args: GetDnsRecordSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDnsRecordSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getDnsRecordSet:getDnsRecordSet", { + "host": args.host, + "recordType": args.recordType, + "zone": args.zone, + }, opts); } /** diff --git a/sdk/nodejs/getEdgeWorker.ts b/sdk/nodejs/getEdgeWorker.ts index df48a6d73..6a2e4bdd1 100644 --- a/sdk/nodejs/getEdgeWorker.ts +++ b/sdk/nodejs/getEdgeWorker.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getEdgeWorker(args: GetEdgeWorkerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getEdgeWorker:getEdgeWorker", { "edgeworkerId": args.edgeworkerId, @@ -39,7 +38,11 @@ export interface GetEdgeWorkerResult { readonly warnings: string[]; } export function getEdgeWorkerOutput(args: GetEdgeWorkerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEdgeWorker(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getEdgeWorker:getEdgeWorker", { + "edgeworkerId": args.edgeworkerId, + "localBundle": args.localBundle, + }, opts); } /** diff --git a/sdk/nodejs/getEdgeWorkerActivation.ts b/sdk/nodejs/getEdgeWorkerActivation.ts index 47b9c2049..a3c2653dd 100644 --- a/sdk/nodejs/getEdgeWorkerActivation.ts +++ b/sdk/nodejs/getEdgeWorkerActivation.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getEdgeWorkerActivation(args: GetEdgeWorkerActivationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getEdgeWorkerActivation:getEdgeWorkerActivation", { "edgeworkerId": args.edgeworkerId, @@ -35,7 +34,11 @@ export interface GetEdgeWorkerActivationResult { readonly version: string; } export function getEdgeWorkerActivationOutput(args: GetEdgeWorkerActivationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEdgeWorkerActivation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getEdgeWorkerActivation:getEdgeWorkerActivation", { + "edgeworkerId": args.edgeworkerId, + "network": args.network, + }, opts); } /** diff --git a/sdk/nodejs/getEdgeWorkersPropertyRules.ts b/sdk/nodejs/getEdgeWorkersPropertyRules.ts index f0b90d98d..82da992f9 100644 --- a/sdk/nodejs/getEdgeWorkersPropertyRules.ts +++ b/sdk/nodejs/getEdgeWorkersPropertyRules.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getEdgeWorkersPropertyRules(args: GetEdgeWorkersPropertyRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getEdgeWorkersPropertyRules:getEdgeWorkersPropertyRules", { "edgeworkerId": args.edgeworkerId, @@ -31,7 +30,10 @@ export interface GetEdgeWorkersPropertyRulesResult { readonly json: string; } export function getEdgeWorkersPropertyRulesOutput(args: GetEdgeWorkersPropertyRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEdgeWorkersPropertyRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getEdgeWorkersPropertyRules:getEdgeWorkersPropertyRules", { + "edgeworkerId": args.edgeworkerId, + }, opts); } /** diff --git a/sdk/nodejs/getEdgeWorkersResourceTier.ts b/sdk/nodejs/getEdgeWorkersResourceTier.ts index db5e848fa..303dbcd7c 100644 --- a/sdk/nodejs/getEdgeWorkersResourceTier.ts +++ b/sdk/nodejs/getEdgeWorkersResourceTier.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getEdgeWorkersResourceTier(args: GetEdgeWorkersResourceTierArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getEdgeWorkersResourceTier:getEdgeWorkersResourceTier", { "contractId": args.contractId, @@ -34,7 +33,11 @@ export interface GetEdgeWorkersResourceTierResult { readonly resourceTierName: string; } export function getEdgeWorkersResourceTierOutput(args: GetEdgeWorkersResourceTierOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEdgeWorkersResourceTier(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getEdgeWorkersResourceTier:getEdgeWorkersResourceTier", { + "contractId": args.contractId, + "resourceTierName": args.resourceTierName, + }, opts); } /** diff --git a/sdk/nodejs/getEdgekvGroupItems.ts b/sdk/nodejs/getEdgekvGroupItems.ts index e671ec4e9..139c8a72b 100644 --- a/sdk/nodejs/getEdgekvGroupItems.ts +++ b/sdk/nodejs/getEdgekvGroupItems.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getEdgekvGroupItems(args: GetEdgekvGroupItemsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getEdgekvGroupItems:getEdgekvGroupItems", { "groupName": args.groupName, @@ -37,7 +36,12 @@ export interface GetEdgekvGroupItemsResult { readonly network: string; } export function getEdgekvGroupItemsOutput(args: GetEdgekvGroupItemsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEdgekvGroupItems(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getEdgekvGroupItems:getEdgekvGroupItems", { + "groupName": args.groupName, + "namespaceName": args.namespaceName, + "network": args.network, + }, opts); } /** diff --git a/sdk/nodejs/getEdgekvGroups.ts b/sdk/nodejs/getEdgekvGroups.ts index 472f78ade..497264320 100644 --- a/sdk/nodejs/getEdgekvGroups.ts +++ b/sdk/nodejs/getEdgekvGroups.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getEdgekvGroups(args: GetEdgekvGroupsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getEdgekvGroups:getEdgekvGroups", { "namespaceName": args.namespaceName, @@ -34,7 +33,11 @@ export interface GetEdgekvGroupsResult { readonly network: string; } export function getEdgekvGroupsOutput(args: GetEdgekvGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEdgekvGroups(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getEdgekvGroups:getEdgekvGroups", { + "namespaceName": args.namespaceName, + "network": args.network, + }, opts); } /** diff --git a/sdk/nodejs/getGroup.ts b/sdk/nodejs/getGroup.ts index cb6a3e038..a7c8b88de 100644 --- a/sdk/nodejs/getGroup.ts +++ b/sdk/nodejs/getGroup.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGroup:getGroup", { "contractId": args.contractId, @@ -33,7 +32,11 @@ export interface GetGroupResult { readonly id: string; } export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGroup:getGroup", { + "contractId": args.contractId, + "groupName": args.groupName, + }, opts); } /** diff --git a/sdk/nodejs/getGroups.ts b/sdk/nodejs/getGroups.ts index fb50de873..3da7fa23b 100644 --- a/sdk/nodejs/getGroups.ts +++ b/sdk/nodejs/getGroups.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getGroups(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGroups:getGroups", { }, opts); @@ -24,5 +23,7 @@ export interface GetGroupsResult { readonly id: string; } export function getGroupsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getGroups(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGroups:getGroups", { + }, opts); } diff --git a/sdk/nodejs/getGtmAsmap.ts b/sdk/nodejs/getGtmAsmap.ts index e94950756..5f42389d4 100644 --- a/sdk/nodejs/getGtmAsmap.ts +++ b/sdk/nodejs/getGtmAsmap.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getGtmAsmap(args: GetGtmAsmapArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmAsmap:getGtmAsmap", { "assignments": args.assignments, @@ -44,7 +43,14 @@ export interface GetGtmAsmapResult { readonly mapName: string; } export function getGtmAsmapOutput(args: GetGtmAsmapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmAsmap(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmAsmap:getGtmAsmap", { + "assignments": args.assignments, + "defaultDatacenter": args.defaultDatacenter, + "domain": args.domain, + "links": args.links, + "mapName": args.mapName, + }, opts); } /** diff --git a/sdk/nodejs/getGtmCidrmap.ts b/sdk/nodejs/getGtmCidrmap.ts index 2888a8cd1..7023a9702 100644 --- a/sdk/nodejs/getGtmCidrmap.ts +++ b/sdk/nodejs/getGtmCidrmap.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getGtmCidrmap(args: GetGtmCidrmapArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmCidrmap:getGtmCidrmap", { "assignments": args.assignments, @@ -44,7 +43,14 @@ export interface GetGtmCidrmapResult { readonly mapName: string; } export function getGtmCidrmapOutput(args: GetGtmCidrmapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmCidrmap(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmCidrmap:getGtmCidrmap", { + "assignments": args.assignments, + "defaultDatacenter": args.defaultDatacenter, + "domain": args.domain, + "links": args.links, + "mapName": args.mapName, + }, opts); } /** diff --git a/sdk/nodejs/getGtmDatacenter.ts b/sdk/nodejs/getGtmDatacenter.ts index cde9064f0..adf5dd270 100644 --- a/sdk/nodejs/getGtmDatacenter.ts +++ b/sdk/nodejs/getGtmDatacenter.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getGtmDatacenter(args: GetGtmDatacenterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmDatacenter:getGtmDatacenter", { "datacenterId": args.datacenterId, @@ -50,7 +49,11 @@ export interface GetGtmDatacenterResult { readonly virtual: boolean; } export function getGtmDatacenterOutput(args: GetGtmDatacenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmDatacenter(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmDatacenter:getGtmDatacenter", { + "datacenterId": args.datacenterId, + "domain": args.domain, + }, opts); } /** diff --git a/sdk/nodejs/getGtmDatacenters.ts b/sdk/nodejs/getGtmDatacenters.ts index 96cf49643..ec5b269e3 100644 --- a/sdk/nodejs/getGtmDatacenters.ts +++ b/sdk/nodejs/getGtmDatacenters.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getGtmDatacenters(args: GetGtmDatacentersArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmDatacenters:getGtmDatacenters", { "domain": args.domain, @@ -33,7 +32,10 @@ export interface GetGtmDatacentersResult { readonly id: string; } export function getGtmDatacentersOutput(args: GetGtmDatacentersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmDatacenters(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmDatacenters:getGtmDatacenters", { + "domain": args.domain, + }, opts); } /** diff --git a/sdk/nodejs/getGtmDefaultDatacenter.ts b/sdk/nodejs/getGtmDefaultDatacenter.ts index 410860031..d4574e5ae 100644 --- a/sdk/nodejs/getGtmDefaultDatacenter.ts +++ b/sdk/nodejs/getGtmDefaultDatacenter.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getGtmDefaultDatacenter(args: GetGtmDefaultDatacenterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmDefaultDatacenter:getGtmDefaultDatacenter", { "datacenter": args.datacenter, @@ -35,7 +34,11 @@ export interface GetGtmDefaultDatacenterResult { readonly nickname: string; } export function getGtmDefaultDatacenterOutput(args: GetGtmDefaultDatacenterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmDefaultDatacenter(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmDefaultDatacenter:getGtmDefaultDatacenter", { + "datacenter": args.datacenter, + "domain": args.domain, + }, opts); } /** diff --git a/sdk/nodejs/getGtmDomain.ts b/sdk/nodejs/getGtmDomain.ts index ed023f375..f79c57892 100644 --- a/sdk/nodejs/getGtmDomain.ts +++ b/sdk/nodejs/getGtmDomain.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getGtmDomain(args: GetGtmDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmDomain:getGtmDomain", { "asMaps": args.asMaps, @@ -83,7 +82,18 @@ export interface GetGtmDomainResult { readonly type: string; } export function getGtmDomainOutput(args: GetGtmDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmDomain:getGtmDomain", { + "asMaps": args.asMaps, + "cidrMaps": args.cidrMaps, + "datacenters": args.datacenters, + "geographicMaps": args.geographicMaps, + "links": args.links, + "name": args.name, + "properties": args.properties, + "resources": args.resources, + "status": args.status, + }, opts); } /** diff --git a/sdk/nodejs/getGtmDomains.ts b/sdk/nodejs/getGtmDomains.ts index 407ea7561..51df419a5 100644 --- a/sdk/nodejs/getGtmDomains.ts +++ b/sdk/nodejs/getGtmDomains.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getGtmDomains(args?: GetGtmDomainsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmDomains:getGtmDomains", { "domains": args.domains, @@ -33,7 +32,11 @@ export interface GetGtmDomainsResult { readonly id: string; } export function getGtmDomainsOutput(args?: GetGtmDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmDomains(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmDomains:getGtmDomains", { + "domains": args.domains, + }, opts); } /** diff --git a/sdk/nodejs/getGtmResource.ts b/sdk/nodejs/getGtmResource.ts index e6e38738e..d606d4c05 100644 --- a/sdk/nodejs/getGtmResource.ts +++ b/sdk/nodejs/getGtmResource.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getGtmResource(args: GetGtmResourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmResource:getGtmResource", { "domain": args.domain, @@ -49,7 +48,13 @@ export interface GetGtmResourceResult { readonly upperBound: number; } export function getGtmResourceOutput(args: GetGtmResourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmResource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmResource:getGtmResource", { + "domain": args.domain, + "links": args.links, + "resourceInstances": args.resourceInstances, + "resourceName": args.resourceName, + }, opts); } /** diff --git a/sdk/nodejs/getGtmResources.ts b/sdk/nodejs/getGtmResources.ts index 82e20b787..09f681d83 100644 --- a/sdk/nodejs/getGtmResources.ts +++ b/sdk/nodejs/getGtmResources.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getGtmResources(args: GetGtmResourcesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getGtmResources:getGtmResources", { "domain": args.domain, @@ -35,7 +34,11 @@ export interface GetGtmResourcesResult { readonly resources?: outputs.GetGtmResourcesResource[]; } export function getGtmResourcesOutput(args: GetGtmResourcesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGtmResources(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getGtmResources:getGtmResources", { + "domain": args.domain, + "resources": args.resources, + }, opts); } /** diff --git a/sdk/nodejs/getIamContactTypes.ts b/sdk/nodejs/getIamContactTypes.ts index 75f2654f4..68dca9c07 100644 --- a/sdk/nodejs/getIamContactTypes.ts +++ b/sdk/nodejs/getIamContactTypes.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getIamContactTypes(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getIamContactTypes:getIamContactTypes", { }, opts); @@ -22,5 +21,7 @@ export interface GetIamContactTypesResult { readonly id: string; } export function getIamContactTypesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getIamContactTypes(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getIamContactTypes:getIamContactTypes", { + }, opts); } diff --git a/sdk/nodejs/getIamCountries.ts b/sdk/nodejs/getIamCountries.ts index 76bcab468..bf7d9bc37 100644 --- a/sdk/nodejs/getIamCountries.ts +++ b/sdk/nodejs/getIamCountries.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getIamCountries(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getIamCountries:getIamCountries", { }, opts); @@ -22,5 +21,7 @@ export interface GetIamCountriesResult { readonly id: string; } export function getIamCountriesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getIamCountries(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getIamCountries:getIamCountries", { + }, opts); } diff --git a/sdk/nodejs/getIamGrantableRoles.ts b/sdk/nodejs/getIamGrantableRoles.ts index e2708f0b9..9d08cc7cb 100644 --- a/sdk/nodejs/getIamGrantableRoles.ts +++ b/sdk/nodejs/getIamGrantableRoles.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getIamGrantableRoles(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getIamGrantableRoles:getIamGrantableRoles", { }, opts); @@ -24,5 +23,7 @@ export interface GetIamGrantableRolesResult { readonly id: string; } export function getIamGrantableRolesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getIamGrantableRoles(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getIamGrantableRoles:getIamGrantableRoles", { + }, opts); } diff --git a/sdk/nodejs/getIamRoles.ts b/sdk/nodejs/getIamRoles.ts index 999e8fec1..43f13ab8f 100644 --- a/sdk/nodejs/getIamRoles.ts +++ b/sdk/nodejs/getIamRoles.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getIamRoles(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getIamRoles:getIamRoles", { }, opts); @@ -24,5 +23,7 @@ export interface GetIamRolesResult { readonly roles: outputs.GetIamRolesRole[]; } export function getIamRolesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getIamRoles(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getIamRoles:getIamRoles", { + }, opts); } diff --git a/sdk/nodejs/getIamStates.ts b/sdk/nodejs/getIamStates.ts index 105dd6232..312d15f08 100644 --- a/sdk/nodejs/getIamStates.ts +++ b/sdk/nodejs/getIamStates.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getIamStates(args: GetIamStatesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getIamStates:getIamStates", { "country": args.country, @@ -31,7 +30,10 @@ export interface GetIamStatesResult { readonly states: string[]; } export function getIamStatesOutput(args: GetIamStatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIamStates(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getIamStates:getIamStates", { + "country": args.country, + }, opts); } /** diff --git a/sdk/nodejs/getIamSupportedLangs.ts b/sdk/nodejs/getIamSupportedLangs.ts index cd57816c8..48093cd4d 100644 --- a/sdk/nodejs/getIamSupportedLangs.ts +++ b/sdk/nodejs/getIamSupportedLangs.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getIamSupportedLangs(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getIamSupportedLangs:getIamSupportedLangs", { }, opts); @@ -22,5 +21,7 @@ export interface GetIamSupportedLangsResult { readonly languages: string[]; } export function getIamSupportedLangsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getIamSupportedLangs(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getIamSupportedLangs:getIamSupportedLangs", { + }, opts); } diff --git a/sdk/nodejs/getIamTimeoutPolicies.ts b/sdk/nodejs/getIamTimeoutPolicies.ts index e37591624..b2e8ae937 100644 --- a/sdk/nodejs/getIamTimeoutPolicies.ts +++ b/sdk/nodejs/getIamTimeoutPolicies.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getIamTimeoutPolicies(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getIamTimeoutPolicies:getIamTimeoutPolicies", { }, opts); @@ -22,5 +21,7 @@ export interface GetIamTimeoutPoliciesResult { readonly policies: {[key: string]: number}; } export function getIamTimeoutPoliciesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getIamTimeoutPolicies(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getIamTimeoutPolicies:getIamTimeoutPolicies", { + }, opts); } diff --git a/sdk/nodejs/getIamTimezones.ts b/sdk/nodejs/getIamTimezones.ts index aef5838e5..2cd80ca6d 100644 --- a/sdk/nodejs/getIamTimezones.ts +++ b/sdk/nodejs/getIamTimezones.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getIamTimezones(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getIamTimezones:getIamTimezones", { }, opts); @@ -24,5 +23,7 @@ export interface GetIamTimezonesResult { readonly timezones: outputs.GetIamTimezonesTimezone[]; } export function getIamTimezonesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getIamTimezones(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getIamTimezones:getIamTimezones", { + }, opts); } diff --git a/sdk/nodejs/getImagingPolicyImage.ts b/sdk/nodejs/getImagingPolicyImage.ts index fd25b41a6..454100247 100644 --- a/sdk/nodejs/getImagingPolicyImage.ts +++ b/sdk/nodejs/getImagingPolicyImage.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getImagingPolicyImage(args: GetImagingPolicyImageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getImagingPolicyImage:getImagingPolicyImage", { "policy": args.policy, @@ -33,7 +32,10 @@ export interface GetImagingPolicyImageResult { readonly policy: outputs.GetImagingPolicyImagePolicy; } export function getImagingPolicyImageOutput(args: GetImagingPolicyImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getImagingPolicyImage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getImagingPolicyImage:getImagingPolicyImage", { + "policy": args.policy, + }, opts); } /** diff --git a/sdk/nodejs/getImagingPolicyVideo.ts b/sdk/nodejs/getImagingPolicyVideo.ts index fa722ea07..ef0499d8c 100644 --- a/sdk/nodejs/getImagingPolicyVideo.ts +++ b/sdk/nodejs/getImagingPolicyVideo.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getImagingPolicyVideo(args: GetImagingPolicyVideoArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getImagingPolicyVideo:getImagingPolicyVideo", { "policy": args.policy, @@ -33,7 +32,10 @@ export interface GetImagingPolicyVideoResult { readonly policy: outputs.GetImagingPolicyVideoPolicy; } export function getImagingPolicyVideoOutput(args: GetImagingPolicyVideoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getImagingPolicyVideo(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getImagingPolicyVideo:getImagingPolicyVideo", { + "policy": args.policy, + }, opts); } /** diff --git a/sdk/nodejs/getNetworkLists.ts b/sdk/nodejs/getNetworkLists.ts index 1e8a63050..e7b51ac45 100644 --- a/sdk/nodejs/getNetworkLists.ts +++ b/sdk/nodejs/getNetworkLists.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getNetworkLists(args?: GetNetworkListsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getNetworkLists:getNetworkLists", { "name": args.name, @@ -43,7 +42,13 @@ export interface GetNetworkListsResult { readonly type?: string; } export function getNetworkListsOutput(args?: GetNetworkListsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkLists(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getNetworkLists:getNetworkLists", { + "name": args.name, + "networkListId": args.networkListId, + "type": args.type, + }, opts); } /** diff --git a/sdk/nodejs/getProperties.ts b/sdk/nodejs/getProperties.ts index bb061aac0..db67415af 100644 --- a/sdk/nodejs/getProperties.ts +++ b/sdk/nodejs/getProperties.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getProperties(args: GetPropertiesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getProperties:getProperties", { "contractId": args.contractId, @@ -36,7 +35,11 @@ export interface GetPropertiesResult { readonly properties: outputs.GetPropertiesProperty[]; } export function getPropertiesOutput(args: GetPropertiesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProperties(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getProperties:getProperties", { + "contractId": args.contractId, + "groupId": args.groupId, + }, opts); } /** diff --git a/sdk/nodejs/getPropertiesSearch.ts b/sdk/nodejs/getPropertiesSearch.ts index 675da6594..9775c3c2b 100644 --- a/sdk/nodejs/getPropertiesSearch.ts +++ b/sdk/nodejs/getPropertiesSearch.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getPropertiesSearch(args: GetPropertiesSearchArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertiesSearch:getPropertiesSearch", { "key": args.key, @@ -36,7 +35,11 @@ export interface GetPropertiesSearchResult { readonly value: string; } export function getPropertiesSearchOutput(args: GetPropertiesSearchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertiesSearch(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertiesSearch:getPropertiesSearch", { + "key": args.key, + "value": args.value, + }, opts); } /** diff --git a/sdk/nodejs/getProperty.ts b/sdk/nodejs/getProperty.ts index 2dd5df931..961554745 100644 --- a/sdk/nodejs/getProperty.ts +++ b/sdk/nodejs/getProperty.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getProperty(args: GetPropertyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getProperty:getProperty", { "name": args.name, @@ -43,7 +42,11 @@ export interface GetPropertyResult { readonly version?: number; } export function getPropertyOutput(args: GetPropertyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProperty(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getProperty:getProperty", { + "name": args.name, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyActivation.ts b/sdk/nodejs/getPropertyActivation.ts index b007fab8e..efc1fcd1f 100644 --- a/sdk/nodejs/getPropertyActivation.ts +++ b/sdk/nodejs/getPropertyActivation.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getPropertyActivation(args: GetPropertyActivationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyActivation:getPropertyActivation", { "network": args.network, @@ -42,7 +41,12 @@ export interface GetPropertyActivationResult { readonly warnings: string; } export function getPropertyActivationOutput(args: GetPropertyActivationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyActivation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyActivation:getPropertyActivation", { + "network": args.network, + "propertyId": args.propertyId, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyHostnames.ts b/sdk/nodejs/getPropertyHostnames.ts index 820e0696f..4b553e9af 100644 --- a/sdk/nodejs/getPropertyHostnames.ts +++ b/sdk/nodejs/getPropertyHostnames.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getPropertyHostnames(args: GetPropertyHostnamesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyHostnames:getPropertyHostnames", { "contractId": args.contractId, @@ -42,7 +41,13 @@ export interface GetPropertyHostnamesResult { readonly version: number; } export function getPropertyHostnamesOutput(args: GetPropertyHostnamesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyHostnames(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyHostnames:getPropertyHostnames", { + "contractId": args.contractId, + "groupId": args.groupId, + "propertyId": args.propertyId, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyInclude.ts b/sdk/nodejs/getPropertyInclude.ts index ab3666c76..192083bd5 100644 --- a/sdk/nodejs/getPropertyInclude.ts +++ b/sdk/nodejs/getPropertyInclude.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getPropertyInclude(args: GetPropertyIncludeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyInclude:getPropertyInclude", { "contractId": args.contractId, @@ -38,7 +37,12 @@ export interface GetPropertyIncludeResult { readonly type: string; } export function getPropertyIncludeOutput(args: GetPropertyIncludeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyInclude(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyInclude:getPropertyInclude", { + "contractId": args.contractId, + "groupId": args.groupId, + "includeId": args.includeId, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyIncludeActivation.ts b/sdk/nodejs/getPropertyIncludeActivation.ts index 7df7772cc..43b33bdce 100644 --- a/sdk/nodejs/getPropertyIncludeActivation.ts +++ b/sdk/nodejs/getPropertyIncludeActivation.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getPropertyIncludeActivation(args: GetPropertyIncludeActivationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyIncludeActivation:getPropertyIncludeActivation", { "contractId": args.contractId, @@ -43,7 +42,13 @@ export interface GetPropertyIncludeActivationResult { readonly version: string; } export function getPropertyIncludeActivationOutput(args: GetPropertyIncludeActivationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyIncludeActivation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyIncludeActivation:getPropertyIncludeActivation", { + "contractId": args.contractId, + "groupId": args.groupId, + "includeId": args.includeId, + "network": args.network, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyIncludeParents.ts b/sdk/nodejs/getPropertyIncludeParents.ts index c140276f2..929a9ce86 100644 --- a/sdk/nodejs/getPropertyIncludeParents.ts +++ b/sdk/nodejs/getPropertyIncludeParents.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getPropertyIncludeParents(args: GetPropertyIncludeParentsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyIncludeParents:getPropertyIncludeParents", { "contractId": args.contractId, @@ -39,7 +38,12 @@ export interface GetPropertyIncludeParentsResult { readonly parents: outputs.GetPropertyIncludeParentsParent[]; } export function getPropertyIncludeParentsOutput(args: GetPropertyIncludeParentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyIncludeParents(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyIncludeParents:getPropertyIncludeParents", { + "contractId": args.contractId, + "groupId": args.groupId, + "includeId": args.includeId, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyIncludeRules.ts b/sdk/nodejs/getPropertyIncludeRules.ts index 299113205..87e14225f 100644 --- a/sdk/nodejs/getPropertyIncludeRules.ts +++ b/sdk/nodejs/getPropertyIncludeRules.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getPropertyIncludeRules(args: GetPropertyIncludeRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyIncludeRules:getPropertyIncludeRules", { "contractId": args.contractId, @@ -45,7 +44,13 @@ export interface GetPropertyIncludeRulesResult { readonly version: number; } export function getPropertyIncludeRulesOutput(args: GetPropertyIncludeRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyIncludeRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyIncludeRules:getPropertyIncludeRules", { + "contractId": args.contractId, + "groupId": args.groupId, + "includeId": args.includeId, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyIncludes.ts b/sdk/nodejs/getPropertyIncludes.ts index f3578bc3e..b94b49dff 100644 --- a/sdk/nodejs/getPropertyIncludes.ts +++ b/sdk/nodejs/getPropertyIncludes.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getPropertyIncludes(args: GetPropertyIncludesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyIncludes:getPropertyIncludes", { "contractId": args.contractId, @@ -42,7 +41,13 @@ export interface GetPropertyIncludesResult { readonly type?: string; } export function getPropertyIncludesOutput(args: GetPropertyIncludesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyIncludes(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyIncludes:getPropertyIncludes", { + "contractId": args.contractId, + "groupId": args.groupId, + "parentProperty": args.parentProperty, + "type": args.type, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyProducts.ts b/sdk/nodejs/getPropertyProducts.ts index c75a7b2b1..8104154f2 100644 --- a/sdk/nodejs/getPropertyProducts.ts +++ b/sdk/nodejs/getPropertyProducts.ts @@ -7,7 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getPropertyProducts(args: GetPropertyProductsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyProducts:getPropertyProducts", { "contractId": args.contractId, @@ -33,7 +32,10 @@ export interface GetPropertyProductsResult { readonly products: outputs.GetPropertyProductsProduct[]; } export function getPropertyProductsOutput(args: GetPropertyProductsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyProducts(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyProducts:getPropertyProducts", { + "contractId": args.contractId, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyRuleFormats.ts b/sdk/nodejs/getPropertyRuleFormats.ts index 8345aa274..614d86edc 100644 --- a/sdk/nodejs/getPropertyRuleFormats.ts +++ b/sdk/nodejs/getPropertyRuleFormats.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getPropertyRuleFormats(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyRuleFormats:getPropertyRuleFormats", { }, opts); @@ -22,5 +21,7 @@ export interface GetPropertyRuleFormatsResult { readonly ruleFormats: string[]; } export function getPropertyRuleFormatsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getPropertyRuleFormats(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyRuleFormats:getPropertyRuleFormats", { + }, opts); } diff --git a/sdk/nodejs/getPropertyRules.ts b/sdk/nodejs/getPropertyRules.ts index 0a2711516..d5604f855 100644 --- a/sdk/nodejs/getPropertyRules.ts +++ b/sdk/nodejs/getPropertyRules.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getPropertyRules(args: GetPropertyRulesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyRules:getPropertyRules", { "contractId": args.contractId, @@ -44,7 +43,14 @@ export interface GetPropertyRulesResult { readonly version: number; } export function getPropertyRulesOutput(args: GetPropertyRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyRules(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyRules:getPropertyRules", { + "contractId": args.contractId, + "groupId": args.groupId, + "propertyId": args.propertyId, + "ruleFormat": args.ruleFormat, + "version": args.version, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyRulesBuilder.ts b/sdk/nodejs/getPropertyRulesBuilder.ts index 9b4ee685e..a7772c418 100644 --- a/sdk/nodejs/getPropertyRulesBuilder.ts +++ b/sdk/nodejs/getPropertyRulesBuilder.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getPropertyRulesBuilder(args?: GetPropertyRulesBuilderArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyRulesBuilder:getPropertyRulesBuilder", { "rulesV20230105": args.rulesV20230105, @@ -50,7 +49,16 @@ export interface GetPropertyRulesBuilderResult { readonly rulesV20240212?: outputs.GetPropertyRulesBuilderRulesV20240212; } export function getPropertyRulesBuilderOutput(args?: GetPropertyRulesBuilderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyRulesBuilder(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyRulesBuilder:getPropertyRulesBuilder", { + "rulesV20230105": args.rulesV20230105, + "rulesV20230530": args.rulesV20230530, + "rulesV20230920": args.rulesV20230920, + "rulesV20231030": args.rulesV20231030, + "rulesV20240109": args.rulesV20240109, + "rulesV20240212": args.rulesV20240212, + }, opts); } /** diff --git a/sdk/nodejs/getPropertyRulesTemplate.ts b/sdk/nodejs/getPropertyRulesTemplate.ts index 6aa5556a9..863353020 100644 --- a/sdk/nodejs/getPropertyRulesTemplate.ts +++ b/sdk/nodejs/getPropertyRulesTemplate.ts @@ -8,7 +8,6 @@ import * as utilities from "./utilities"; export function getPropertyRulesTemplate(args?: GetPropertyRulesTemplateArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("akamai:index/getPropertyRulesTemplate:getPropertyRulesTemplate", { "templateFile": args.templateFile, @@ -46,7 +45,15 @@ export interface GetPropertyRulesTemplateResult { readonly variables?: outputs.GetPropertyRulesTemplateVariable[]; } export function getPropertyRulesTemplateOutput(args?: GetPropertyRulesTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPropertyRulesTemplate(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("akamai:index/getPropertyRulesTemplate:getPropertyRulesTemplate", { + "templateFile": args.templateFile, + "templates": args.templates, + "varDefinitionFile": args.varDefinitionFile, + "varValuesFile": args.varValuesFile, + "variables": args.variables, + }, opts); } /**