From 3c5f5ac8542ce744f8a50b89b6a7e698699e4f64 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 17:18:17 +0000 Subject: [PATCH 1/7] chore(deps): update rust to v1.83.0 --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index d3cc721fe..7466ea07d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.82.0" +channel = "1.83.0" targets = ["wasm32-wasip1"] \ No newline at end of file From 35531fd8eb347322c2466f9e38b9504f87b5e191 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Fri, 29 Nov 2024 15:14:09 +0100 Subject: [PATCH 2/7] Update --- .../tests/output/cyclic-types/rust-toolchain.toml | 2 +- .../tests/output/functions-secrets/rust-toolchain.toml | 2 +- .../tests/output/mini-awsnative/rust-toolchain.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pulumi_wasm_generator_lib/tests/output/cyclic-types/rust-toolchain.toml b/pulumi_wasm_generator_lib/tests/output/cyclic-types/rust-toolchain.toml index d3cc721fe..7466ea07d 100644 --- a/pulumi_wasm_generator_lib/tests/output/cyclic-types/rust-toolchain.toml +++ b/pulumi_wasm_generator_lib/tests/output/cyclic-types/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.82.0" +channel = "1.83.0" targets = ["wasm32-wasip1"] \ No newline at end of file diff --git a/pulumi_wasm_generator_lib/tests/output/functions-secrets/rust-toolchain.toml b/pulumi_wasm_generator_lib/tests/output/functions-secrets/rust-toolchain.toml index d3cc721fe..7466ea07d 100644 --- a/pulumi_wasm_generator_lib/tests/output/functions-secrets/rust-toolchain.toml +++ b/pulumi_wasm_generator_lib/tests/output/functions-secrets/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.82.0" +channel = "1.83.0" targets = ["wasm32-wasip1"] \ No newline at end of file diff --git a/pulumi_wasm_generator_lib/tests/output/mini-awsnative/rust-toolchain.toml b/pulumi_wasm_generator_lib/tests/output/mini-awsnative/rust-toolchain.toml index d3cc721fe..7466ea07d 100644 --- a/pulumi_wasm_generator_lib/tests/output/mini-awsnative/rust-toolchain.toml +++ b/pulumi_wasm_generator_lib/tests/output/mini-awsnative/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.82.0" +channel = "1.83.0" targets = ["wasm32-wasip1"] \ No newline at end of file From 7baa75fdf16dd83c814780f944235958837e9538 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Fri, 29 Nov 2024 20:25:45 +0100 Subject: [PATCH 3/7] Remove cargo component --- .github/workflows/deploy.yaml | 12 +- Cargo.lock | 8 +- examples/dependencies/justfile | 13 +- examples/docker/justfile | 13 +- examples/multiple_providers/justfile | 17 +- examples/simple/justfile | 13 +- justfile | 34 +- .../Cargo.toml | 12 +- .../src/bindings.rs | 33629 ---------------- .../src/lib.rs | 10 +- .../pulumi_wasm_provider_docker/Cargo.toml | 12 +- .../src/bindings.rs | 4036 -- .../pulumi_wasm_provider_docker/src/lib.rs | 10 +- .../pulumi_wasm_provider_random/Cargo.toml | 12 +- .../src/bindings.rs | 1996 - .../pulumi_wasm_provider_random/src/lib.rs | 10 +- .../src/output/provider/Cargo.toml.handlebars | 12 +- .../src/output/provider/lib.rs.handlebars | 10 +- .../output/cyclic-types/rust-toolchain.toml | 2 +- .../functions-secrets/rust-toolchain.toml | 2 +- .../output/mini-awsnative/rust-toolchain.toml | 2 +- pulumi_wasm_wit/Cargo.toml | 1 + pulumi_wasm_wit/src/lib.rs | 16 + regenerate_providers/src/main.rs | 4 +- rust-toolchain.toml | 2 +- 25 files changed, 109 insertions(+), 39779 deletions(-) delete mode 100644 providers/pulumi_wasm_provider_cloudflare/src/bindings.rs delete mode 100644 providers/pulumi_wasm_provider_docker/src/bindings.rs delete mode 100644 providers/pulumi_wasm_provider_random/src/bindings.rs diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 7eb5a8eea..b3ba8a6b9 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -116,11 +116,11 @@ jobs: just build-wasm-components just build-wasm-components-release - for i in target/wasm32-wasip1/debug/*_provider.wasm; do cp "$i" "${i%.*}-debug.wasm"; done - cp target/wasm32-wasip1/debug/pulumi_wasm.wasm target/wasm32-wasip1/debug/pulumi_wasm-debug.wasm + for i in target/wasm32-wasip2/debug/*_provider.wasm; do cp "$i" "${i%.*}-debug.wasm"; done + cp target/wasm32-wasip2/debug/pulumi_wasm.wasm target/wasm32-wasip2/debug/pulumi_wasm-debug.wasm - for i in target/wasm32-wasip1/release/*_provider.wasm; do cp "$i" "${i%.*}-release.wasm"; done - cp target/wasm32-wasip1/release/pulumi_wasm.wasm target/wasm32-wasip1/release/pulumi_wasm-release.wasm + for i in target/wasm32-wasip2/release/*_provider.wasm; do cp "$i" "${i%.*}-release.wasm"; done + cp target/wasm32-wasip2/release/pulumi_wasm.wasm target/wasm32-wasip2/release/pulumi_wasm-release.wasm env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -139,8 +139,8 @@ jobs: prerelease: true body: "" files: | - target/wasm32-wasip1/release/*-release.wasm - target/wasm32-wasip1/debug/*-debug.wasm + target/wasm32-wasip2/release/*-release.wasm + target/wasm32-wasip2/debug/*-debug.wasm deploy_language_plugin: runs-on: ubuntu-24.04 diff --git a/Cargo.lock b/Cargo.lock index f017a0adc..a781b4fff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -2106,7 +2106,7 @@ name = "pulumi_wasm_cloudflare_provider" version = "5.43.1-0.0.0-DEV" dependencies = [ "pulumi_wasm_common", - "wit-bindgen-rt", + "wit-bindgen", ] [[package]] @@ -2148,7 +2148,7 @@ name = "pulumi_wasm_docker_provider" version = "4.5.3-0.0.0-DEV" dependencies = [ "pulumi_wasm_common", - "wit-bindgen-rt", + "wit-bindgen", ] [[package]] @@ -2252,7 +2252,7 @@ name = "pulumi_wasm_random_provider" version = "4.15.0-0.0.0-DEV" dependencies = [ "pulumi_wasm_common", - "wit-bindgen-rt", + "wit-bindgen", ] [[package]] diff --git a/examples/dependencies/justfile b/examples/dependencies/justfile index 3effde8e3..14ddf242d 100644 --- a/examples/dependencies/justfile +++ b/examples/dependencies/justfile @@ -1,8 +1,9 @@ set windows-shell := ["pwsh.exe", "-c"] binary := "../../target/release/pulumi_wasm_runner" -wasm := "../../target/wasm32-wasip1/release/pulumi_wasm_example_dependencies.wasm" -pulumi_wasm := "../../target/wasm32-wasip1/release/pulumi_wasm.wasm" -random := "../../target/wasm32-wasip1/release/pulumi_wasm_random_provider.wasm" +wasm := "../../target/wasm32-wasip2/release/pulumi_wasm_example_dependencies.wasm" +pulumi_wasm := "../../target/wasm32-wasip2/release/pulumi_wasm.wasm" +random := "../../target/wasm32-wasip2/release/pulumi_wasm_random_provider.wasm" +TARGET_NAME := "wasm32-wasip2" run: {{binary}} run --pulumi-wasm "{{pulumi_wasm}}" --provider "random={{random}}" "{{wasm}}" @@ -15,9 +16,9 @@ local-test: $PSNativeCommandUseErrorActionPreference = $true cargo build -p pulumi_wasm_runner --release - cargo component build -p pulumi_wasm --release - cargo component build -p pulumi_wasm_example_dependencies --release - cargo component build -p pulumi_wasm_random_provider --release + cargo build -p pulumi_wasm --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_dependencies --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_random_provider --release --target={{TARGET_NAME}} $env:PULUMI_CONFIG_PASSPHRASE=" " pulumi destroy -y pulumi up -y \ No newline at end of file diff --git a/examples/docker/justfile b/examples/docker/justfile index 365efdfa4..e9fa489c5 100644 --- a/examples/docker/justfile +++ b/examples/docker/justfile @@ -1,8 +1,9 @@ set windows-shell := ["pwsh.exe", "-c"] binary := "../../target/release/pulumi_wasm_runner" -wasm := "../../target/wasm32-wasip1/release/pulumi_wasm_example_docker.wasm" -pulumi_wasm := "../../target/wasm32-wasip1/release/pulumi_wasm.wasm" -docker := "../../target/wasm32-wasip1/release/pulumi_wasm_docker_provider.wasm" +wasm := "../../target/wasm32-wasip2/release/pulumi_wasm_example_docker.wasm" +pulumi_wasm := "../../target/wasm32-wasip2/release/pulumi_wasm.wasm" +docker := "../../target/wasm32-wasip2/release/pulumi_wasm_docker_provider.wasm" +TARGET_NAME := "wasm32-wasip2" run: {{binary}} run --pulumi-wasm "{{pulumi_wasm}}" --provider "docker={{docker}}" "{{wasm}}" @@ -15,9 +16,9 @@ local-test: $PSNativeCommandUseErrorActionPreference = $true cargo build -p pulumi_wasm_runner --release - cargo component build -p pulumi_wasm --release - cargo component build -p pulumi_wasm_example_docker --release - cargo component build -p pulumi_wasm_docker_provider --release + cargo build -p pulumi_wasm --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_docker --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_docker_provider --release --target={{TARGET_NAME}} $env:PULUMI_CONFIG_PASSPHRASE=" " pulumi destroy -y pulumi up -y \ No newline at end of file diff --git a/examples/multiple_providers/justfile b/examples/multiple_providers/justfile index 5dbd4202c..4507b0601 100644 --- a/examples/multiple_providers/justfile +++ b/examples/multiple_providers/justfile @@ -1,9 +1,10 @@ set windows-shell := ["pwsh.exe", "-c"] binary := "../../target/release/pulumi_wasm_runner" -wasm := "../../target/wasm32-wasip1/release/pulumi_wasm_example_multiple_providers.wasm" -pulumi_wasm := "../../target/wasm32-wasip1/release/pulumi_wasm.wasm" -docker := "../../target/wasm32-wasip1/release/pulumi_wasm_docker_provider.wasm" -random := "../../target/wasm32-wasip1/release/pulumi_wasm_random_provider.wasm" +wasm := "../../target/wasm32-wasip2/release/pulumi_wasm_example_multiple_providers.wasm" +pulumi_wasm := "../../target/wasm32-wasip2/release/pulumi_wasm.wasm" +docker := "../../target/wasm32-wasip2/release/pulumi_wasm_docker_provider.wasm" +random := "../../target/wasm32-wasip2/release/pulumi_wasm_random_provider.wasm" +TARGET_NAME := "wasm32-wasip2" run: {{binary}} run --pulumi-wasm "{{pulumi_wasm}}" --provider "docker={{docker}}" --provider "random={{random}}" "{{wasm}}" @@ -16,10 +17,10 @@ local-test: $PSNativeCommandUseErrorActionPreference = $true cargo build -p pulumi_wasm_runner --release - cargo component build -p pulumi_wasm --release - cargo component build -p pulumi_wasm_example_multiple_providers --release - cargo component build -p pulumi_wasm_docker_provider --release - cargo component build -p pulumi_wasm_random_provider --release + cargo build -p pulumi_wasm --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_multiple_providers --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_docker_provider --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_random_provider --release --target={{TARGET_NAME}} $env:PULUMI_CONFIG_PASSPHRASE=" " pulumi destroy -y pulumi up -y \ No newline at end of file diff --git a/examples/simple/justfile b/examples/simple/justfile index 0db68b245..50335cedd 100644 --- a/examples/simple/justfile +++ b/examples/simple/justfile @@ -1,8 +1,9 @@ set windows-shell := ["pwsh.exe", "-c"] binary := "../../target/release/pulumi_wasm_runner" -wasm := "../../target/wasm32-wasip1/release/pulumi_wasm_example_simple.wasm" -pulumi_wasm := "../../target/wasm32-wasip1/release/pulumi_wasm.wasm" -random := "../../target/wasm32-wasip1/release/pulumi_wasm_random_provider.wasm" +wasm := "../../target/wasm32-wasip2/release/pulumi_wasm_example_simple.wasm" +pulumi_wasm := "../../target/wasm32-wasip2/release/pulumi_wasm.wasm" +random := "../../target/wasm32-wasip2/release/pulumi_wasm_random_provider.wasm" +TARGET_NAME := "wasm32-wasip2" run: {{binary}} run --pulumi-wasm "{{pulumi_wasm}}" --provider "random={{random}}" "{{wasm}}" @@ -15,9 +16,9 @@ local-test: $PSNativeCommandUseErrorActionPreference = $true cargo build -p pulumi_wasm_runner --release - cargo component build -p pulumi_wasm --release - cargo component build -p pulumi_wasm_example_simple --release - cargo component build -p pulumi_wasm_random_provider --release + cargo build -p pulumi_wasm --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_simple --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_random_provider --release --target={{TARGET_NAME}} $env:PULUMI_CONFIG_PASSPHRASE=" " pulumi destroy -y pulumi up -y \ No newline at end of file diff --git a/justfile b/justfile index 456ff3f8e..76f436f5c 100644 --- a/justfile +++ b/justfile @@ -1,13 +1,13 @@ set windows-shell := ["pwsh.exe", "-c"] # renovate: datasource=crate depName=cargo-nextest packageName=cargo-nextest NEXTEST_VERSION := "0.9.72" -# renovate: datasource=crate depName=cargo-component packageName=cargo-component -CARGO_COMPONENT_VERSION := "0.19.0" # renovate: datasource=crate depName=sd packageName=sd SD_VERSION := "1.0.0" # renovate: datasource=crate depName=cargo-llvm-cov packageName=cargo-llvm-cov CARGO_LLVM_COV_VERSION := "0.6.13" +TARGET_NAME := "wasm32-wasip2" + FORMATTABLE_PROJECTS := "-p pulumi_wasm -p pulumi_wasm_common -p pulumi_wasm_generator -p pulumi_wasm_generator_lib \ -p pulumi_wasm_runner -p pulumi_wasm_runner_component_creator -p pulumi_wasm_rust -p pulumi_wasm_rust_macro \ -p pulumi_wasm_example_dependencies -p pulumi_wasm_example_docker -p pulumi_wasm_example_multiple_providers \ @@ -19,7 +19,6 @@ build: build-language-plugin regenerate-providers install-requirements build-was # https://stackoverflow.com/questions/74524817/why-is-anyhow-not-working-in-the-stable-version fix-issues: - cargo component check --workspace cargo check --workspace build-language-plugin: @@ -32,39 +31,36 @@ install-requirements: rustup component add rustfmt rustup component add llvm-tools-preview cargo binstall --no-confirm cargo-nextest@{{NEXTEST_VERSION}} - cargo binstall --no-confirm cargo-component@{{CARGO_COMPONENT_VERSION}} cargo binstall --no-confirm sd@{{SD_VERSION}} cargo binstall --no-confirm cargo-llvm-cov@{{CARGO_LLVM_COV_VERSION}} # Compiling everything together causes linking issues build-wasm-components: - cargo component build -p pulumi_wasm --timings - cargo component build -p pulumi_wasm_example_simple --timings - cargo component build -p pulumi_wasm_example_docker --timings - cargo component build -p pulumi_wasm_example_dependencies --timings - cargo component build -p pulumi_wasm_example_multiple_providers --timings + cargo build -p pulumi_wasm --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_simple --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_docker --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_dependencies --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_multiple_providers --target={{TARGET_NAME}} just build-wasm-providers cargo build -p pulumi_wasm_runner --timings build-all-wasm-projects-release: just build-wasm-components-release cargo build -p pulumi_wasm_runner --release - cargo component build -p pulumi_wasm_example_simple --release - cargo component build -p pulumi_wasm_example_docker --release - cargo component build -p pulumi_wasm_example_dependencies --release - cargo component build -p pulumi_wasm_example_multiple_providers --release + cargo build -p pulumi_wasm_example_simple --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_docker --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_dependencies --release --target={{TARGET_NAME}} + cargo build -p pulumi_wasm_example_multiple_providers --release --target={{TARGET_NAME}} build-wasm-components-release: - cargo component build -p pulumi_wasm --timings --release + cargo build -p pulumi_wasm --timings --release --target={{TARGET_NAME}} just build-wasm-providers-release # DO NOT EDIT - BUILD-WASM-COMPONENTS - START build-wasm-providers: - cargo component build \ - -p pulumi_wasm_docker_provider \ - -p pulumi_wasm_random_provider \ - -p pulumi_wasm_cloudflare_provider \ - --timings + cargo build --target={{TARGET_NAME}} -p pulumi_wasm_docker_provider + cargo build --target={{TARGET_NAME}} -p pulumi_wasm_random_provider + cargo build --target={{TARGET_NAME}} -p pulumi_wasm_cloudflare_provider build-wasm-providers-release: cargo component build \ diff --git a/providers/pulumi_wasm_provider_cloudflare/Cargo.toml b/providers/pulumi_wasm_provider_cloudflare/Cargo.toml index 2afb8a30b..281c7de6e 100644 --- a/providers/pulumi_wasm_provider_cloudflare/Cargo.toml +++ b/providers/pulumi_wasm_provider_cloudflare/Cargo.toml @@ -9,15 +9,5 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -wit-bindgen-rt.workspace = true +wit-bindgen.workspace = true pulumi_wasm_common.workspace = true - -[package.metadata.component] -package = "pulumi:cloudflare" - -[package.metadata.component.target] -path = "wit" -world = "cloudflare-pulumi" - -[package.metadata.component.target.dependencies] -"component:pulumi-wasm" = { path = "wit/deps/pulumi-wasm.wit" } diff --git a/providers/pulumi_wasm_provider_cloudflare/src/bindings.rs b/providers/pulumi_wasm_provider_cloudflare/src/bindings.rs deleted file mode 100644 index d2c58bdfb..000000000 --- a/providers/pulumi_wasm_provider_cloudflare/src/bindings.rs +++ /dev/null @@ -1,33629 +0,0 @@ -#[allow(dead_code)] -pub mod component { - #[allow(dead_code)] - pub mod pulumi_wasm { - #[allow(dead_code, clippy::all)] - pub mod output_interface { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::__link_custom_section_describing_imports; - use super::super::super::_rt; - #[derive(Debug)] - #[repr(transparent)] - pub struct Output { - handle: _rt::Resource, - } - impl Output { - #[doc(hidden)] - pub unsafe fn from_handle(handle: u32) -> Self { - Self { - handle: _rt::Resource::from_handle(handle), - } - } - #[doc(hidden)] - pub fn take_handle(&self) -> u32 { - _rt::Resource::take_handle(&self.handle) - } - #[doc(hidden)] - pub fn handle(&self) -> u32 { - _rt::Resource::handle(&self.handle) - } - } - unsafe impl _rt::WasmResource for Output { - #[inline] - unsafe fn drop(_handle: u32) { - #[cfg(not(target_arch = "wasm32"))] - unreachable!(); - #[cfg(target_arch = "wasm32")] - { - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[resource-drop]output"] - fn drop(_: u32); - } - drop(_handle); - } - } - } - impl Output { - #[allow(unused_unsafe, clippy::all)] - pub fn new(value: &str) -> Self { - unsafe { - let vec0 = value; - let ptr0 = vec0.as_ptr().cast::(); - let len0 = vec0.len(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[constructor]output"] - fn wit_import(_: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import(ptr0.cast_mut(), len0); - Output::from_handle(ret as u32) - } - } - } - impl Output { - #[allow(unused_unsafe, clippy::all)] - pub fn map(&self, function_name: &str) -> Output { - unsafe { - let vec0 = function_name; - let ptr0 = vec0.as_ptr().cast::(); - let len0 = vec0.len(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[method]output.map"] - fn wit_import(_: i32, _: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: i32, _: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import( - (self).handle() as i32, - ptr0.cast_mut(), - len0, - ); - Output::from_handle(ret as u32) - } - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn combine(outputs: &[&Output]) -> Output { - unsafe { - let vec0 = outputs; - let len0 = vec0.len(); - let layout0 = _rt::alloc::Layout::from_size_align_unchecked( - vec0.len() * 4, - 4, - ); - let result0 = if layout0.size() != 0 { - let ptr = _rt::alloc::alloc(layout0).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout0); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec0.into_iter().enumerate() { - let base = result0.add(i * 4); - { - *base.add(0).cast::() = (e).handle() as i32; - } - } - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "combine"] - fn wit_import(_: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import(result0, len0); - if layout0.size() != 0 { - _rt::alloc::dealloc(result0.cast(), layout0); - } - Output::from_handle(ret as u32) - } - } - } - #[allow(dead_code, clippy::all)] - pub mod register_interface { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::__link_custom_section_describing_imports; - use super::super::super::_rt; - pub type Output = super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct ObjectField<'a> { - pub name: _rt::String, - pub value: &'a Output, - } - impl<'a> ::core::fmt::Debug for ObjectField<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ObjectField") - .field("name", &self.name) - .field("value", &self.value) - .finish() - } - } - #[derive(Clone)] - pub struct ResultField { - pub name: _rt::String, - } - impl ::core::fmt::Debug for ResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResultField").field("name", &self.name).finish() - } - } - pub struct RegisterResourceResultField { - pub name: _rt::String, - pub output: Output, - } - impl ::core::fmt::Debug for RegisterResourceResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceResultField") - .field("name", &self.name) - .field("output", &self.output) - .finish() - } - } - pub struct RegisterResourceRequest<'a> { - pub type_: _rt::String, - pub name: _rt::String, - pub object: _rt::Vec>, - pub results: _rt::Vec, - } - impl<'a> ::core::fmt::Debug for RegisterResourceRequest<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceRequest") - .field("type", &self.type_) - .field("name", &self.name) - .field("object", &self.object) - .field("results", &self.results) - .finish() - } - } - pub struct RegisterResourceResult { - pub fields: _rt::Vec, - } - impl ::core::fmt::Debug for RegisterResourceResult { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceResult") - .field("fields", &self.fields) - .finish() - } - } - pub struct ResourceInvokeResultField { - pub name: _rt::String, - pub output: Output, - } - impl ::core::fmt::Debug for ResourceInvokeResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeResultField") - .field("name", &self.name) - .field("output", &self.output) - .finish() - } - } - pub struct ResourceInvokeRequest<'a> { - pub token: _rt::String, - pub object: _rt::Vec>, - pub results: _rt::Vec, - } - impl<'a> ::core::fmt::Debug for ResourceInvokeRequest<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeRequest") - .field("token", &self.token) - .field("object", &self.object) - .field("results", &self.results) - .finish() - } - } - pub struct ResourceInvokeResult { - pub fields: _rt::Vec, - } - impl ::core::fmt::Debug for ResourceInvokeResult { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeResult") - .field("fields", &self.fields) - .finish() - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn register( - request: &RegisterResourceRequest<'_>, - ) -> RegisterResourceResult { - unsafe { - #[repr(align(4))] - struct RetArea([::core::mem::MaybeUninit; 8]); - let mut ret_area = RetArea([::core::mem::MaybeUninit::uninit(); 8]); - let RegisterResourceRequest { - type_: type_0, - name: name0, - object: object0, - results: results0, - } = request; - let vec1 = type_0; - let ptr1 = vec1.as_ptr().cast::(); - let len1 = vec1.len(); - let vec2 = name0; - let ptr2 = vec2.as_ptr().cast::(); - let len2 = vec2.len(); - let vec5 = object0; - let len5 = vec5.len(); - let layout5 = _rt::alloc::Layout::from_size_align_unchecked( - vec5.len() * 12, - 4, - ); - let result5 = if layout5.size() != 0 { - let ptr = _rt::alloc::alloc(layout5).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout5); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec5.into_iter().enumerate() { - let base = result5.add(i * 12); - { - let ObjectField { name: name3, value: value3 } = e; - let vec4 = name3; - let ptr4 = vec4.as_ptr().cast::(); - let len4 = vec4.len(); - *base.add(4).cast::() = len4; - *base.add(0).cast::<*mut u8>() = ptr4.cast_mut(); - *base.add(8).cast::() = (value3).handle() as i32; - } - } - let vec8 = results0; - let len8 = vec8.len(); - let layout8 = _rt::alloc::Layout::from_size_align_unchecked( - vec8.len() * 8, - 4, - ); - let result8 = if layout8.size() != 0 { - let ptr = _rt::alloc::alloc(layout8).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout8); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec8.into_iter().enumerate() { - let base = result8.add(i * 8); - { - let ResultField { name: name6 } = e; - let vec7 = name6; - let ptr7 = vec7.as_ptr().cast::(); - let len7 = vec7.len(); - *base.add(4).cast::() = len7; - *base.add(0).cast::<*mut u8>() = ptr7.cast_mut(); - } - } - let ptr9 = ret_area.0.as_mut_ptr().cast::(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/register-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "register"] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ); - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ) { - unreachable!() - } - wit_import( - ptr1.cast_mut(), - len1, - ptr2.cast_mut(), - len2, - result5, - len5, - result8, - len8, - ptr9, - ); - let l10 = *ptr9.add(0).cast::<*mut u8>(); - let l11 = *ptr9.add(4).cast::(); - let base16 = l10; - let len16 = l11; - let mut result16 = _rt::Vec::with_capacity(len16); - for i in 0..len16 { - let base = base16.add(i * 12); - let e16 = { - let l12 = *base.add(0).cast::<*mut u8>(); - let l13 = *base.add(4).cast::(); - let len14 = l13; - let bytes14 = _rt::Vec::from_raw_parts( - l12.cast(), - len14, - len14, - ); - let l15 = *base.add(8).cast::(); - RegisterResourceResultField { - name: _rt::string_lift(bytes14), - output: super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ), - } - }; - result16.push(e16); - } - _rt::cabi_dealloc(base16, len16 * 12, 4); - if layout5.size() != 0 { - _rt::alloc::dealloc(result5.cast(), layout5); - } - if layout8.size() != 0 { - _rt::alloc::dealloc(result8.cast(), layout8); - } - RegisterResourceResult { - fields: result16, - } - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn invoke(request: &ResourceInvokeRequest<'_>) -> ResourceInvokeResult { - unsafe { - #[repr(align(4))] - struct RetArea([::core::mem::MaybeUninit; 8]); - let mut ret_area = RetArea([::core::mem::MaybeUninit::uninit(); 8]); - let ResourceInvokeRequest { - token: token0, - object: object0, - results: results0, - } = request; - let vec1 = token0; - let ptr1 = vec1.as_ptr().cast::(); - let len1 = vec1.len(); - let vec4 = object0; - let len4 = vec4.len(); - let layout4 = _rt::alloc::Layout::from_size_align_unchecked( - vec4.len() * 12, - 4, - ); - let result4 = if layout4.size() != 0 { - let ptr = _rt::alloc::alloc(layout4).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout4); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec4.into_iter().enumerate() { - let base = result4.add(i * 12); - { - let ObjectField { name: name2, value: value2 } = e; - let vec3 = name2; - let ptr3 = vec3.as_ptr().cast::(); - let len3 = vec3.len(); - *base.add(4).cast::() = len3; - *base.add(0).cast::<*mut u8>() = ptr3.cast_mut(); - *base.add(8).cast::() = (value2).handle() as i32; - } - } - let vec7 = results0; - let len7 = vec7.len(); - let layout7 = _rt::alloc::Layout::from_size_align_unchecked( - vec7.len() * 8, - 4, - ); - let result7 = if layout7.size() != 0 { - let ptr = _rt::alloc::alloc(layout7).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout7); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec7.into_iter().enumerate() { - let base = result7.add(i * 8); - { - let ResultField { name: name5 } = e; - let vec6 = name5; - let ptr6 = vec6.as_ptr().cast::(); - let len6 = vec6.len(); - *base.add(4).cast::() = len6; - *base.add(0).cast::<*mut u8>() = ptr6.cast_mut(); - } - } - let ptr8 = ret_area.0.as_mut_ptr().cast::(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/register-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "invoke"] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ); - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ) { - unreachable!() - } - wit_import( - ptr1.cast_mut(), - len1, - result4, - len4, - result7, - len7, - ptr8, - ); - let l9 = *ptr8.add(0).cast::<*mut u8>(); - let l10 = *ptr8.add(4).cast::(); - let base15 = l9; - let len15 = l10; - let mut result15 = _rt::Vec::with_capacity(len15); - for i in 0..len15 { - let base = base15.add(i * 12); - let e15 = { - let l11 = *base.add(0).cast::<*mut u8>(); - let l12 = *base.add(4).cast::(); - let len13 = l12; - let bytes13 = _rt::Vec::from_raw_parts( - l11.cast(), - len13, - len13, - ); - let l14 = *base.add(8).cast::(); - ResourceInvokeResultField { - name: _rt::string_lift(bytes13), - output: super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l14 as u32, - ), - } - }; - result15.push(e15); - } - _rt::cabi_dealloc(base15, len15 * 12, 4); - if layout4.size() != 0 { - _rt::alloc::dealloc(result4.cast(), layout4); - } - if layout7.size() != 0 { - _rt::alloc::dealloc(result7.cast(), layout7); - } - ResourceInvokeResult { - fields: result15, - } - } - } - } - } -} -#[allow(dead_code)] -pub mod exports { - #[allow(dead_code)] - pub mod pulumi { - #[allow(dead_code)] - pub mod cloudflare { - #[allow(dead_code, clippy::all)] - pub mod access_application { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_authenticate_via_warp: &'a Output, - pub allowed_idps: &'a Output, - pub app_launcher_logo_url: &'a Output, - pub app_launcher_visible: &'a Output, - pub auto_redirect_to_identity: &'a Output, - pub bg_color: &'a Output, - pub cors_headers: &'a Output, - pub custom_deny_message: &'a Output, - pub custom_deny_url: &'a Output, - pub custom_non_identity_deny_url: &'a Output, - pub custom_pages: &'a Output, - pub domain: &'a Output, - pub enable_binding_cookie: &'a Output, - pub footer_links: &'a Output, - pub header_bg_color: &'a Output, - pub http_only_cookie_attribute: &'a Output, - pub landing_page_design: &'a Output, - pub logo_url: &'a Output, - pub name: &'a Output, - pub options_preflight_bypass: &'a Output, - pub policies: &'a Output, - pub saas_app: &'a Output, - pub same_site_cookie_attribute: &'a Output, - pub scim_config: &'a Output, - pub self_hosted_domains: &'a Output, - pub service_auth401_redirect: &'a Output, - pub session_duration: &'a Output, - pub skip_app_launcher_login_page: &'a Output, - pub skip_interstitial: &'a Output, - pub tags: &'a Output, - pub target_criterias: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "allow-authenticate-via-warp", - &self.allow_authenticate_via_warp, - ) - .field("allowed-idps", &self.allowed_idps) - .field("app-launcher-logo-url", &self.app_launcher_logo_url) - .field("app-launcher-visible", &self.app_launcher_visible) - .field( - "auto-redirect-to-identity", - &self.auto_redirect_to_identity, - ) - .field("bg-color", &self.bg_color) - .field("cors-headers", &self.cors_headers) - .field("custom-deny-message", &self.custom_deny_message) - .field("custom-deny-url", &self.custom_deny_url) - .field( - "custom-non-identity-deny-url", - &self.custom_non_identity_deny_url, - ) - .field("custom-pages", &self.custom_pages) - .field("domain", &self.domain) - .field("enable-binding-cookie", &self.enable_binding_cookie) - .field("footer-links", &self.footer_links) - .field("header-bg-color", &self.header_bg_color) - .field( - "http-only-cookie-attribute", - &self.http_only_cookie_attribute, - ) - .field("landing-page-design", &self.landing_page_design) - .field("logo-url", &self.logo_url) - .field("name", &self.name) - .field( - "options-preflight-bypass", - &self.options_preflight_bypass, - ) - .field("policies", &self.policies) - .field("saas-app", &self.saas_app) - .field( - "same-site-cookie-attribute", - &self.same_site_cookie_attribute, - ) - .field("scim-config", &self.scim_config) - .field("self-hosted-domains", &self.self_hosted_domains) - .field( - "service-auth401-redirect", - &self.service_auth401_redirect, - ) - .field("session-duration", &self.session_duration) - .field( - "skip-app-launcher-login-page", - &self.skip_app_launcher_login_page, - ) - .field("skip-interstitial", &self.skip_interstitial) - .field("tags", &self.tags) - .field("target-criterias", &self.target_criterias) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_authenticate_via_warp: Output, - pub allowed_idps: Output, - pub app_launcher_logo_url: Output, - pub app_launcher_visible: Output, - pub aud: Output, - pub auto_redirect_to_identity: Output, - pub bg_color: Output, - pub cors_headers: Output, - pub custom_deny_message: Output, - pub custom_deny_url: Output, - pub custom_non_identity_deny_url: Output, - pub custom_pages: Output, - pub domain: Output, - pub enable_binding_cookie: Output, - pub footer_links: Output, - pub header_bg_color: Output, - pub http_only_cookie_attribute: Output, - pub landing_page_design: Output, - pub logo_url: Output, - pub name: Output, - pub options_preflight_bypass: Output, - pub policies: Output, - pub saas_app: Output, - pub same_site_cookie_attribute: Output, - pub scim_config: Output, - pub self_hosted_domains: Output, - pub service_auth401_redirect: Output, - pub session_duration: Output, - pub skip_app_launcher_login_page: Output, - pub skip_interstitial: Output, - pub tags: Output, - pub target_criterias: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "allow-authenticate-via-warp", - &self.allow_authenticate_via_warp, - ) - .field("allowed-idps", &self.allowed_idps) - .field("app-launcher-logo-url", &self.app_launcher_logo_url) - .field("app-launcher-visible", &self.app_launcher_visible) - .field("aud", &self.aud) - .field( - "auto-redirect-to-identity", - &self.auto_redirect_to_identity, - ) - .field("bg-color", &self.bg_color) - .field("cors-headers", &self.cors_headers) - .field("custom-deny-message", &self.custom_deny_message) - .field("custom-deny-url", &self.custom_deny_url) - .field( - "custom-non-identity-deny-url", - &self.custom_non_identity_deny_url, - ) - .field("custom-pages", &self.custom_pages) - .field("domain", &self.domain) - .field("enable-binding-cookie", &self.enable_binding_cookie) - .field("footer-links", &self.footer_links) - .field("header-bg-color", &self.header_bg_color) - .field( - "http-only-cookie-attribute", - &self.http_only_cookie_attribute, - ) - .field("landing-page-design", &self.landing_page_design) - .field("logo-url", &self.logo_url) - .field("name", &self.name) - .field( - "options-preflight-bypass", - &self.options_preflight_bypass, - ) - .field("policies", &self.policies) - .field("saas-app", &self.saas_app) - .field( - "same-site-cookie-attribute", - &self.same_site_cookie_attribute, - ) - .field("scim-config", &self.scim_config) - .field("self-hosted-domains", &self.self_hosted_domains) - .field( - "service-auth401-redirect", - &self.service_auth401_redirect, - ) - .field("session-duration", &self.session_duration) - .field( - "skip-app-launcher-login-page", - &self.skip_app_launcher_login_page, - ) - .field("skip-interstitial", &self.skip_interstitial) - .field("tags", &self.tags) - .field("target-criterias", &self.target_criterias) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let handle42; - let handle44; - let handle46; - let handle48; - let handle50; - let handle52; - let handle54; - let handle56; - let handle58; - let handle60; - let handle62; - let handle64; - let handle66; - let handle68; - let handle70; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let l41 = *arg0.add(84).cast::(); - let l43 = *arg0.add(88).cast::(); - let l45 = *arg0.add(92).cast::(); - let l47 = *arg0.add(96).cast::(); - let l49 = *arg0.add(100).cast::(); - let l51 = *arg0.add(104).cast::(); - let l53 = *arg0.add(108).cast::(); - let l55 = *arg0.add(112).cast::(); - let l57 = *arg0.add(116).cast::(); - let l59 = *arg0.add(120).cast::(); - let l61 = *arg0.add(124).cast::(); - let l63 = *arg0.add(128).cast::(); - let l65 = *arg0.add(132).cast::(); - let l67 = *arg0.add(136).cast::(); - let l69 = *arg0.add(140).cast::(); - let result71 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - allow_authenticate_via_warp: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - allowed_idps: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - app_launcher_logo_url: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - app_launcher_visible: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - auto_redirect_to_identity: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - bg_color: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - cors_headers: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - custom_deny_message: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - custom_deny_url: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - custom_non_identity_deny_url: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - custom_pages: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - domain: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - enable_binding_cookie: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - footer_links: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - header_bg_color: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - http_only_cookie_attribute: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - landing_page_design: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - logo_url: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - name: { - handle42 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l41 as u32, - ); - &handle42 - }, - options_preflight_bypass: { - handle44 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l43 as u32, - ); - &handle44 - }, - policies: { - handle46 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l45 as u32, - ); - &handle46 - }, - saas_app: { - handle48 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l47 as u32, - ); - &handle48 - }, - same_site_cookie_attribute: { - handle50 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l49 as u32, - ); - &handle50 - }, - scim_config: { - handle52 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l51 as u32, - ); - &handle52 - }, - self_hosted_domains: { - handle54 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l53 as u32, - ); - &handle54 - }, - service_auth401_redirect: { - handle56 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l55 as u32, - ); - &handle56 - }, - session_duration: { - handle58 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l57 as u32, - ); - &handle58 - }, - skip_app_launcher_login_page: { - handle60 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l59 as u32, - ); - &handle60 - }, - skip_interstitial: { - handle62 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l61 as u32, - ); - &handle62 - }, - tags: { - handle64 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l63 as u32, - ); - &handle64 - }, - target_criterias: { - handle66 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l65 as u32, - ); - &handle66 - }, - type_: { - handle68 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l67 as u32, - ); - &handle68 - }, - zone_id: { - handle70 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l69 as u32, - ); - &handle70 - }, - }, - ); - _rt::cabi_dealloc(arg0, 144, 4); - let ptr72 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id73, - allow_authenticate_via_warp: allow_authenticate_via_warp73, - allowed_idps: allowed_idps73, - app_launcher_logo_url: app_launcher_logo_url73, - app_launcher_visible: app_launcher_visible73, - aud: aud73, - auto_redirect_to_identity: auto_redirect_to_identity73, - bg_color: bg_color73, - cors_headers: cors_headers73, - custom_deny_message: custom_deny_message73, - custom_deny_url: custom_deny_url73, - custom_non_identity_deny_url: custom_non_identity_deny_url73, - custom_pages: custom_pages73, - domain: domain73, - enable_binding_cookie: enable_binding_cookie73, - footer_links: footer_links73, - header_bg_color: header_bg_color73, - http_only_cookie_attribute: http_only_cookie_attribute73, - landing_page_design: landing_page_design73, - logo_url: logo_url73, - name: name73, - options_preflight_bypass: options_preflight_bypass73, - policies: policies73, - saas_app: saas_app73, - same_site_cookie_attribute: same_site_cookie_attribute73, - scim_config: scim_config73, - self_hosted_domains: self_hosted_domains73, - service_auth401_redirect: service_auth401_redirect73, - session_duration: session_duration73, - skip_app_launcher_login_page: skip_app_launcher_login_page73, - skip_interstitial: skip_interstitial73, - tags: tags73, - target_criterias: target_criterias73, - type_: type_73, - zone_id: zone_id73, - } = result71; - *ptr72.add(0).cast::() = (account_id73).take_handle() as i32; - *ptr72.add(4).cast::() = (allow_authenticate_via_warp73) - .take_handle() as i32; - *ptr72.add(8).cast::() = (allowed_idps73).take_handle() as i32; - *ptr72.add(12).cast::() = (app_launcher_logo_url73) - .take_handle() as i32; - *ptr72.add(16).cast::() = (app_launcher_visible73).take_handle() - as i32; - *ptr72.add(20).cast::() = (aud73).take_handle() as i32; - *ptr72.add(24).cast::() = (auto_redirect_to_identity73) - .take_handle() as i32; - *ptr72.add(28).cast::() = (bg_color73).take_handle() as i32; - *ptr72.add(32).cast::() = (cors_headers73).take_handle() as i32; - *ptr72.add(36).cast::() = (custom_deny_message73).take_handle() - as i32; - *ptr72.add(40).cast::() = (custom_deny_url73).take_handle() - as i32; - *ptr72.add(44).cast::() = (custom_non_identity_deny_url73) - .take_handle() as i32; - *ptr72.add(48).cast::() = (custom_pages73).take_handle() as i32; - *ptr72.add(52).cast::() = (domain73).take_handle() as i32; - *ptr72.add(56).cast::() = (enable_binding_cookie73) - .take_handle() as i32; - *ptr72.add(60).cast::() = (footer_links73).take_handle() as i32; - *ptr72.add(64).cast::() = (header_bg_color73).take_handle() - as i32; - *ptr72.add(68).cast::() = (http_only_cookie_attribute73) - .take_handle() as i32; - *ptr72.add(72).cast::() = (landing_page_design73).take_handle() - as i32; - *ptr72.add(76).cast::() = (logo_url73).take_handle() as i32; - *ptr72.add(80).cast::() = (name73).take_handle() as i32; - *ptr72.add(84).cast::() = (options_preflight_bypass73) - .take_handle() as i32; - *ptr72.add(88).cast::() = (policies73).take_handle() as i32; - *ptr72.add(92).cast::() = (saas_app73).take_handle() as i32; - *ptr72.add(96).cast::() = (same_site_cookie_attribute73) - .take_handle() as i32; - *ptr72.add(100).cast::() = (scim_config73).take_handle() as i32; - *ptr72.add(104).cast::() = (self_hosted_domains73).take_handle() - as i32; - *ptr72.add(108).cast::() = (service_auth401_redirect73) - .take_handle() as i32; - *ptr72.add(112).cast::() = (session_duration73).take_handle() - as i32; - *ptr72.add(116).cast::() = (skip_app_launcher_login_page73) - .take_handle() as i32; - *ptr72.add(120).cast::() = (skip_interstitial73).take_handle() - as i32; - *ptr72.add(124).cast::() = (tags73).take_handle() as i32; - *ptr72.add(128).cast::() = (target_criterias73).take_handle() - as i32; - *ptr72.add(132).cast::() = (type_73).take_handle() as i32; - *ptr72.add(136).cast::() = (zone_id73).take_handle() as i32; - ptr72 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_application_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-application@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_application_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 140]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 140], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_ca_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub application_id: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("application-id", &self.application_id) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub application_id: Output, - pub aud: Output, - pub public_key: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("application-id", &self.application_id) - .field("aud", &self.aud) - .field("public-key", &self.public_key) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - application_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - application_id: application_id6, - aud: aud6, - public_key: public_key6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (application_id6).take_handle() as i32; - *ptr5.add(8).cast::() = (aud6).take_handle() as i32; - *ptr5.add(12).cast::() = (public_key6).take_handle() as i32; - *ptr5.add(16).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_ca_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-ca-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_ca_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_custom_page { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub app_count: &'a Output, - pub custom_html: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("app-count", &self.app_count) - .field("custom-html", &self.custom_html) - .field("name", &self.name) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub app_count: Output, - pub custom_html: Output, - pub name: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("app-count", &self.app_count) - .field("custom-html", &self.custom_html) - .field("name", &self.name) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - app_count: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - custom_html: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - type_: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - zone_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - app_count: app_count9, - custom_html: custom_html9, - name: name9, - type_: type_9, - zone_id: zone_id9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (app_count9).take_handle() as i32; - *ptr8.add(8).cast::() = (custom_html9).take_handle() as i32; - *ptr8.add(12).cast::() = (name9).take_handle() as i32; - *ptr8.add(16).cast::() = (type_9).take_handle() as i32; - *ptr8.add(20).cast::() = (zone_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_custom_page_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-custom-page@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_custom_page_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_group { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub excludes: &'a Output, - pub includes: &'a Output, - pub name: &'a Output, - pub requires: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("excludes", &self.excludes) - .field("includes", &self.includes) - .field("name", &self.name) - .field("requires", &self.requires) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub excludes: Output, - pub includes: Output, - pub name: Output, - pub requires: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("excludes", &self.excludes) - .field("includes", &self.includes) - .field("name", &self.name) - .field("requires", &self.requires) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - excludes: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - includes: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - requires: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - zone_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - excludes: excludes9, - includes: includes9, - name: name9, - requires: requires9, - zone_id: zone_id9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (excludes9).take_handle() as i32; - *ptr8.add(8).cast::() = (includes9).take_handle() as i32; - *ptr8.add(12).cast::() = (name9).take_handle() as i32; - *ptr8.add(16).cast::() = (requires9).take_handle() as i32; - *ptr8.add(20).cast::() = (zone_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_group_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-group@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_group_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_identity_provider { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub configs: &'a Output, - pub name: &'a Output, - pub scim_configs: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("configs", &self.configs) - .field("name", &self.name) - .field("scim-configs", &self.scim_configs) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub configs: Output, - pub name: Output, - pub scim_configs: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("configs", &self.configs) - .field("name", &self.name) - .field("scim-configs", &self.scim_configs) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - configs: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - scim_configs: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - type_: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - zone_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - configs: configs9, - name: name9, - scim_configs: scim_configs9, - type_: type_9, - zone_id: zone_id9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (configs9).take_handle() as i32; - *ptr8.add(8).cast::() = (name9).take_handle() as i32; - *ptr8.add(12).cast::() = (scim_configs9).take_handle() as i32; - *ptr8.add(16).cast::() = (type_9).take_handle() as i32; - *ptr8.add(20).cast::() = (zone_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_identity_provider_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-identity-provider@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_identity_provider_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_keys_configuration { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub key_rotation_interval_days: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "key-rotation-interval-days", - &self.key_rotation_interval_days, - ) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub key_rotation_interval_days: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "key-rotation-interval-days", - &self.key_rotation_interval_days, - ) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - key_rotation_interval_days: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - key_rotation_interval_days: key_rotation_interval_days5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (key_rotation_interval_days5) - .take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_keys_configuration_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-keys-configuration@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_keys_configuration_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_mutual_tls_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub associated_hostnames: &'a Output, - pub certificate: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("associated-hostnames", &self.associated_hostnames) - .field("certificate", &self.certificate) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub associated_hostnames: Output, - pub certificate: Output, - pub fingerprint: Output, - pub name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("associated-hostnames", &self.associated_hostnames) - .field("certificate", &self.certificate) - .field("fingerprint", &self.fingerprint) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - associated_hostnames: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - certificate: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - associated_hostnames: associated_hostnames8, - certificate: certificate8, - fingerprint: fingerprint8, - name: name8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (associated_hostnames8).take_handle() - as i32; - *ptr7.add(8).cast::() = (certificate8).take_handle() as i32; - *ptr7.add(12).cast::() = (fingerprint8).take_handle() as i32; - *ptr7.add(16).cast::() = (name8).take_handle() as i32; - *ptr7.add(20).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_mutual_tls_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-mutual-tls-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_mutual_tls_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_mutual_tls_hostname_settings { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub settings: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("settings", &self.settings) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub settings: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("settings", &self.settings) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - settings: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - settings: settings6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (settings6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_mutual_tls_hostname_settings_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-mutual-tls-hostname-settings@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_mutual_tls_hostname_settings_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_organization { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_authenticate_via_warp: &'a Output, - pub auth_domain: &'a Output, - pub auto_redirect_to_identity: &'a Output, - pub custom_pages: &'a Output, - pub is_ui_read_only: &'a Output, - pub login_designs: &'a Output, - pub name: &'a Output, - pub session_duration: &'a Output, - pub ui_read_only_toggle_reason: &'a Output, - pub user_seat_expiration_inactive_time: &'a Output, - pub warp_auth_session_duration: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "allow-authenticate-via-warp", - &self.allow_authenticate_via_warp, - ) - .field("auth-domain", &self.auth_domain) - .field( - "auto-redirect-to-identity", - &self.auto_redirect_to_identity, - ) - .field("custom-pages", &self.custom_pages) - .field("is-ui-read-only", &self.is_ui_read_only) - .field("login-designs", &self.login_designs) - .field("name", &self.name) - .field("session-duration", &self.session_duration) - .field( - "ui-read-only-toggle-reason", - &self.ui_read_only_toggle_reason, - ) - .field( - "user-seat-expiration-inactive-time", - &self.user_seat_expiration_inactive_time, - ) - .field( - "warp-auth-session-duration", - &self.warp_auth_session_duration, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_authenticate_via_warp: Output, - pub auth_domain: Output, - pub auto_redirect_to_identity: Output, - pub custom_pages: Output, - pub is_ui_read_only: Output, - pub login_designs: Output, - pub name: Output, - pub session_duration: Output, - pub ui_read_only_toggle_reason: Output, - pub user_seat_expiration_inactive_time: Output, - pub warp_auth_session_duration: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "allow-authenticate-via-warp", - &self.allow_authenticate_via_warp, - ) - .field("auth-domain", &self.auth_domain) - .field( - "auto-redirect-to-identity", - &self.auto_redirect_to_identity, - ) - .field("custom-pages", &self.custom_pages) - .field("is-ui-read-only", &self.is_ui_read_only) - .field("login-designs", &self.login_designs) - .field("name", &self.name) - .field("session-duration", &self.session_duration) - .field( - "ui-read-only-toggle-reason", - &self.ui_read_only_toggle_reason, - ) - .field( - "user-seat-expiration-inactive-time", - &self.user_seat_expiration_inactive_time, - ) - .field( - "warp-auth-session-duration", - &self.warp_auth_session_duration, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - arg14: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let handle13; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result14 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - allow_authenticate_via_warp: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - auth_domain: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - auto_redirect_to_identity: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - custom_pages: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - is_ui_read_only: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - login_designs: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - name: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - session_duration: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - ui_read_only_toggle_reason: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - user_seat_expiration_inactive_time: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - warp_auth_session_duration: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - zone_id: { - handle13 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg14 as u32, - ); - &handle13 - }, - }, - ); - let ptr15 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id16, - allow_authenticate_via_warp: allow_authenticate_via_warp16, - auth_domain: auth_domain16, - auto_redirect_to_identity: auto_redirect_to_identity16, - custom_pages: custom_pages16, - is_ui_read_only: is_ui_read_only16, - login_designs: login_designs16, - name: name16, - session_duration: session_duration16, - ui_read_only_toggle_reason: ui_read_only_toggle_reason16, - user_seat_expiration_inactive_time: user_seat_expiration_inactive_time16, - warp_auth_session_duration: warp_auth_session_duration16, - zone_id: zone_id16, - } = result14; - *ptr15.add(0).cast::() = (account_id16).take_handle() as i32; - *ptr15.add(4).cast::() = (allow_authenticate_via_warp16) - .take_handle() as i32; - *ptr15.add(8).cast::() = (auth_domain16).take_handle() as i32; - *ptr15.add(12).cast::() = (auto_redirect_to_identity16) - .take_handle() as i32; - *ptr15.add(16).cast::() = (custom_pages16).take_handle() as i32; - *ptr15.add(20).cast::() = (is_ui_read_only16).take_handle() - as i32; - *ptr15.add(24).cast::() = (login_designs16).take_handle() - as i32; - *ptr15.add(28).cast::() = (name16).take_handle() as i32; - *ptr15.add(32).cast::() = (session_duration16).take_handle() - as i32; - *ptr15.add(36).cast::() = (ui_read_only_toggle_reason16) - .take_handle() as i32; - *ptr15.add(40).cast::() = (user_seat_expiration_inactive_time16) - .take_handle() as i32; - *ptr15.add(44).cast::() = (warp_auth_session_duration16) - .take_handle() as i32; - *ptr15.add(48).cast::() = (zone_id16).take_handle() as i32; - ptr15 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_organization_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-organization@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : - i32, arg13 : i32, arg14 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, - arg12, arg13, arg14) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_organization_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 52]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 52], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_policy { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub application_id: &'a Output, - pub approval_groups: &'a Output, - pub approval_required: &'a Output, - pub connection_rules: &'a Output, - pub decision: &'a Output, - pub excludes: &'a Output, - pub includes: &'a Output, - pub isolation_required: &'a Output, - pub name: &'a Output, - pub precedence: &'a Output, - pub purpose_justification_prompt: &'a Output, - pub purpose_justification_required: &'a Output, - pub requires: &'a Output, - pub session_duration: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("application-id", &self.application_id) - .field("approval-groups", &self.approval_groups) - .field("approval-required", &self.approval_required) - .field("connection-rules", &self.connection_rules) - .field("decision", &self.decision) - .field("excludes", &self.excludes) - .field("includes", &self.includes) - .field("isolation-required", &self.isolation_required) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field( - "purpose-justification-prompt", - &self.purpose_justification_prompt, - ) - .field( - "purpose-justification-required", - &self.purpose_justification_required, - ) - .field("requires", &self.requires) - .field("session-duration", &self.session_duration) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub application_id: Output, - pub approval_groups: Output, - pub approval_required: Output, - pub connection_rules: Output, - pub decision: Output, - pub excludes: Output, - pub includes: Output, - pub isolation_required: Output, - pub name: Output, - pub precedence: Output, - pub purpose_justification_prompt: Output, - pub purpose_justification_required: Output, - pub requires: Output, - pub session_duration: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("application-id", &self.application_id) - .field("approval-groups", &self.approval_groups) - .field("approval-required", &self.approval_required) - .field("connection-rules", &self.connection_rules) - .field("decision", &self.decision) - .field("excludes", &self.excludes) - .field("includes", &self.includes) - .field("isolation-required", &self.isolation_required) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field( - "purpose-justification-prompt", - &self.purpose_justification_prompt, - ) - .field( - "purpose-justification-required", - &self.purpose_justification_required, - ) - .field("requires", &self.requires) - .field("session-duration", &self.session_duration) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let result35 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - application_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - approval_groups: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - approval_required: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - connection_rules: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - decision: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - excludes: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - includes: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - isolation_required: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - name: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - precedence: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - purpose_justification_prompt: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - purpose_justification_required: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - requires: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - session_duration: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - zone_id: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - }, - ); - _rt::cabi_dealloc(arg0, 72, 4); - let ptr36 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id37, - application_id: application_id37, - approval_groups: approval_groups37, - approval_required: approval_required37, - connection_rules: connection_rules37, - decision: decision37, - excludes: excludes37, - includes: includes37, - isolation_required: isolation_required37, - name: name37, - precedence: precedence37, - purpose_justification_prompt: purpose_justification_prompt37, - purpose_justification_required: purpose_justification_required37, - requires: requires37, - session_duration: session_duration37, - zone_id: zone_id37, - } = result35; - *ptr36.add(0).cast::() = (account_id37).take_handle() as i32; - *ptr36.add(4).cast::() = (application_id37).take_handle() - as i32; - *ptr36.add(8).cast::() = (approval_groups37).take_handle() - as i32; - *ptr36.add(12).cast::() = (approval_required37).take_handle() - as i32; - *ptr36.add(16).cast::() = (connection_rules37).take_handle() - as i32; - *ptr36.add(20).cast::() = (decision37).take_handle() as i32; - *ptr36.add(24).cast::() = (excludes37).take_handle() as i32; - *ptr36.add(28).cast::() = (includes37).take_handle() as i32; - *ptr36.add(32).cast::() = (isolation_required37).take_handle() - as i32; - *ptr36.add(36).cast::() = (name37).take_handle() as i32; - *ptr36.add(40).cast::() = (precedence37).take_handle() as i32; - *ptr36.add(44).cast::() = (purpose_justification_prompt37) - .take_handle() as i32; - *ptr36.add(48).cast::() = (purpose_justification_required37) - .take_handle() as i32; - *ptr36.add(52).cast::() = (requires37).take_handle() as i32; - *ptr36.add(56).cast::() = (session_duration37).take_handle() - as i32; - *ptr36.add(60).cast::() = (zone_id37).take_handle() as i32; - ptr36 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_policy_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-policy@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_policy_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 64]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 64], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub configuration: &'a Output, - pub mode: &'a Output, - pub notes: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("configuration", &self.configuration) - .field("mode", &self.mode) - .field("notes", &self.notes) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub configuration: Output, - pub mode: Output, - pub notes: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("configuration", &self.configuration) - .field("mode", &self.mode) - .field("notes", &self.notes) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - configuration: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - mode: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - notes: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - configuration: configuration8, - mode: mode8, - notes: notes8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (configuration8).take_handle() as i32; - *ptr7.add(8).cast::() = (mode8).take_handle() as i32; - *ptr7.add(12).cast::() = (notes8).take_handle() as i32; - *ptr7.add(16).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-rule@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_service_token { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub duration: &'a Output, - pub min_days_for_renewal: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("duration", &self.duration) - .field("min-days-for-renewal", &self.min_days_for_renewal) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub client_id: Output, - pub client_secret: Output, - pub duration: Output, - pub expires_at: Output, - pub min_days_for_renewal: Output, - pub name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("client-id", &self.client_id) - .field("client-secret", &self.client_secret) - .field("duration", &self.duration) - .field("expires-at", &self.expires_at) - .field("min-days-for-renewal", &self.min_days_for_renewal) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - duration: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - min_days_for_renewal: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - client_id: client_id8, - client_secret: client_secret8, - duration: duration8, - expires_at: expires_at8, - min_days_for_renewal: min_days_for_renewal8, - name: name8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (client_id8).take_handle() as i32; - *ptr7.add(8).cast::() = (client_secret8).take_handle() as i32; - *ptr7.add(12).cast::() = (duration8).take_handle() as i32; - *ptr7.add(16).cast::() = (expires_at8).take_handle() as i32; - *ptr7.add(20).cast::() = (min_days_for_renewal8).take_handle() - as i32; - *ptr7.add(24).cast::() = (name8).take_handle() as i32; - *ptr7.add(28).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_service_token_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-service-token@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_service_token_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod access_tag { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub app_count: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("app-count", &self.app_count) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub app_count: Output, - pub name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("app-count", &self.app_count) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - app_count: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - app_count: app_count7, - name: name7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (app_count7).take_handle() as i32; - *ptr6.add(8).cast::() = (name7).take_handle() as i32; - *ptr6.add(12).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_access_tag_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/access-tag@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_access_tag_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod account { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub enforce_twofactor: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("enforce-twofactor", &self.enforce_twofactor) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub enforce_twofactor: Output, - pub name: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("enforce-twofactor", &self.enforce_twofactor) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - enforce_twofactor: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - type_: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - enforce_twofactor: enforce_twofactor6, - name: name6, - type_: type_6, - } = result4; - *ptr5.add(0).cast::() = (enforce_twofactor6).take_handle() - as i32; - *ptr5.add(4).cast::() = (name6).take_handle() as i32; - *ptr5.add(8).cast::() = (type_6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_account_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/account@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_account_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod account_member { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub email_address: &'a Output, - pub role_ids: &'a Output, - pub status: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("email-address", &self.email_address) - .field("role-ids", &self.role_ids) - .field("status", &self.status) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub email_address: Output, - pub role_ids: Output, - pub status: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("email-address", &self.email_address) - .field("role-ids", &self.role_ids) - .field("status", &self.status) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - email_address: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - role_ids: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - status: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - email_address: email_address7, - role_ids: role_ids7, - status: status7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (email_address7).take_handle() as i32; - *ptr6.add(8).cast::() = (role_ids7).take_handle() as i32; - *ptr6.add(12).cast::() = (status7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_account_member_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/account-member@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_account_member_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod address_map { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub default_sni: &'a Output, - pub description: &'a Output, - pub enabled: &'a Output, - pub ips: &'a Output, - pub memberships: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("default-sni", &self.default_sni) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("ips", &self.ips) - .field("memberships", &self.memberships) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub can_delete: Output, - pub can_modify_ips: Output, - pub default_sni: Output, - pub description: Output, - pub enabled: Output, - pub ips: Output, - pub memberships: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("can-delete", &self.can_delete) - .field("can-modify-ips", &self.can_modify_ips) - .field("default-sni", &self.default_sni) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("ips", &self.ips) - .field("memberships", &self.memberships) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - default_sni: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - description: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - enabled: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - ips: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - memberships: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - can_delete: can_delete9, - can_modify_ips: can_modify_ips9, - default_sni: default_sni9, - description: description9, - enabled: enabled9, - ips: ips9, - memberships: memberships9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (can_delete9).take_handle() as i32; - *ptr8.add(8).cast::() = (can_modify_ips9).take_handle() as i32; - *ptr8.add(12).cast::() = (default_sni9).take_handle() as i32; - *ptr8.add(16).cast::() = (description9).take_handle() as i32; - *ptr8.add(20).cast::() = (enabled9).take_handle() as i32; - *ptr8.add(24).cast::() = (ips9).take_handle() as i32; - *ptr8.add(28).cast::() = (memberships9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_address_map_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/address-map@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_address_map_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod api_shield { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub auth_id_characteristics: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field( - "auth-id-characteristics", - &self.auth_id_characteristics, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub auth_id_characteristics: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field( - "auth-id-characteristics", - &self.auth_id_characteristics, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - auth_id_characteristics: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - auth_id_characteristics: auth_id_characteristics5, - zone_id: zone_id5, - } = result3; - *ptr4.add(0).cast::() = (auth_id_characteristics5).take_handle() - as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_api_shield_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/api-shield@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_api_shield_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod api_shield_operation { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub endpoint: &'a Output, - pub host: &'a Output, - pub method: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("endpoint", &self.endpoint) - .field("host", &self.host) - .field("method", &self.method) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub endpoint: Output, - pub host: Output, - pub method: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("endpoint", &self.endpoint) - .field("host", &self.host) - .field("method", &self.method) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - endpoint: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - host: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - method: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - endpoint: endpoint7, - host: host7, - method: method7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (endpoint7).take_handle() as i32; - *ptr6.add(4).cast::() = (host7).take_handle() as i32; - *ptr6.add(8).cast::() = (method7).take_handle() as i32; - *ptr6.add(12).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_api_shield_operation_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/api-shield-operation@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_api_shield_operation_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod api_shield_operation_schema_validation_settings { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub mitigation_action: &'a Output, - pub operation_id: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("mitigation-action", &self.mitigation_action) - .field("operation-id", &self.operation_id) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub mitigation_action: Output, - pub operation_id: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("mitigation-action", &self.mitigation_action) - .field("operation-id", &self.operation_id) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - mitigation_action: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - operation_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - mitigation_action: mitigation_action6, - operation_id: operation_id6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (mitigation_action6).take_handle() - as i32; - *ptr5.add(4).cast::() = (operation_id6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_api_shield_operation_schema_validation_settings_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/api-shield-operation-schema-validation-settings@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_api_shield_operation_schema_validation_settings_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod api_shield_schema { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub kind: &'a Output, - pub name: &'a Output, - pub source: &'a Output, - pub validation_enabled: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("kind", &self.kind) - .field("name", &self.name) - .field("source", &self.source) - .field("validation-enabled", &self.validation_enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub kind: Output, - pub name: Output, - pub source: Output, - pub validation_enabled: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("kind", &self.kind) - .field("name", &self.name) - .field("source", &self.source) - .field("validation-enabled", &self.validation_enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - kind: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - source: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - validation_enabled: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - kind: kind8, - name: name8, - source: source8, - validation_enabled: validation_enabled8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (kind8).take_handle() as i32; - *ptr7.add(4).cast::() = (name8).take_handle() as i32; - *ptr7.add(8).cast::() = (source8).take_handle() as i32; - *ptr7.add(12).cast::() = (validation_enabled8).take_handle() - as i32; - *ptr7.add(16).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_api_shield_schema_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/api-shield-schema@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_api_shield_schema_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod api_shield_schema_validation_settings { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub validation_default_mitigation_action: &'a Output, - pub validation_override_mitigation_action: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field( - "validation-default-mitigation-action", - &self.validation_default_mitigation_action, - ) - .field( - "validation-override-mitigation-action", - &self.validation_override_mitigation_action, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub validation_default_mitigation_action: Output, - pub validation_override_mitigation_action: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field( - "validation-default-mitigation-action", - &self.validation_default_mitigation_action, - ) - .field( - "validation-override-mitigation-action", - &self.validation_override_mitigation_action, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - validation_default_mitigation_action: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - validation_override_mitigation_action: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - validation_default_mitigation_action: validation_default_mitigation_action6, - validation_override_mitigation_action: validation_override_mitigation_action6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (validation_default_mitigation_action6) - .take_handle() as i32; - *ptr5.add(4).cast::() = (validation_override_mitigation_action6) - .take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_api_shield_schema_validation_settings_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/api-shield-schema-validation-settings@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_api_shield_schema_validation_settings_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod api_token { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub condition: &'a Output, - pub expires_on: &'a Output, - pub name: &'a Output, - pub not_before: &'a Output, - pub policies: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("condition", &self.condition) - .field("expires-on", &self.expires_on) - .field("name", &self.name) - .field("not-before", &self.not_before) - .field("policies", &self.policies) - .finish() - } - } - pub struct Res { - pub condition: Output, - pub expires_on: Output, - pub issued_on: Output, - pub modified_on: Output, - pub name: Output, - pub not_before: Output, - pub policies: Output, - pub status: Output, - pub value: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("condition", &self.condition) - .field("expires-on", &self.expires_on) - .field("issued-on", &self.issued_on) - .field("modified-on", &self.modified_on) - .field("name", &self.name) - .field("not-before", &self.not_before) - .field("policies", &self.policies) - .field("status", &self.status) - .field("value", &self.value) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - condition: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - expires_on: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - not_before: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - policies: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - condition: condition8, - expires_on: expires_on8, - issued_on: issued_on8, - modified_on: modified_on8, - name: name8, - not_before: not_before8, - policies: policies8, - status: status8, - value: value8, - } = result6; - *ptr7.add(0).cast::() = (condition8).take_handle() as i32; - *ptr7.add(4).cast::() = (expires_on8).take_handle() as i32; - *ptr7.add(8).cast::() = (issued_on8).take_handle() as i32; - *ptr7.add(12).cast::() = (modified_on8).take_handle() as i32; - *ptr7.add(16).cast::() = (name8).take_handle() as i32; - *ptr7.add(20).cast::() = (not_before8).take_handle() as i32; - *ptr7.add(24).cast::() = (policies8).take_handle() as i32; - *ptr7.add(28).cast::() = (status8).take_handle() as i32; - *ptr7.add(32).cast::() = (value8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_api_token_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/api-token@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_api_token_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 36]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 36], - ); - } - #[allow(dead_code, clippy::all)] - pub mod argo { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub smart_routing: &'a Output, - pub tiered_caching: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("smart-routing", &self.smart_routing) - .field("tiered-caching", &self.tiered_caching) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub smart_routing: Output, - pub tiered_caching: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("smart-routing", &self.smart_routing) - .field("tiered-caching", &self.tiered_caching) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - smart_routing: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - tiered_caching: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - smart_routing: smart_routing6, - tiered_caching: tiered_caching6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (smart_routing6).take_handle() as i32; - *ptr5.add(4).cast::() = (tiered_caching6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_argo_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/argo@5.43.1--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, - arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_argo_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod authenticated_origin_pulls { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub authenticated_origin_pulls_certificate: &'a Output, - pub enabled: &'a Output, - pub hostname: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field( - "authenticated-origin-pulls-certificate", - &self.authenticated_origin_pulls_certificate, - ) - .field("enabled", &self.enabled) - .field("hostname", &self.hostname) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub authenticated_origin_pulls_certificate: Output, - pub enabled: Output, - pub hostname: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field( - "authenticated-origin-pulls-certificate", - &self.authenticated_origin_pulls_certificate, - ) - .field("enabled", &self.enabled) - .field("hostname", &self.hostname) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - authenticated_origin_pulls_certificate: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - enabled: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - hostname: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - authenticated_origin_pulls_certificate: authenticated_origin_pulls_certificate7, - enabled: enabled7, - hostname: hostname7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (authenticated_origin_pulls_certificate7) - .take_handle() as i32; - *ptr6.add(4).cast::() = (enabled7).take_handle() as i32; - *ptr6.add(8).cast::() = (hostname7).take_handle() as i32; - *ptr6.add(12).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_authenticated_origin_pulls_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/authenticated-origin-pulls@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_authenticated_origin_pulls_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod authenticated_origin_pulls_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub certificate: &'a Output, - pub private_key: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("certificate", &self.certificate) - .field("private-key", &self.private_key) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub certificate: Output, - pub expires_on: Output, - pub issuer: Output, - pub private_key: Output, - pub serial_number: Output, - pub signature: Output, - pub status: Output, - pub type_: Output, - pub uploaded_on: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("certificate", &self.certificate) - .field("expires-on", &self.expires_on) - .field("issuer", &self.issuer) - .field("private-key", &self.private_key) - .field("serial-number", &self.serial_number) - .field("signature", &self.signature) - .field("status", &self.status) - .field("type", &self.type_) - .field("uploaded-on", &self.uploaded_on) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - certificate: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - private_key: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - type_: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - certificate: certificate7, - expires_on: expires_on7, - issuer: issuer7, - private_key: private_key7, - serial_number: serial_number7, - signature: signature7, - status: status7, - type_: type_7, - uploaded_on: uploaded_on7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (certificate7).take_handle() as i32; - *ptr6.add(4).cast::() = (expires_on7).take_handle() as i32; - *ptr6.add(8).cast::() = (issuer7).take_handle() as i32; - *ptr6.add(12).cast::() = (private_key7).take_handle() as i32; - *ptr6.add(16).cast::() = (serial_number7).take_handle() as i32; - *ptr6.add(20).cast::() = (signature7).take_handle() as i32; - *ptr6.add(24).cast::() = (status7).take_handle() as i32; - *ptr6.add(28).cast::() = (type_7).take_handle() as i32; - *ptr6.add(32).cast::() = (uploaded_on7).take_handle() as i32; - *ptr6.add(36).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_authenticated_origin_pulls_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/authenticated-origin-pulls-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_authenticated_origin_pulls_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod bot_management { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub ai_bots_protection: &'a Output, - pub auto_update_model: &'a Output, - pub enable_js: &'a Output, - pub fight_mode: &'a Output, - pub optimize_wordpress: &'a Output, - pub sbfm_definitely_automated: &'a Output, - pub sbfm_likely_automated: &'a Output, - pub sbfm_static_resource_protection: &'a Output, - pub sbfm_verified_bots: &'a Output, - pub suppress_session_score: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("ai-bots-protection", &self.ai_bots_protection) - .field("auto-update-model", &self.auto_update_model) - .field("enable-js", &self.enable_js) - .field("fight-mode", &self.fight_mode) - .field("optimize-wordpress", &self.optimize_wordpress) - .field( - "sbfm-definitely-automated", - &self.sbfm_definitely_automated, - ) - .field("sbfm-likely-automated", &self.sbfm_likely_automated) - .field( - "sbfm-static-resource-protection", - &self.sbfm_static_resource_protection, - ) - .field("sbfm-verified-bots", &self.sbfm_verified_bots) - .field( - "suppress-session-score", - &self.suppress_session_score, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub ai_bots_protection: Output, - pub auto_update_model: Output, - pub enable_js: Output, - pub fight_mode: Output, - pub optimize_wordpress: Output, - pub sbfm_definitely_automated: Output, - pub sbfm_likely_automated: Output, - pub sbfm_static_resource_protection: Output, - pub sbfm_verified_bots: Output, - pub suppress_session_score: Output, - pub using_latest_model: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("ai-bots-protection", &self.ai_bots_protection) - .field("auto-update-model", &self.auto_update_model) - .field("enable-js", &self.enable_js) - .field("fight-mode", &self.fight_mode) - .field("optimize-wordpress", &self.optimize_wordpress) - .field( - "sbfm-definitely-automated", - &self.sbfm_definitely_automated, - ) - .field("sbfm-likely-automated", &self.sbfm_likely_automated) - .field( - "sbfm-static-resource-protection", - &self.sbfm_static_resource_protection, - ) - .field("sbfm-verified-bots", &self.sbfm_verified_bots) - .field( - "suppress-session-score", - &self.suppress_session_score, - ) - .field("using-latest-model", &self.using_latest_model) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result12 = T::invoke( - _rt::string_lift(bytes0), - Args { - ai_bots_protection: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - auto_update_model: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - enable_js: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - fight_mode: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - optimize_wordpress: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - sbfm_definitely_automated: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - sbfm_likely_automated: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - sbfm_static_resource_protection: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - sbfm_verified_bots: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - suppress_session_score: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - zone_id: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - }, - ); - let ptr13 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - ai_bots_protection: ai_bots_protection14, - auto_update_model: auto_update_model14, - enable_js: enable_js14, - fight_mode: fight_mode14, - optimize_wordpress: optimize_wordpress14, - sbfm_definitely_automated: sbfm_definitely_automated14, - sbfm_likely_automated: sbfm_likely_automated14, - sbfm_static_resource_protection: sbfm_static_resource_protection14, - sbfm_verified_bots: sbfm_verified_bots14, - suppress_session_score: suppress_session_score14, - using_latest_model: using_latest_model14, - zone_id: zone_id14, - } = result12; - *ptr13.add(0).cast::() = (ai_bots_protection14).take_handle() - as i32; - *ptr13.add(4).cast::() = (auto_update_model14).take_handle() - as i32; - *ptr13.add(8).cast::() = (enable_js14).take_handle() as i32; - *ptr13.add(12).cast::() = (fight_mode14).take_handle() as i32; - *ptr13.add(16).cast::() = (optimize_wordpress14).take_handle() - as i32; - *ptr13.add(20).cast::() = (sbfm_definitely_automated14) - .take_handle() as i32; - *ptr13.add(24).cast::() = (sbfm_likely_automated14) - .take_handle() as i32; - *ptr13.add(28).cast::() = (sbfm_static_resource_protection14) - .take_handle() as i32; - *ptr13.add(32).cast::() = (sbfm_verified_bots14).take_handle() - as i32; - *ptr13.add(36).cast::() = (suppress_session_score14) - .take_handle() as i32; - *ptr13.add(40).cast::() = (using_latest_model14).take_handle() - as i32; - *ptr13.add(44).cast::() = (zone_id14).take_handle() as i32; - ptr13 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_bot_management_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/bot-management@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10, arg11, arg12) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_bot_management_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 48]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 48], - ); - } - #[allow(dead_code, clippy::all)] - pub mod byo_ip_prefix { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub advertisement: &'a Output, - pub description: &'a Output, - pub prefix_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("advertisement", &self.advertisement) - .field("description", &self.description) - .field("prefix-id", &self.prefix_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub advertisement: Output, - pub description: Output, - pub prefix_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("advertisement", &self.advertisement) - .field("description", &self.description) - .field("prefix-id", &self.prefix_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - advertisement: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - description: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - prefix_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - advertisement: advertisement7, - description: description7, - prefix_id: prefix_id7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (advertisement7).take_handle() as i32; - *ptr6.add(8).cast::() = (description7).take_handle() as i32; - *ptr6.add(12).cast::() = (prefix_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_byo_ip_prefix_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/byo-ip-prefix@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_byo_ip_prefix_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod certificate_pack { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub certificate_authority: &'a Output, - pub cloudflare_branding: &'a Output, - pub hosts: &'a Output, - pub type_: &'a Output, - pub validation_errors: &'a Output, - pub validation_method: &'a Output, - pub validation_records: &'a Output, - pub validity_days: &'a Output, - pub wait_for_active_status: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("certificate-authority", &self.certificate_authority) - .field("cloudflare-branding", &self.cloudflare_branding) - .field("hosts", &self.hosts) - .field("type", &self.type_) - .field("validation-errors", &self.validation_errors) - .field("validation-method", &self.validation_method) - .field("validation-records", &self.validation_records) - .field("validity-days", &self.validity_days) - .field( - "wait-for-active-status", - &self.wait_for_active_status, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub certificate_authority: Output, - pub cloudflare_branding: Output, - pub hosts: Output, - pub type_: Output, - pub validation_errors: Output, - pub validation_method: Output, - pub validation_records: Output, - pub validity_days: Output, - pub wait_for_active_status: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("certificate-authority", &self.certificate_authority) - .field("cloudflare-branding", &self.cloudflare_branding) - .field("hosts", &self.hosts) - .field("type", &self.type_) - .field("validation-errors", &self.validation_errors) - .field("validation-method", &self.validation_method) - .field("validation-records", &self.validation_records) - .field("validity-days", &self.validity_days) - .field( - "wait-for-active-status", - &self.wait_for_active_status, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result11 = T::invoke( - _rt::string_lift(bytes0), - Args { - certificate_authority: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - cloudflare_branding: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - hosts: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - type_: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - validation_errors: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - validation_method: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - validation_records: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - validity_days: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - wait_for_active_status: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - zone_id: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - }, - ); - let ptr12 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - certificate_authority: certificate_authority13, - cloudflare_branding: cloudflare_branding13, - hosts: hosts13, - type_: type_13, - validation_errors: validation_errors13, - validation_method: validation_method13, - validation_records: validation_records13, - validity_days: validity_days13, - wait_for_active_status: wait_for_active_status13, - zone_id: zone_id13, - } = result11; - *ptr12.add(0).cast::() = (certificate_authority13).take_handle() - as i32; - *ptr12.add(4).cast::() = (cloudflare_branding13).take_handle() - as i32; - *ptr12.add(8).cast::() = (hosts13).take_handle() as i32; - *ptr12.add(12).cast::() = (type_13).take_handle() as i32; - *ptr12.add(16).cast::() = (validation_errors13).take_handle() - as i32; - *ptr12.add(20).cast::() = (validation_method13).take_handle() - as i32; - *ptr12.add(24).cast::() = (validation_records13).take_handle() - as i32; - *ptr12.add(28).cast::() = (validity_days13).take_handle() - as i32; - *ptr12.add(32).cast::() = (wait_for_active_status13) - .take_handle() as i32; - *ptr12.add(36).cast::() = (zone_id13).take_handle() as i32; - ptr12 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_certificate_pack_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/certificate-pack@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, - arg11) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_certificate_pack_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod cloud_connector_rules { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub rules: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("rules", &self.rules) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub rules: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("rules", &self.rules) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - rules: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { rules: rules5, zone_id: zone_id5 } = result3; - *ptr4.add(0).cast::() = (rules5).take_handle() as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_cloud_connector_rules_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/cloud-connector-rules@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_cloud_connector_rules_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod custom_hostname { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub custom_metadata: &'a Output, - pub custom_origin_server: &'a Output, - pub custom_origin_sni: &'a Output, - pub hostname: &'a Output, - pub ssls: &'a Output, - pub wait_for_ssl_pending_validation: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("custom-metadata", &self.custom_metadata) - .field("custom-origin-server", &self.custom_origin_server) - .field("custom-origin-sni", &self.custom_origin_sni) - .field("hostname", &self.hostname) - .field("ssls", &self.ssls) - .field( - "wait-for-ssl-pending-validation", - &self.wait_for_ssl_pending_validation, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub custom_metadata: Output, - pub custom_origin_server: Output, - pub custom_origin_sni: Output, - pub hostname: Output, - pub ownership_verification: Output, - pub ownership_verification_http: Output, - pub ssls: Output, - pub status: Output, - pub wait_for_ssl_pending_validation: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("custom-metadata", &self.custom_metadata) - .field("custom-origin-server", &self.custom_origin_server) - .field("custom-origin-sni", &self.custom_origin_sni) - .field("hostname", &self.hostname) - .field( - "ownership-verification", - &self.ownership_verification, - ) - .field( - "ownership-verification-http", - &self.ownership_verification_http, - ) - .field("ssls", &self.ssls) - .field("status", &self.status) - .field( - "wait-for-ssl-pending-validation", - &self.wait_for_ssl_pending_validation, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result8 = T::invoke( - _rt::string_lift(bytes0), - Args { - custom_metadata: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - custom_origin_server: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - custom_origin_sni: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - hostname: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - ssls: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - wait_for_ssl_pending_validation: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - zone_id: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - }, - ); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - custom_metadata: custom_metadata10, - custom_origin_server: custom_origin_server10, - custom_origin_sni: custom_origin_sni10, - hostname: hostname10, - ownership_verification: ownership_verification10, - ownership_verification_http: ownership_verification_http10, - ssls: ssls10, - status: status10, - wait_for_ssl_pending_validation: wait_for_ssl_pending_validation10, - zone_id: zone_id10, - } = result8; - *ptr9.add(0).cast::() = (custom_metadata10).take_handle() - as i32; - *ptr9.add(4).cast::() = (custom_origin_server10).take_handle() - as i32; - *ptr9.add(8).cast::() = (custom_origin_sni10).take_handle() - as i32; - *ptr9.add(12).cast::() = (hostname10).take_handle() as i32; - *ptr9.add(16).cast::() = (ownership_verification10) - .take_handle() as i32; - *ptr9.add(20).cast::() = (ownership_verification_http10) - .take_handle() as i32; - *ptr9.add(24).cast::() = (ssls10).take_handle() as i32; - *ptr9.add(28).cast::() = (status10).take_handle() as i32; - *ptr9.add(32).cast::() = (wait_for_ssl_pending_validation10) - .take_handle() as i32; - *ptr9.add(36).cast::() = (zone_id10).take_handle() as i32; - ptr9 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_custom_hostname_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/custom-hostname@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_custom_hostname_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod custom_hostname_fallback_origin { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub origin: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("origin", &self.origin) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub origin: Output, - pub status: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("origin", &self.origin) - .field("status", &self.status) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - origin: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { origin: origin5, status: status5, zone_id: zone_id5 } = result3; - *ptr4.add(0).cast::() = (origin5).take_handle() as i32; - *ptr4.add(4).cast::() = (status5).take_handle() as i32; - *ptr4.add(8).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_custom_hostname_fallback_origin_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/custom-hostname-fallback-origin@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_custom_hostname_fallback_origin_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod custom_pages { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub state: &'a Output, - pub type_: &'a Output, - pub url: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("state", &self.state) - .field("type", &self.type_) - .field("url", &self.url) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub state: Output, - pub type_: Output, - pub url: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("state", &self.state) - .field("type", &self.type_) - .field("url", &self.url) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - state: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - type_: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - url: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - state: state8, - type_: type_8, - url: url8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (state8).take_handle() as i32; - *ptr7.add(8).cast::() = (type_8).take_handle() as i32; - *ptr7.add(12).cast::() = (url8).take_handle() as i32; - *ptr7.add(16).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_custom_pages_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/custom-pages@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_custom_pages_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod custom_ssl { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub custom_ssl_options: &'a Output, - pub custom_ssl_priorities: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("custom-ssl-options", &self.custom_ssl_options) - .field("custom-ssl-priorities", &self.custom_ssl_priorities) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub custom_ssl_options: Output, - pub custom_ssl_priorities: Output, - pub expires_on: Output, - pub hosts: Output, - pub issuer: Output, - pub modified_on: Output, - pub priority: Output, - pub signature: Output, - pub status: Output, - pub uploaded_on: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("custom-ssl-options", &self.custom_ssl_options) - .field("custom-ssl-priorities", &self.custom_ssl_priorities) - .field("expires-on", &self.expires_on) - .field("hosts", &self.hosts) - .field("issuer", &self.issuer) - .field("modified-on", &self.modified_on) - .field("priority", &self.priority) - .field("signature", &self.signature) - .field("status", &self.status) - .field("uploaded-on", &self.uploaded_on) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - custom_ssl_options: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - custom_ssl_priorities: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - custom_ssl_options: custom_ssl_options6, - custom_ssl_priorities: custom_ssl_priorities6, - expires_on: expires_on6, - hosts: hosts6, - issuer: issuer6, - modified_on: modified_on6, - priority: priority6, - signature: signature6, - status: status6, - uploaded_on: uploaded_on6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (custom_ssl_options6).take_handle() - as i32; - *ptr5.add(4).cast::() = (custom_ssl_priorities6).take_handle() - as i32; - *ptr5.add(8).cast::() = (expires_on6).take_handle() as i32; - *ptr5.add(12).cast::() = (hosts6).take_handle() as i32; - *ptr5.add(16).cast::() = (issuer6).take_handle() as i32; - *ptr5.add(20).cast::() = (modified_on6).take_handle() as i32; - *ptr5.add(24).cast::() = (priority6).take_handle() as i32; - *ptr5.add(28).cast::() = (signature6).take_handle() as i32; - *ptr5.add(32).cast::() = (status6).take_handle() as i32; - *ptr5.add(36).cast::() = (uploaded_on6).take_handle() as i32; - *ptr5.add(40).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_custom_ssl_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/custom-ssl@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_custom_ssl_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 44]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 44], - ); - } - #[allow(dead_code, clippy::all)] - pub mod d1_database { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub name: Output, - pub version: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("version", &self.version) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - name: name5, - version: version5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (name5).take_handle() as i32; - *ptr4.add(8).cast::() = (version5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_d1_database_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/d1-database@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_d1_database_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod device_dex_test { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub data: &'a Output, - pub description: &'a Output, - pub enabled: &'a Output, - pub interval: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("data", &self.data) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("interval", &self.interval) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub created: Output, - pub data: Output, - pub description: Output, - pub enabled: Output, - pub interval: Output, - pub name: Output, - pub updated: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("created", &self.created) - .field("data", &self.data) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("interval", &self.interval) - .field("name", &self.name) - .field("updated", &self.updated) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - data: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - description: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - enabled: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - interval: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - name: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - created: created9, - data: data9, - description: description9, - enabled: enabled9, - interval: interval9, - name: name9, - updated: updated9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (created9).take_handle() as i32; - *ptr8.add(8).cast::() = (data9).take_handle() as i32; - *ptr8.add(12).cast::() = (description9).take_handle() as i32; - *ptr8.add(16).cast::() = (enabled9).take_handle() as i32; - *ptr8.add(20).cast::() = (interval9).take_handle() as i32; - *ptr8.add(24).cast::() = (name9).take_handle() as i32; - *ptr8.add(28).cast::() = (updated9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_device_dex_test_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/device-dex-test@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_device_dex_test_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod device_managed_networks { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub config: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("config", &self.config) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub config: Output, - pub name: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("config", &self.config) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - config: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - type_: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - config: config7, - name: name7, - type_: type_7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (config7).take_handle() as i32; - *ptr6.add(8).cast::() = (name7).take_handle() as i32; - *ptr6.add(12).cast::() = (type_7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_device_managed_networks_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/device-managed-networks@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_device_managed_networks_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod device_policy_certificates { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub enabled: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub enabled: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - enabled: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { enabled: enabled5, zone_id: zone_id5 } = result3; - *ptr4.add(0).cast::() = (enabled5).take_handle() as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_device_policy_certificates_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/device-policy-certificates@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_device_policy_certificates_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod device_posture_integration { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub configs: &'a Output, - pub identifier: &'a Output, - pub interval: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("configs", &self.configs) - .field("identifier", &self.identifier) - .field("interval", &self.interval) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub configs: Output, - pub identifier: Output, - pub interval: Output, - pub name: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("configs", &self.configs) - .field("identifier", &self.identifier) - .field("interval", &self.interval) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - configs: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - identifier: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - interval: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - name: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - type_: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - configs: configs9, - identifier: identifier9, - interval: interval9, - name: name9, - type_: type_9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (configs9).take_handle() as i32; - *ptr8.add(8).cast::() = (identifier9).take_handle() as i32; - *ptr8.add(12).cast::() = (interval9).take_handle() as i32; - *ptr8.add(16).cast::() = (name9).take_handle() as i32; - *ptr8.add(20).cast::() = (type_9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_device_posture_integration_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/device-posture-integration@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_device_posture_integration_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod device_posture_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub description: &'a Output, - pub expiration: &'a Output, - pub inputs: &'a Output, - pub matches: &'a Output, - pub name: &'a Output, - pub schedule: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("expiration", &self.expiration) - .field("inputs", &self.inputs) - .field("matches", &self.matches) - .field("name", &self.name) - .field("schedule", &self.schedule) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub description: Output, - pub expiration: Output, - pub inputs: Output, - pub matches: Output, - pub name: Output, - pub schedule: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("expiration", &self.expiration) - .field("inputs", &self.inputs) - .field("matches", &self.matches) - .field("name", &self.name) - .field("schedule", &self.schedule) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result9 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - expiration: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - inputs: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - matches: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - name: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - schedule: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - type_: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - }, - ); - let ptr10 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id11, - description: description11, - expiration: expiration11, - inputs: inputs11, - matches: matches11, - name: name11, - schedule: schedule11, - type_: type_11, - } = result9; - *ptr10.add(0).cast::() = (account_id11).take_handle() as i32; - *ptr10.add(4).cast::() = (description11).take_handle() as i32; - *ptr10.add(8).cast::() = (expiration11).take_handle() as i32; - *ptr10.add(12).cast::() = (inputs11).take_handle() as i32; - *ptr10.add(16).cast::() = (matches11).take_handle() as i32; - *ptr10.add(20).cast::() = (name11).take_handle() as i32; - *ptr10.add(24).cast::() = (schedule11).take_handle() as i32; - *ptr10.add(28).cast::() = (type_11).take_handle() as i32; - ptr10 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_device_posture_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/device-posture-rule@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_device_posture_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod device_settings_policy { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_mode_switch: &'a Output, - pub allow_updates: &'a Output, - pub allowed_to_leave: &'a Output, - pub auto_connect: &'a Output, - pub captive_portal: &'a Output, - pub default: &'a Output, - pub description: &'a Output, - pub disable_auto_fallback: &'a Output, - pub enabled: &'a Output, - pub exclude_office_ips: &'a Output, - pub match_: &'a Output, - pub name: &'a Output, - pub precedence: &'a Output, - pub service_mode_v2_mode: &'a Output, - pub service_mode_v2_port: &'a Output, - pub support_url: &'a Output, - pub switch_locked: &'a Output, - pub tunnel_protocol: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("allow-mode-switch", &self.allow_mode_switch) - .field("allow-updates", &self.allow_updates) - .field("allowed-to-leave", &self.allowed_to_leave) - .field("auto-connect", &self.auto_connect) - .field("captive-portal", &self.captive_portal) - .field("default", &self.default) - .field("description", &self.description) - .field("disable-auto-fallback", &self.disable_auto_fallback) - .field("enabled", &self.enabled) - .field("exclude-office-ips", &self.exclude_office_ips) - .field("match", &self.match_) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field("service-mode-v2-mode", &self.service_mode_v2_mode) - .field("service-mode-v2-port", &self.service_mode_v2_port) - .field("support-url", &self.support_url) - .field("switch-locked", &self.switch_locked) - .field("tunnel-protocol", &self.tunnel_protocol) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_mode_switch: Output, - pub allow_updates: Output, - pub allowed_to_leave: Output, - pub auto_connect: Output, - pub captive_portal: Output, - pub default: Output, - pub description: Output, - pub disable_auto_fallback: Output, - pub enabled: Output, - pub exclude_office_ips: Output, - pub match_: Output, - pub name: Output, - pub precedence: Output, - pub service_mode_v2_mode: Output, - pub service_mode_v2_port: Output, - pub support_url: Output, - pub switch_locked: Output, - pub tunnel_protocol: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("allow-mode-switch", &self.allow_mode_switch) - .field("allow-updates", &self.allow_updates) - .field("allowed-to-leave", &self.allowed_to_leave) - .field("auto-connect", &self.auto_connect) - .field("captive-portal", &self.captive_portal) - .field("default", &self.default) - .field("description", &self.description) - .field("disable-auto-fallback", &self.disable_auto_fallback) - .field("enabled", &self.enabled) - .field("exclude-office-ips", &self.exclude_office_ips) - .field("match", &self.match_) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field("service-mode-v2-mode", &self.service_mode_v2_mode) - .field("service-mode-v2-port", &self.service_mode_v2_port) - .field("support-url", &self.support_url) - .field("switch-locked", &self.switch_locked) - .field("tunnel-protocol", &self.tunnel_protocol) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let result41 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - allow_mode_switch: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - allow_updates: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - allowed_to_leave: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - auto_connect: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - captive_portal: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - default: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - description: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - disable_auto_fallback: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - enabled: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - exclude_office_ips: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - match_: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - name: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - precedence: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - service_mode_v2_mode: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - service_mode_v2_port: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - support_url: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - switch_locked: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - tunnel_protocol: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - }, - ); - _rt::cabi_dealloc(arg0, 84, 4); - let ptr42 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id43, - allow_mode_switch: allow_mode_switch43, - allow_updates: allow_updates43, - allowed_to_leave: allowed_to_leave43, - auto_connect: auto_connect43, - captive_portal: captive_portal43, - default: default43, - description: description43, - disable_auto_fallback: disable_auto_fallback43, - enabled: enabled43, - exclude_office_ips: exclude_office_ips43, - match_: match_43, - name: name43, - precedence: precedence43, - service_mode_v2_mode: service_mode_v2_mode43, - service_mode_v2_port: service_mode_v2_port43, - support_url: support_url43, - switch_locked: switch_locked43, - tunnel_protocol: tunnel_protocol43, - } = result41; - *ptr42.add(0).cast::() = (account_id43).take_handle() as i32; - *ptr42.add(4).cast::() = (allow_mode_switch43).take_handle() - as i32; - *ptr42.add(8).cast::() = (allow_updates43).take_handle() as i32; - *ptr42.add(12).cast::() = (allowed_to_leave43).take_handle() - as i32; - *ptr42.add(16).cast::() = (auto_connect43).take_handle() as i32; - *ptr42.add(20).cast::() = (captive_portal43).take_handle() - as i32; - *ptr42.add(24).cast::() = (default43).take_handle() as i32; - *ptr42.add(28).cast::() = (description43).take_handle() as i32; - *ptr42.add(32).cast::() = (disable_auto_fallback43) - .take_handle() as i32; - *ptr42.add(36).cast::() = (enabled43).take_handle() as i32; - *ptr42.add(40).cast::() = (exclude_office_ips43).take_handle() - as i32; - *ptr42.add(44).cast::() = (match_43).take_handle() as i32; - *ptr42.add(48).cast::() = (name43).take_handle() as i32; - *ptr42.add(52).cast::() = (precedence43).take_handle() as i32; - *ptr42.add(56).cast::() = (service_mode_v2_mode43).take_handle() - as i32; - *ptr42.add(60).cast::() = (service_mode_v2_port43).take_handle() - as i32; - *ptr42.add(64).cast::() = (support_url43).take_handle() as i32; - *ptr42.add(68).cast::() = (switch_locked43).take_handle() - as i32; - *ptr42.add(72).cast::() = (tunnel_protocol43).take_handle() - as i32; - ptr42 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_device_settings_policy_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/device-settings-policy@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_device_settings_policy_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 76]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 76], - ); - } - #[allow(dead_code, clippy::all)] - pub mod dlp_profile { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allowed_match_count: &'a Output, - pub context_awareness: &'a Output, - pub description: &'a Output, - pub entries: &'a Output, - pub name: &'a Output, - pub ocr_enabled: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("allowed-match-count", &self.allowed_match_count) - .field("context-awareness", &self.context_awareness) - .field("description", &self.description) - .field("entries", &self.entries) - .field("name", &self.name) - .field("ocr-enabled", &self.ocr_enabled) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allowed_match_count: Output, - pub context_awareness: Output, - pub description: Output, - pub entries: Output, - pub name: Output, - pub ocr_enabled: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("allowed-match-count", &self.allowed_match_count) - .field("context-awareness", &self.context_awareness) - .field("description", &self.description) - .field("entries", &self.entries) - .field("name", &self.name) - .field("ocr-enabled", &self.ocr_enabled) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result9 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - allowed_match_count: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - context_awareness: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - description: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - entries: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - name: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - ocr_enabled: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - type_: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - }, - ); - let ptr10 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id11, - allowed_match_count: allowed_match_count11, - context_awareness: context_awareness11, - description: description11, - entries: entries11, - name: name11, - ocr_enabled: ocr_enabled11, - type_: type_11, - } = result9; - *ptr10.add(0).cast::() = (account_id11).take_handle() as i32; - *ptr10.add(4).cast::() = (allowed_match_count11).take_handle() - as i32; - *ptr10.add(8).cast::() = (context_awareness11).take_handle() - as i32; - *ptr10.add(12).cast::() = (description11).take_handle() as i32; - *ptr10.add(16).cast::() = (entries11).take_handle() as i32; - *ptr10.add(20).cast::() = (name11).take_handle() as i32; - *ptr10.add(24).cast::() = (ocr_enabled11).take_handle() as i32; - *ptr10.add(28).cast::() = (type_11).take_handle() as i32; - ptr10 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_dlp_profile_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/dlp-profile@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32, arg9 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_dlp_profile_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod email_routing_address { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub email: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("email", &self.email) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub created: Output, - pub email: Output, - pub modified: Output, - pub tag: Output, - pub verified: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("created", &self.created) - .field("email", &self.email) - .field("modified", &self.modified) - .field("tag", &self.tag) - .field("verified", &self.verified) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - email: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - created: created5, - email: email5, - modified: modified5, - tag: tag5, - verified: verified5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (created5).take_handle() as i32; - *ptr4.add(8).cast::() = (email5).take_handle() as i32; - *ptr4.add(12).cast::() = (modified5).take_handle() as i32; - *ptr4.add(16).cast::() = (tag5).take_handle() as i32; - *ptr4.add(20).cast::() = (verified5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_email_routing_address_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/email-routing-address@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_email_routing_address_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod email_routing_catch_all { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub actions: &'a Output, - pub enabled: &'a Output, - pub matchers: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("actions", &self.actions) - .field("enabled", &self.enabled) - .field("matchers", &self.matchers) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub actions: Output, - pub enabled: Output, - pub matchers: Output, - pub name: Output, - pub tag: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("actions", &self.actions) - .field("enabled", &self.enabled) - .field("matchers", &self.matchers) - .field("name", &self.name) - .field("tag", &self.tag) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - actions: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - enabled: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - matchers: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - actions: actions8, - enabled: enabled8, - matchers: matchers8, - name: name8, - tag: tag8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (actions8).take_handle() as i32; - *ptr7.add(4).cast::() = (enabled8).take_handle() as i32; - *ptr7.add(8).cast::() = (matchers8).take_handle() as i32; - *ptr7.add(12).cast::() = (name8).take_handle() as i32; - *ptr7.add(16).cast::() = (tag8).take_handle() as i32; - *ptr7.add(20).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_email_routing_catch_all_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/email-routing-catch-all@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_email_routing_catch_all_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod email_routing_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub actions: &'a Output, - pub enabled: &'a Output, - pub matchers: &'a Output, - pub name: &'a Output, - pub priority: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("actions", &self.actions) - .field("enabled", &self.enabled) - .field("matchers", &self.matchers) - .field("name", &self.name) - .field("priority", &self.priority) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub actions: Output, - pub enabled: Output, - pub matchers: Output, - pub name: Output, - pub priority: Output, - pub tag: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("actions", &self.actions) - .field("enabled", &self.enabled) - .field("matchers", &self.matchers) - .field("name", &self.name) - .field("priority", &self.priority) - .field("tag", &self.tag) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - actions: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - enabled: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - matchers: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - priority: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - zone_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - actions: actions9, - enabled: enabled9, - matchers: matchers9, - name: name9, - priority: priority9, - tag: tag9, - zone_id: zone_id9, - } = result7; - *ptr8.add(0).cast::() = (actions9).take_handle() as i32; - *ptr8.add(4).cast::() = (enabled9).take_handle() as i32; - *ptr8.add(8).cast::() = (matchers9).take_handle() as i32; - *ptr8.add(12).cast::() = (name9).take_handle() as i32; - *ptr8.add(16).cast::() = (priority9).take_handle() as i32; - *ptr8.add(20).cast::() = (tag9).take_handle() as i32; - *ptr8.add(24).cast::() = (zone_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_email_routing_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/email-routing-rule@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_email_routing_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod email_routing_settings { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub enabled: &'a Output, - pub skip_wizard: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("enabled", &self.enabled) - .field("skip-wizard", &self.skip_wizard) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub created: Output, - pub enabled: Output, - pub modified: Output, - pub name: Output, - pub skip_wizard: Output, - pub status: Output, - pub tag: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("created", &self.created) - .field("enabled", &self.enabled) - .field("modified", &self.modified) - .field("name", &self.name) - .field("skip-wizard", &self.skip_wizard) - .field("status", &self.status) - .field("tag", &self.tag) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - enabled: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - skip_wizard: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - created: created6, - enabled: enabled6, - modified: modified6, - name: name6, - skip_wizard: skip_wizard6, - status: status6, - tag: tag6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (created6).take_handle() as i32; - *ptr5.add(4).cast::() = (enabled6).take_handle() as i32; - *ptr5.add(8).cast::() = (modified6).take_handle() as i32; - *ptr5.add(12).cast::() = (name6).take_handle() as i32; - *ptr5.add(16).cast::() = (skip_wizard6).take_handle() as i32; - *ptr5.add(20).cast::() = (status6).take_handle() as i32; - *ptr5.add(24).cast::() = (tag6).take_handle() as i32; - *ptr5.add(28).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_email_routing_settings_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/email-routing-settings@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_email_routing_settings_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod fallback_domain { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub domains: &'a Output, - pub policy_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("domains", &self.domains) - .field("policy-id", &self.policy_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub domains: Output, - pub policy_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("domains", &self.domains) - .field("policy-id", &self.policy_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - domains: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - policy_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - domains: domains6, - policy_id: policy_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (domains6).take_handle() as i32; - *ptr5.add(8).cast::() = (policy_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_fallback_domain_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/fallback-domain@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_fallback_domain_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod filter { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub description: &'a Output, - pub expression: &'a Output, - pub paused: &'a Output, - pub ref_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("description", &self.description) - .field("expression", &self.expression) - .field("paused", &self.paused) - .field("ref", &self.ref_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub description: Output, - pub expression: Output, - pub paused: Output, - pub ref_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("description", &self.description) - .field("expression", &self.expression) - .field("paused", &self.paused) - .field("ref", &self.ref_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - description: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - expression: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - paused: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - ref_: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - description: description8, - expression: expression8, - paused: paused8, - ref_: ref_8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (description8).take_handle() as i32; - *ptr7.add(4).cast::() = (expression8).take_handle() as i32; - *ptr7.add(8).cast::() = (paused8).take_handle() as i32; - *ptr7.add(12).cast::() = (ref_8).take_handle() as i32; - *ptr7.add(16).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_filter_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/filter@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_filter_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod firewall_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub action: &'a Output, - pub description: &'a Output, - pub filter_id: &'a Output, - pub paused: &'a Output, - pub priority: &'a Output, - pub products: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("action", &self.action) - .field("description", &self.description) - .field("filter-id", &self.filter_id) - .field("paused", &self.paused) - .field("priority", &self.priority) - .field("products", &self.products) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub action: Output, - pub description: Output, - pub filter_id: Output, - pub paused: Output, - pub priority: Output, - pub products: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("action", &self.action) - .field("description", &self.description) - .field("filter-id", &self.filter_id) - .field("paused", &self.paused) - .field("priority", &self.priority) - .field("products", &self.products) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result8 = T::invoke( - _rt::string_lift(bytes0), - Args { - action: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - filter_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - paused: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - priority: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - products: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - zone_id: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - }, - ); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - action: action10, - description: description10, - filter_id: filter_id10, - paused: paused10, - priority: priority10, - products: products10, - zone_id: zone_id10, - } = result8; - *ptr9.add(0).cast::() = (action10).take_handle() as i32; - *ptr9.add(4).cast::() = (description10).take_handle() as i32; - *ptr9.add(8).cast::() = (filter_id10).take_handle() as i32; - *ptr9.add(12).cast::() = (paused10).take_handle() as i32; - *ptr9.add(16).cast::() = (priority10).take_handle() as i32; - *ptr9.add(20).cast::() = (products10).take_handle() as i32; - *ptr9.add(24).cast::() = (zone_id10).take_handle() as i32; - ptr9 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_firewall_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/firewall-rule@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_firewall_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod gre_tunnel { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub cloudflare_gre_endpoint: &'a Output, - pub customer_gre_endpoint: &'a Output, - pub description: &'a Output, - pub health_check_enabled: &'a Output, - pub health_check_target: &'a Output, - pub health_check_type: &'a Output, - pub interface_address: &'a Output, - pub mtu: &'a Output, - pub name: &'a Output, - pub ttl: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "cloudflare-gre-endpoint", - &self.cloudflare_gre_endpoint, - ) - .field("customer-gre-endpoint", &self.customer_gre_endpoint) - .field("description", &self.description) - .field("health-check-enabled", &self.health_check_enabled) - .field("health-check-target", &self.health_check_target) - .field("health-check-type", &self.health_check_type) - .field("interface-address", &self.interface_address) - .field("mtu", &self.mtu) - .field("name", &self.name) - .field("ttl", &self.ttl) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub cloudflare_gre_endpoint: Output, - pub customer_gre_endpoint: Output, - pub description: Output, - pub health_check_enabled: Output, - pub health_check_target: Output, - pub health_check_type: Output, - pub interface_address: Output, - pub mtu: Output, - pub name: Output, - pub ttl: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "cloudflare-gre-endpoint", - &self.cloudflare_gre_endpoint, - ) - .field("customer-gre-endpoint", &self.customer_gre_endpoint) - .field("description", &self.description) - .field("health-check-enabled", &self.health_check_enabled) - .field("health-check-target", &self.health_check_target) - .field("health-check-type", &self.health_check_type) - .field("interface-address", &self.interface_address) - .field("mtu", &self.mtu) - .field("name", &self.name) - .field("ttl", &self.ttl) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result12 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - cloudflare_gre_endpoint: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - customer_gre_endpoint: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - description: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - health_check_enabled: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - health_check_target: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - health_check_type: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - interface_address: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - mtu: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - name: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - ttl: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - }, - ); - let ptr13 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id14, - cloudflare_gre_endpoint: cloudflare_gre_endpoint14, - customer_gre_endpoint: customer_gre_endpoint14, - description: description14, - health_check_enabled: health_check_enabled14, - health_check_target: health_check_target14, - health_check_type: health_check_type14, - interface_address: interface_address14, - mtu: mtu14, - name: name14, - ttl: ttl14, - } = result12; - *ptr13.add(0).cast::() = (account_id14).take_handle() as i32; - *ptr13.add(4).cast::() = (cloudflare_gre_endpoint14) - .take_handle() as i32; - *ptr13.add(8).cast::() = (customer_gre_endpoint14).take_handle() - as i32; - *ptr13.add(12).cast::() = (description14).take_handle() as i32; - *ptr13.add(16).cast::() = (health_check_enabled14).take_handle() - as i32; - *ptr13.add(20).cast::() = (health_check_target14).take_handle() - as i32; - *ptr13.add(24).cast::() = (health_check_type14).take_handle() - as i32; - *ptr13.add(28).cast::() = (interface_address14).take_handle() - as i32; - *ptr13.add(32).cast::() = (mtu14).take_handle() as i32; - *ptr13.add(36).cast::() = (name14).take_handle() as i32; - *ptr13.add(40).cast::() = (ttl14).take_handle() as i32; - ptr13 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_gre_tunnel_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/gre-tunnel@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, - arg10, arg11, arg12) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_gre_tunnel_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 44]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 44], - ); - } - #[allow(dead_code, clippy::all)] - pub mod healthcheck { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub address: &'a Output, - pub allow_insecure: &'a Output, - pub check_regions: &'a Output, - pub consecutive_fails: &'a Output, - pub consecutive_successes: &'a Output, - pub description: &'a Output, - pub expected_body: &'a Output, - pub expected_codes: &'a Output, - pub follow_redirects: &'a Output, - pub headers: &'a Output, - pub interval: &'a Output, - pub method: &'a Output, - pub name: &'a Output, - pub path: &'a Output, - pub port: &'a Output, - pub retries: &'a Output, - pub suspended: &'a Output, - pub timeout: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("address", &self.address) - .field("allow-insecure", &self.allow_insecure) - .field("check-regions", &self.check_regions) - .field("consecutive-fails", &self.consecutive_fails) - .field("consecutive-successes", &self.consecutive_successes) - .field("description", &self.description) - .field("expected-body", &self.expected_body) - .field("expected-codes", &self.expected_codes) - .field("follow-redirects", &self.follow_redirects) - .field("headers", &self.headers) - .field("interval", &self.interval) - .field("method", &self.method) - .field("name", &self.name) - .field("path", &self.path) - .field("port", &self.port) - .field("retries", &self.retries) - .field("suspended", &self.suspended) - .field("timeout", &self.timeout) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub address: Output, - pub allow_insecure: Output, - pub check_regions: Output, - pub consecutive_fails: Output, - pub consecutive_successes: Output, - pub created_on: Output, - pub description: Output, - pub expected_body: Output, - pub expected_codes: Output, - pub follow_redirects: Output, - pub headers: Output, - pub interval: Output, - pub method: Output, - pub modified_on: Output, - pub name: Output, - pub path: Output, - pub port: Output, - pub retries: Output, - pub suspended: Output, - pub timeout: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("address", &self.address) - .field("allow-insecure", &self.allow_insecure) - .field("check-regions", &self.check_regions) - .field("consecutive-fails", &self.consecutive_fails) - .field("consecutive-successes", &self.consecutive_successes) - .field("created-on", &self.created_on) - .field("description", &self.description) - .field("expected-body", &self.expected_body) - .field("expected-codes", &self.expected_codes) - .field("follow-redirects", &self.follow_redirects) - .field("headers", &self.headers) - .field("interval", &self.interval) - .field("method", &self.method) - .field("modified-on", &self.modified_on) - .field("name", &self.name) - .field("path", &self.path) - .field("port", &self.port) - .field("retries", &self.retries) - .field("suspended", &self.suspended) - .field("timeout", &self.timeout) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let handle42; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let l41 = *arg0.add(84).cast::(); - let result43 = T::invoke( - _rt::string_lift(bytes2), - Args { - address: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - allow_insecure: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - check_regions: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - consecutive_fails: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - consecutive_successes: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - description: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - expected_body: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - expected_codes: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - follow_redirects: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - headers: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - interval: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - method: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - name: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - path: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - port: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - retries: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - suspended: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - timeout: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - type_: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - zone_id: { - handle42 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l41 as u32, - ); - &handle42 - }, - }, - ); - _rt::cabi_dealloc(arg0, 88, 4); - let ptr44 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - address: address45, - allow_insecure: allow_insecure45, - check_regions: check_regions45, - consecutive_fails: consecutive_fails45, - consecutive_successes: consecutive_successes45, - created_on: created_on45, - description: description45, - expected_body: expected_body45, - expected_codes: expected_codes45, - follow_redirects: follow_redirects45, - headers: headers45, - interval: interval45, - method: method45, - modified_on: modified_on45, - name: name45, - path: path45, - port: port45, - retries: retries45, - suspended: suspended45, - timeout: timeout45, - type_: type_45, - zone_id: zone_id45, - } = result43; - *ptr44.add(0).cast::() = (address45).take_handle() as i32; - *ptr44.add(4).cast::() = (allow_insecure45).take_handle() - as i32; - *ptr44.add(8).cast::() = (check_regions45).take_handle() as i32; - *ptr44.add(12).cast::() = (consecutive_fails45).take_handle() - as i32; - *ptr44.add(16).cast::() = (consecutive_successes45) - .take_handle() as i32; - *ptr44.add(20).cast::() = (created_on45).take_handle() as i32; - *ptr44.add(24).cast::() = (description45).take_handle() as i32; - *ptr44.add(28).cast::() = (expected_body45).take_handle() - as i32; - *ptr44.add(32).cast::() = (expected_codes45).take_handle() - as i32; - *ptr44.add(36).cast::() = (follow_redirects45).take_handle() - as i32; - *ptr44.add(40).cast::() = (headers45).take_handle() as i32; - *ptr44.add(44).cast::() = (interval45).take_handle() as i32; - *ptr44.add(48).cast::() = (method45).take_handle() as i32; - *ptr44.add(52).cast::() = (modified_on45).take_handle() as i32; - *ptr44.add(56).cast::() = (name45).take_handle() as i32; - *ptr44.add(60).cast::() = (path45).take_handle() as i32; - *ptr44.add(64).cast::() = (port45).take_handle() as i32; - *ptr44.add(68).cast::() = (retries45).take_handle() as i32; - *ptr44.add(72).cast::() = (suspended45).take_handle() as i32; - *ptr44.add(76).cast::() = (timeout45).take_handle() as i32; - *ptr44.add(80).cast::() = (type_45).take_handle() as i32; - *ptr44.add(84).cast::() = (zone_id45).take_handle() as i32; - ptr44 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_healthcheck_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/healthcheck@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_healthcheck_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 88]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 88], - ); - } - #[allow(dead_code, clippy::all)] - pub mod hostname_tls_setting { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub hostname: &'a Output, - pub setting: &'a Output, - pub value: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("hostname", &self.hostname) - .field("setting", &self.setting) - .field("value", &self.value) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub created_at: Output, - pub hostname: Output, - pub setting: Output, - pub updated_at: Output, - pub value: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("created-at", &self.created_at) - .field("hostname", &self.hostname) - .field("setting", &self.setting) - .field("updated-at", &self.updated_at) - .field("value", &self.value) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - hostname: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - setting: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - value: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - created_at: created_at7, - hostname: hostname7, - setting: setting7, - updated_at: updated_at7, - value: value7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (created_at7).take_handle() as i32; - *ptr6.add(4).cast::() = (hostname7).take_handle() as i32; - *ptr6.add(8).cast::() = (setting7).take_handle() as i32; - *ptr6.add(12).cast::() = (updated_at7).take_handle() as i32; - *ptr6.add(16).cast::() = (value7).take_handle() as i32; - *ptr6.add(20).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_hostname_tls_setting_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/hostname-tls-setting@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_hostname_tls_setting_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod hostname_tls_setting_ciphers { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub hostname: &'a Output, - pub ports: &'a Output, - pub values: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("hostname", &self.hostname) - .field("ports", &self.ports) - .field("values", &self.values) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub created_at: Output, - pub hostname: Output, - pub ports: Output, - pub updated_at: Output, - pub values: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("created-at", &self.created_at) - .field("hostname", &self.hostname) - .field("ports", &self.ports) - .field("updated-at", &self.updated_at) - .field("values", &self.values) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - hostname: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - ports: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - values: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - created_at: created_at7, - hostname: hostname7, - ports: ports7, - updated_at: updated_at7, - values: values7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (created_at7).take_handle() as i32; - *ptr6.add(4).cast::() = (hostname7).take_handle() as i32; - *ptr6.add(8).cast::() = (ports7).take_handle() as i32; - *ptr6.add(12).cast::() = (updated_at7).take_handle() as i32; - *ptr6.add(16).cast::() = (values7).take_handle() as i32; - *ptr6.add(20).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_hostname_tls_setting_ciphers_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/hostname-tls-setting-ciphers@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_hostname_tls_setting_ciphers_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod hyperdrive_config { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub caching: &'a Output, - pub name: &'a Output, - pub origin: &'a Output, - pub resource_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("caching", &self.caching) - .field("name", &self.name) - .field("origin", &self.origin) - .field("resource-id", &self.resource_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub caching: Output, - pub name: Output, - pub origin: Output, - pub resource_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("caching", &self.caching) - .field("name", &self.name) - .field("origin", &self.origin) - .field("resource-id", &self.resource_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - caching: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - origin: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - resource_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - caching: caching8, - name: name8, - origin: origin8, - resource_id: resource_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (caching8).take_handle() as i32; - *ptr7.add(8).cast::() = (name8).take_handle() as i32; - *ptr7.add(12).cast::() = (origin8).take_handle() as i32; - *ptr7.add(16).cast::() = (resource_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_hyperdrive_config_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/hyperdrive-config@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_hyperdrive_config_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod infrastructure_access_target { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub hostname: &'a Output, - pub ip: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("hostname", &self.hostname) - .field("ip", &self.ip) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub created_at: Output, - pub hostname: Output, - pub ip: Output, - pub modified_at: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("created-at", &self.created_at) - .field("hostname", &self.hostname) - .field("ip", &self.ip) - .field("modified-at", &self.modified_at) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - hostname: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - ip: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - created_at: created_at6, - hostname: hostname6, - ip: ip6, - modified_at: modified_at6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (created_at6).take_handle() as i32; - *ptr5.add(8).cast::() = (hostname6).take_handle() as i32; - *ptr5.add(12).cast::() = (ip6).take_handle() as i32; - *ptr5.add(16).cast::() = (modified_at6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_infrastructure_access_target_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/infrastructure-access-target@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_infrastructure_access_target_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod ipsec_tunnel { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_null_cipher: &'a Output, - pub cloudflare_endpoint: &'a Output, - pub customer_endpoint: &'a Output, - pub description: &'a Output, - pub fqdn_id: &'a Output, - pub health_check_direction: &'a Output, - pub health_check_enabled: &'a Output, - pub health_check_rate: &'a Output, - pub health_check_target: &'a Output, - pub health_check_type: &'a Output, - pub hex_id: &'a Output, - pub interface_address: &'a Output, - pub name: &'a Output, - pub psk: &'a Output, - pub remote_id: &'a Output, - pub replay_protection: &'a Output, - pub user_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("allow-null-cipher", &self.allow_null_cipher) - .field("cloudflare-endpoint", &self.cloudflare_endpoint) - .field("customer-endpoint", &self.customer_endpoint) - .field("description", &self.description) - .field("fqdn-id", &self.fqdn_id) - .field( - "health-check-direction", - &self.health_check_direction, - ) - .field("health-check-enabled", &self.health_check_enabled) - .field("health-check-rate", &self.health_check_rate) - .field("health-check-target", &self.health_check_target) - .field("health-check-type", &self.health_check_type) - .field("hex-id", &self.hex_id) - .field("interface-address", &self.interface_address) - .field("name", &self.name) - .field("psk", &self.psk) - .field("remote-id", &self.remote_id) - .field("replay-protection", &self.replay_protection) - .field("user-id", &self.user_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_null_cipher: Output, - pub cloudflare_endpoint: Output, - pub customer_endpoint: Output, - pub description: Output, - pub fqdn_id: Output, - pub health_check_direction: Output, - pub health_check_enabled: Output, - pub health_check_rate: Output, - pub health_check_target: Output, - pub health_check_type: Output, - pub hex_id: Output, - pub interface_address: Output, - pub name: Output, - pub psk: Output, - pub remote_id: Output, - pub replay_protection: Output, - pub user_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("allow-null-cipher", &self.allow_null_cipher) - .field("cloudflare-endpoint", &self.cloudflare_endpoint) - .field("customer-endpoint", &self.customer_endpoint) - .field("description", &self.description) - .field("fqdn-id", &self.fqdn_id) - .field( - "health-check-direction", - &self.health_check_direction, - ) - .field("health-check-enabled", &self.health_check_enabled) - .field("health-check-rate", &self.health_check_rate) - .field("health-check-target", &self.health_check_target) - .field("health-check-type", &self.health_check_type) - .field("hex-id", &self.hex_id) - .field("interface-address", &self.interface_address) - .field("name", &self.name) - .field("psk", &self.psk) - .field("remote-id", &self.remote_id) - .field("replay-protection", &self.replay_protection) - .field("user-id", &self.user_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let result39 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - allow_null_cipher: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - cloudflare_endpoint: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - customer_endpoint: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - description: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - fqdn_id: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - health_check_direction: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - health_check_enabled: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - health_check_rate: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - health_check_target: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - health_check_type: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - hex_id: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - interface_address: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - name: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - psk: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - remote_id: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - replay_protection: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - user_id: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - }, - ); - _rt::cabi_dealloc(arg0, 80, 4); - let ptr40 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id41, - allow_null_cipher: allow_null_cipher41, - cloudflare_endpoint: cloudflare_endpoint41, - customer_endpoint: customer_endpoint41, - description: description41, - fqdn_id: fqdn_id41, - health_check_direction: health_check_direction41, - health_check_enabled: health_check_enabled41, - health_check_rate: health_check_rate41, - health_check_target: health_check_target41, - health_check_type: health_check_type41, - hex_id: hex_id41, - interface_address: interface_address41, - name: name41, - psk: psk41, - remote_id: remote_id41, - replay_protection: replay_protection41, - user_id: user_id41, - } = result39; - *ptr40.add(0).cast::() = (account_id41).take_handle() as i32; - *ptr40.add(4).cast::() = (allow_null_cipher41).take_handle() - as i32; - *ptr40.add(8).cast::() = (cloudflare_endpoint41).take_handle() - as i32; - *ptr40.add(12).cast::() = (customer_endpoint41).take_handle() - as i32; - *ptr40.add(16).cast::() = (description41).take_handle() as i32; - *ptr40.add(20).cast::() = (fqdn_id41).take_handle() as i32; - *ptr40.add(24).cast::() = (health_check_direction41) - .take_handle() as i32; - *ptr40.add(28).cast::() = (health_check_enabled41).take_handle() - as i32; - *ptr40.add(32).cast::() = (health_check_rate41).take_handle() - as i32; - *ptr40.add(36).cast::() = (health_check_target41).take_handle() - as i32; - *ptr40.add(40).cast::() = (health_check_type41).take_handle() - as i32; - *ptr40.add(44).cast::() = (hex_id41).take_handle() as i32; - *ptr40.add(48).cast::() = (interface_address41).take_handle() - as i32; - *ptr40.add(52).cast::() = (name41).take_handle() as i32; - *ptr40.add(56).cast::() = (psk41).take_handle() as i32; - *ptr40.add(60).cast::() = (remote_id41).take_handle() as i32; - *ptr40.add(64).cast::() = (replay_protection41).take_handle() - as i32; - *ptr40.add(68).cast::() = (user_id41).take_handle() as i32; - ptr40 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_ipsec_tunnel_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/ipsec-tunnel@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_ipsec_tunnel_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 72]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 72], - ); - } - #[allow(dead_code, clippy::all)] - pub mod keyless_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub bundle_method: &'a Output, - pub certificate: &'a Output, - pub enabled: &'a Output, - pub host: &'a Output, - pub name: &'a Output, - pub port: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("bundle-method", &self.bundle_method) - .field("certificate", &self.certificate) - .field("enabled", &self.enabled) - .field("host", &self.host) - .field("name", &self.name) - .field("port", &self.port) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub bundle_method: Output, - pub certificate: Output, - pub enabled: Output, - pub host: Output, - pub name: Output, - pub port: Output, - pub status: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("bundle-method", &self.bundle_method) - .field("certificate", &self.certificate) - .field("enabled", &self.enabled) - .field("host", &self.host) - .field("name", &self.name) - .field("port", &self.port) - .field("status", &self.status) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result8 = T::invoke( - _rt::string_lift(bytes0), - Args { - bundle_method: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - certificate: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - enabled: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - host: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - name: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - port: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - zone_id: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - }, - ); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - bundle_method: bundle_method10, - certificate: certificate10, - enabled: enabled10, - host: host10, - name: name10, - port: port10, - status: status10, - zone_id: zone_id10, - } = result8; - *ptr9.add(0).cast::() = (bundle_method10).take_handle() as i32; - *ptr9.add(4).cast::() = (certificate10).take_handle() as i32; - *ptr9.add(8).cast::() = (enabled10).take_handle() as i32; - *ptr9.add(12).cast::() = (host10).take_handle() as i32; - *ptr9.add(16).cast::() = (name10).take_handle() as i32; - *ptr9.add(20).cast::() = (port10).take_handle() as i32; - *ptr9.add(24).cast::() = (status10).take_handle() as i32; - *ptr9.add(28).cast::() = (zone_id10).take_handle() as i32; - ptr9 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_keyless_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/keyless-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_keyless_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod list { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub description: &'a Output, - pub items: &'a Output, - pub kind: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("items", &self.items) - .field("kind", &self.kind) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub description: Output, - pub items: Output, - pub kind: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("items", &self.items) - .field("kind", &self.kind) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - items: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - kind: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - name: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - description: description8, - items: items8, - kind: kind8, - name: name8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (description8).take_handle() as i32; - *ptr7.add(8).cast::() = (items8).take_handle() as i32; - *ptr7.add(12).cast::() = (kind8).take_handle() as i32; - *ptr7.add(16).cast::() = (name8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_list_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/list@5.43.1--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, - arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_list_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod list_item { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub asn: &'a Output, - pub comment: &'a Output, - pub hostname: &'a Output, - pub ip: &'a Output, - pub list_id: &'a Output, - pub redirect: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("asn", &self.asn) - .field("comment", &self.comment) - .field("hostname", &self.hostname) - .field("ip", &self.ip) - .field("list-id", &self.list_id) - .field("redirect", &self.redirect) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub asn: Output, - pub comment: Output, - pub hostname: Output, - pub ip: Output, - pub list_id: Output, - pub redirect: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("asn", &self.asn) - .field("comment", &self.comment) - .field("hostname", &self.hostname) - .field("ip", &self.ip) - .field("list-id", &self.list_id) - .field("redirect", &self.redirect) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result8 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - asn: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - comment: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - hostname: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - ip: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - list_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - redirect: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - }, - ); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id10, - asn: asn10, - comment: comment10, - hostname: hostname10, - ip: ip10, - list_id: list_id10, - redirect: redirect10, - } = result8; - *ptr9.add(0).cast::() = (account_id10).take_handle() as i32; - *ptr9.add(4).cast::() = (asn10).take_handle() as i32; - *ptr9.add(8).cast::() = (comment10).take_handle() as i32; - *ptr9.add(12).cast::() = (hostname10).take_handle() as i32; - *ptr9.add(16).cast::() = (ip10).take_handle() as i32; - *ptr9.add(20).cast::() = (list_id10).take_handle() as i32; - *ptr9.add(24).cast::() = (redirect10).take_handle() as i32; - ptr9 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_list_item_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/list-item@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_list_item_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod load_balancer { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub adaptive_routings: &'a Output, - pub country_pools: &'a Output, - pub default_pool_ids: &'a Output, - pub description: &'a Output, - pub enabled: &'a Output, - pub fallback_pool_id: &'a Output, - pub location_strategies: &'a Output, - pub name: &'a Output, - pub pop_pools: &'a Output, - pub proxied: &'a Output, - pub random_steerings: &'a Output, - pub region_pools: &'a Output, - pub rules: &'a Output, - pub session_affinity: &'a Output, - pub session_affinity_attributes: &'a Output, - pub session_affinity_ttl: &'a Output, - pub steering_policy: &'a Output, - pub ttl: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("adaptive-routings", &self.adaptive_routings) - .field("country-pools", &self.country_pools) - .field("default-pool-ids", &self.default_pool_ids) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("fallback-pool-id", &self.fallback_pool_id) - .field("location-strategies", &self.location_strategies) - .field("name", &self.name) - .field("pop-pools", &self.pop_pools) - .field("proxied", &self.proxied) - .field("random-steerings", &self.random_steerings) - .field("region-pools", &self.region_pools) - .field("rules", &self.rules) - .field("session-affinity", &self.session_affinity) - .field( - "session-affinity-attributes", - &self.session_affinity_attributes, - ) - .field("session-affinity-ttl", &self.session_affinity_ttl) - .field("steering-policy", &self.steering_policy) - .field("ttl", &self.ttl) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub adaptive_routings: Output, - pub country_pools: Output, - pub created_on: Output, - pub default_pool_ids: Output, - pub description: Output, - pub enabled: Output, - pub fallback_pool_id: Output, - pub location_strategies: Output, - pub modified_on: Output, - pub name: Output, - pub pop_pools: Output, - pub proxied: Output, - pub random_steerings: Output, - pub region_pools: Output, - pub rules: Output, - pub session_affinity: Output, - pub session_affinity_attributes: Output, - pub session_affinity_ttl: Output, - pub steering_policy: Output, - pub ttl: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("adaptive-routings", &self.adaptive_routings) - .field("country-pools", &self.country_pools) - .field("created-on", &self.created_on) - .field("default-pool-ids", &self.default_pool_ids) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("fallback-pool-id", &self.fallback_pool_id) - .field("location-strategies", &self.location_strategies) - .field("modified-on", &self.modified_on) - .field("name", &self.name) - .field("pop-pools", &self.pop_pools) - .field("proxied", &self.proxied) - .field("random-steerings", &self.random_steerings) - .field("region-pools", &self.region_pools) - .field("rules", &self.rules) - .field("session-affinity", &self.session_affinity) - .field( - "session-affinity-attributes", - &self.session_affinity_attributes, - ) - .field("session-affinity-ttl", &self.session_affinity_ttl) - .field("steering-policy", &self.steering_policy) - .field("ttl", &self.ttl) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let result41 = T::invoke( - _rt::string_lift(bytes2), - Args { - adaptive_routings: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - country_pools: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - default_pool_ids: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - description: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - enabled: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - fallback_pool_id: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - location_strategies: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - name: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - pop_pools: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - proxied: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - random_steerings: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - region_pools: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - rules: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - session_affinity: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - session_affinity_attributes: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - session_affinity_ttl: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - steering_policy: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - ttl: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - zone_id: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - }, - ); - _rt::cabi_dealloc(arg0, 84, 4); - let ptr42 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - adaptive_routings: adaptive_routings43, - country_pools: country_pools43, - created_on: created_on43, - default_pool_ids: default_pool_ids43, - description: description43, - enabled: enabled43, - fallback_pool_id: fallback_pool_id43, - location_strategies: location_strategies43, - modified_on: modified_on43, - name: name43, - pop_pools: pop_pools43, - proxied: proxied43, - random_steerings: random_steerings43, - region_pools: region_pools43, - rules: rules43, - session_affinity: session_affinity43, - session_affinity_attributes: session_affinity_attributes43, - session_affinity_ttl: session_affinity_ttl43, - steering_policy: steering_policy43, - ttl: ttl43, - zone_id: zone_id43, - } = result41; - *ptr42.add(0).cast::() = (adaptive_routings43).take_handle() - as i32; - *ptr42.add(4).cast::() = (country_pools43).take_handle() as i32; - *ptr42.add(8).cast::() = (created_on43).take_handle() as i32; - *ptr42.add(12).cast::() = (default_pool_ids43).take_handle() - as i32; - *ptr42.add(16).cast::() = (description43).take_handle() as i32; - *ptr42.add(20).cast::() = (enabled43).take_handle() as i32; - *ptr42.add(24).cast::() = (fallback_pool_id43).take_handle() - as i32; - *ptr42.add(28).cast::() = (location_strategies43).take_handle() - as i32; - *ptr42.add(32).cast::() = (modified_on43).take_handle() as i32; - *ptr42.add(36).cast::() = (name43).take_handle() as i32; - *ptr42.add(40).cast::() = (pop_pools43).take_handle() as i32; - *ptr42.add(44).cast::() = (proxied43).take_handle() as i32; - *ptr42.add(48).cast::() = (random_steerings43).take_handle() - as i32; - *ptr42.add(52).cast::() = (region_pools43).take_handle() as i32; - *ptr42.add(56).cast::() = (rules43).take_handle() as i32; - *ptr42.add(60).cast::() = (session_affinity43).take_handle() - as i32; - *ptr42.add(64).cast::() = (session_affinity_attributes43) - .take_handle() as i32; - *ptr42.add(68).cast::() = (session_affinity_ttl43).take_handle() - as i32; - *ptr42.add(72).cast::() = (steering_policy43).take_handle() - as i32; - *ptr42.add(76).cast::() = (ttl43).take_handle() as i32; - *ptr42.add(80).cast::() = (zone_id43).take_handle() as i32; - ptr42 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_load_balancer_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/load-balancer@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_load_balancer_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 84]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 84], - ); - } - #[allow(dead_code, clippy::all)] - pub mod load_balancer_monitor { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_insecure: &'a Output, - pub consecutive_down: &'a Output, - pub consecutive_up: &'a Output, - pub description: &'a Output, - pub expected_body: &'a Output, - pub expected_codes: &'a Output, - pub follow_redirects: &'a Output, - pub headers: &'a Output, - pub interval: &'a Output, - pub method: &'a Output, - pub path: &'a Output, - pub port: &'a Output, - pub probe_zone: &'a Output, - pub retries: &'a Output, - pub timeout: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("allow-insecure", &self.allow_insecure) - .field("consecutive-down", &self.consecutive_down) - .field("consecutive-up", &self.consecutive_up) - .field("description", &self.description) - .field("expected-body", &self.expected_body) - .field("expected-codes", &self.expected_codes) - .field("follow-redirects", &self.follow_redirects) - .field("headers", &self.headers) - .field("interval", &self.interval) - .field("method", &self.method) - .field("path", &self.path) - .field("port", &self.port) - .field("probe-zone", &self.probe_zone) - .field("retries", &self.retries) - .field("timeout", &self.timeout) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_insecure: Output, - pub consecutive_down: Output, - pub consecutive_up: Output, - pub created_on: Output, - pub description: Output, - pub expected_body: Output, - pub expected_codes: Output, - pub follow_redirects: Output, - pub headers: Output, - pub interval: Output, - pub method: Output, - pub modified_on: Output, - pub path: Output, - pub port: Output, - pub probe_zone: Output, - pub retries: Output, - pub timeout: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("allow-insecure", &self.allow_insecure) - .field("consecutive-down", &self.consecutive_down) - .field("consecutive-up", &self.consecutive_up) - .field("created-on", &self.created_on) - .field("description", &self.description) - .field("expected-body", &self.expected_body) - .field("expected-codes", &self.expected_codes) - .field("follow-redirects", &self.follow_redirects) - .field("headers", &self.headers) - .field("interval", &self.interval) - .field("method", &self.method) - .field("modified-on", &self.modified_on) - .field("path", &self.path) - .field("port", &self.port) - .field("probe-zone", &self.probe_zone) - .field("retries", &self.retries) - .field("timeout", &self.timeout) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let result37 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - allow_insecure: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - consecutive_down: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - consecutive_up: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - description: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - expected_body: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - expected_codes: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - follow_redirects: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - headers: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - interval: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - method: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - path: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - port: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - probe_zone: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - retries: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - timeout: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - type_: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - }, - ); - _rt::cabi_dealloc(arg0, 76, 4); - let ptr38 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id39, - allow_insecure: allow_insecure39, - consecutive_down: consecutive_down39, - consecutive_up: consecutive_up39, - created_on: created_on39, - description: description39, - expected_body: expected_body39, - expected_codes: expected_codes39, - follow_redirects: follow_redirects39, - headers: headers39, - interval: interval39, - method: method39, - modified_on: modified_on39, - path: path39, - port: port39, - probe_zone: probe_zone39, - retries: retries39, - timeout: timeout39, - type_: type_39, - } = result37; - *ptr38.add(0).cast::() = (account_id39).take_handle() as i32; - *ptr38.add(4).cast::() = (allow_insecure39).take_handle() - as i32; - *ptr38.add(8).cast::() = (consecutive_down39).take_handle() - as i32; - *ptr38.add(12).cast::() = (consecutive_up39).take_handle() - as i32; - *ptr38.add(16).cast::() = (created_on39).take_handle() as i32; - *ptr38.add(20).cast::() = (description39).take_handle() as i32; - *ptr38.add(24).cast::() = (expected_body39).take_handle() - as i32; - *ptr38.add(28).cast::() = (expected_codes39).take_handle() - as i32; - *ptr38.add(32).cast::() = (follow_redirects39).take_handle() - as i32; - *ptr38.add(36).cast::() = (headers39).take_handle() as i32; - *ptr38.add(40).cast::() = (interval39).take_handle() as i32; - *ptr38.add(44).cast::() = (method39).take_handle() as i32; - *ptr38.add(48).cast::() = (modified_on39).take_handle() as i32; - *ptr38.add(52).cast::() = (path39).take_handle() as i32; - *ptr38.add(56).cast::() = (port39).take_handle() as i32; - *ptr38.add(60).cast::() = (probe_zone39).take_handle() as i32; - *ptr38.add(64).cast::() = (retries39).take_handle() as i32; - *ptr38.add(68).cast::() = (timeout39).take_handle() as i32; - *ptr38.add(72).cast::() = (type_39).take_handle() as i32; - ptr38 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_load_balancer_monitor_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/load-balancer-monitor@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_load_balancer_monitor_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 76]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 76], - ); - } - #[allow(dead_code, clippy::all)] - pub mod load_balancer_pool { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub check_regions: &'a Output, - pub description: &'a Output, - pub enabled: &'a Output, - pub latitude: &'a Output, - pub load_sheddings: &'a Output, - pub longitude: &'a Output, - pub minimum_origins: &'a Output, - pub monitor: &'a Output, - pub name: &'a Output, - pub notification_email: &'a Output, - pub origin_steerings: &'a Output, - pub origins: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("check-regions", &self.check_regions) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("latitude", &self.latitude) - .field("load-sheddings", &self.load_sheddings) - .field("longitude", &self.longitude) - .field("minimum-origins", &self.minimum_origins) - .field("monitor", &self.monitor) - .field("name", &self.name) - .field("notification-email", &self.notification_email) - .field("origin-steerings", &self.origin_steerings) - .field("origins", &self.origins) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub check_regions: Output, - pub created_on: Output, - pub description: Output, - pub enabled: Output, - pub latitude: Output, - pub load_sheddings: Output, - pub longitude: Output, - pub minimum_origins: Output, - pub modified_on: Output, - pub monitor: Output, - pub name: Output, - pub notification_email: Output, - pub origin_steerings: Output, - pub origins: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("check-regions", &self.check_regions) - .field("created-on", &self.created_on) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("latitude", &self.latitude) - .field("load-sheddings", &self.load_sheddings) - .field("longitude", &self.longitude) - .field("minimum-origins", &self.minimum_origins) - .field("modified-on", &self.modified_on) - .field("monitor", &self.monitor) - .field("name", &self.name) - .field("notification-email", &self.notification_email) - .field("origin-steerings", &self.origin_steerings) - .field("origins", &self.origins) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - arg14: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let handle13; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result14 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - check_regions: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - description: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - enabled: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - latitude: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - load_sheddings: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - longitude: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - minimum_origins: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - monitor: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - name: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - notification_email: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - origin_steerings: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - origins: { - handle13 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg14 as u32, - ); - &handle13 - }, - }, - ); - let ptr15 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id16, - check_regions: check_regions16, - created_on: created_on16, - description: description16, - enabled: enabled16, - latitude: latitude16, - load_sheddings: load_sheddings16, - longitude: longitude16, - minimum_origins: minimum_origins16, - modified_on: modified_on16, - monitor: monitor16, - name: name16, - notification_email: notification_email16, - origin_steerings: origin_steerings16, - origins: origins16, - } = result14; - *ptr15.add(0).cast::() = (account_id16).take_handle() as i32; - *ptr15.add(4).cast::() = (check_regions16).take_handle() as i32; - *ptr15.add(8).cast::() = (created_on16).take_handle() as i32; - *ptr15.add(12).cast::() = (description16).take_handle() as i32; - *ptr15.add(16).cast::() = (enabled16).take_handle() as i32; - *ptr15.add(20).cast::() = (latitude16).take_handle() as i32; - *ptr15.add(24).cast::() = (load_sheddings16).take_handle() - as i32; - *ptr15.add(28).cast::() = (longitude16).take_handle() as i32; - *ptr15.add(32).cast::() = (minimum_origins16).take_handle() - as i32; - *ptr15.add(36).cast::() = (modified_on16).take_handle() as i32; - *ptr15.add(40).cast::() = (monitor16).take_handle() as i32; - *ptr15.add(44).cast::() = (name16).take_handle() as i32; - *ptr15.add(48).cast::() = (notification_email16).take_handle() - as i32; - *ptr15.add(52).cast::() = (origin_steerings16).take_handle() - as i32; - *ptr15.add(56).cast::() = (origins16).take_handle() as i32; - ptr15 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_load_balancer_pool_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/load-balancer-pool@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : - i32, arg13 : i32, arg14 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, - arg12, arg13, arg14) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_load_balancer_pool_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 60]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 60], - ); - } - #[allow(dead_code, clippy::all)] - pub mod logpull_retention { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub enabled: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub enabled: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - enabled: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { enabled: enabled5, zone_id: zone_id5 } = result3; - *ptr4.add(0).cast::() = (enabled5).take_handle() as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_logpull_retention_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/logpull-retention@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_logpull_retention_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod logpush_job { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub dataset: &'a Output, - pub destination_conf: &'a Output, - pub enabled: &'a Output, - pub filter: &'a Output, - pub frequency: &'a Output, - pub kind: &'a Output, - pub logpull_options: &'a Output, - pub max_upload_bytes: &'a Output, - pub max_upload_interval_seconds: &'a Output, - pub max_upload_records: &'a Output, - pub name: &'a Output, - pub output_options: &'a Output, - pub ownership_challenge: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("dataset", &self.dataset) - .field("destination-conf", &self.destination_conf) - .field("enabled", &self.enabled) - .field("filter", &self.filter) - .field("frequency", &self.frequency) - .field("kind", &self.kind) - .field("logpull-options", &self.logpull_options) - .field("max-upload-bytes", &self.max_upload_bytes) - .field( - "max-upload-interval-seconds", - &self.max_upload_interval_seconds, - ) - .field("max-upload-records", &self.max_upload_records) - .field("name", &self.name) - .field("output-options", &self.output_options) - .field("ownership-challenge", &self.ownership_challenge) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub dataset: Output, - pub destination_conf: Output, - pub enabled: Output, - pub filter: Output, - pub frequency: Output, - pub kind: Output, - pub logpull_options: Output, - pub max_upload_bytes: Output, - pub max_upload_interval_seconds: Output, - pub max_upload_records: Output, - pub name: Output, - pub output_options: Output, - pub ownership_challenge: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("dataset", &self.dataset) - .field("destination-conf", &self.destination_conf) - .field("enabled", &self.enabled) - .field("filter", &self.filter) - .field("frequency", &self.frequency) - .field("kind", &self.kind) - .field("logpull-options", &self.logpull_options) - .field("max-upload-bytes", &self.max_upload_bytes) - .field( - "max-upload-interval-seconds", - &self.max_upload_interval_seconds, - ) - .field("max-upload-records", &self.max_upload_records) - .field("name", &self.name) - .field("output-options", &self.output_options) - .field("ownership-challenge", &self.ownership_challenge) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let result33 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - dataset: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - destination_conf: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - enabled: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - filter: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - frequency: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - kind: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - logpull_options: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - max_upload_bytes: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - max_upload_interval_seconds: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - max_upload_records: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - name: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - output_options: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - ownership_challenge: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - zone_id: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - }, - ); - _rt::cabi_dealloc(arg0, 68, 4); - let ptr34 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id35, - dataset: dataset35, - destination_conf: destination_conf35, - enabled: enabled35, - filter: filter35, - frequency: frequency35, - kind: kind35, - logpull_options: logpull_options35, - max_upload_bytes: max_upload_bytes35, - max_upload_interval_seconds: max_upload_interval_seconds35, - max_upload_records: max_upload_records35, - name: name35, - output_options: output_options35, - ownership_challenge: ownership_challenge35, - zone_id: zone_id35, - } = result33; - *ptr34.add(0).cast::() = (account_id35).take_handle() as i32; - *ptr34.add(4).cast::() = (dataset35).take_handle() as i32; - *ptr34.add(8).cast::() = (destination_conf35).take_handle() - as i32; - *ptr34.add(12).cast::() = (enabled35).take_handle() as i32; - *ptr34.add(16).cast::() = (filter35).take_handle() as i32; - *ptr34.add(20).cast::() = (frequency35).take_handle() as i32; - *ptr34.add(24).cast::() = (kind35).take_handle() as i32; - *ptr34.add(28).cast::() = (logpull_options35).take_handle() - as i32; - *ptr34.add(32).cast::() = (max_upload_bytes35).take_handle() - as i32; - *ptr34.add(36).cast::() = (max_upload_interval_seconds35) - .take_handle() as i32; - *ptr34.add(40).cast::() = (max_upload_records35).take_handle() - as i32; - *ptr34.add(44).cast::() = (name35).take_handle() as i32; - *ptr34.add(48).cast::() = (output_options35).take_handle() - as i32; - *ptr34.add(52).cast::() = (ownership_challenge35).take_handle() - as i32; - *ptr34.add(56).cast::() = (zone_id35).take_handle() as i32; - ptr34 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_logpush_job_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/logpush-job@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_logpush_job_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 60]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 60], - ); - } - #[allow(dead_code, clippy::all)] - pub mod logpush_ownership_challenge { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub destination_conf: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("destination-conf", &self.destination_conf) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub destination_conf: Output, - pub ownership_challenge_filename: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("destination-conf", &self.destination_conf) - .field( - "ownership-challenge-filename", - &self.ownership_challenge_filename, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - destination_conf: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - destination_conf: destination_conf6, - ownership_challenge_filename: ownership_challenge_filename6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (destination_conf6).take_handle() - as i32; - *ptr5.add(8).cast::() = (ownership_challenge_filename6) - .take_handle() as i32; - *ptr5.add(12).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_logpush_ownership_challenge_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/logpush-ownership-challenge@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_logpush_ownership_challenge_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod magic_firewall_ruleset { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub description: &'a Output, - pub name: &'a Output, - pub rules: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("name", &self.name) - .field("rules", &self.rules) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub description: Output, - pub name: Output, - pub rules: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("name", &self.name) - .field("rules", &self.rules) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - rules: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - description: description7, - name: name7, - rules: rules7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (description7).take_handle() as i32; - *ptr6.add(8).cast::() = (name7).take_handle() as i32; - *ptr6.add(12).cast::() = (rules7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_magic_firewall_ruleset_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/magic-firewall-ruleset@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_magic_firewall_ruleset_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod magic_wan_gre_tunnel { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub cloudflare_gre_endpoint: &'a Output, - pub customer_gre_endpoint: &'a Output, - pub description: &'a Output, - pub health_check_enabled: &'a Output, - pub health_check_target: &'a Output, - pub health_check_type: &'a Output, - pub interface_address: &'a Output, - pub mtu: &'a Output, - pub name: &'a Output, - pub ttl: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "cloudflare-gre-endpoint", - &self.cloudflare_gre_endpoint, - ) - .field("customer-gre-endpoint", &self.customer_gre_endpoint) - .field("description", &self.description) - .field("health-check-enabled", &self.health_check_enabled) - .field("health-check-target", &self.health_check_target) - .field("health-check-type", &self.health_check_type) - .field("interface-address", &self.interface_address) - .field("mtu", &self.mtu) - .field("name", &self.name) - .field("ttl", &self.ttl) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub cloudflare_gre_endpoint: Output, - pub customer_gre_endpoint: Output, - pub description: Output, - pub health_check_enabled: Output, - pub health_check_target: Output, - pub health_check_type: Output, - pub interface_address: Output, - pub mtu: Output, - pub name: Output, - pub ttl: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "cloudflare-gre-endpoint", - &self.cloudflare_gre_endpoint, - ) - .field("customer-gre-endpoint", &self.customer_gre_endpoint) - .field("description", &self.description) - .field("health-check-enabled", &self.health_check_enabled) - .field("health-check-target", &self.health_check_target) - .field("health-check-type", &self.health_check_type) - .field("interface-address", &self.interface_address) - .field("mtu", &self.mtu) - .field("name", &self.name) - .field("ttl", &self.ttl) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result12 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - cloudflare_gre_endpoint: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - customer_gre_endpoint: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - description: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - health_check_enabled: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - health_check_target: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - health_check_type: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - interface_address: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - mtu: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - name: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - ttl: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - }, - ); - let ptr13 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id14, - cloudflare_gre_endpoint: cloudflare_gre_endpoint14, - customer_gre_endpoint: customer_gre_endpoint14, - description: description14, - health_check_enabled: health_check_enabled14, - health_check_target: health_check_target14, - health_check_type: health_check_type14, - interface_address: interface_address14, - mtu: mtu14, - name: name14, - ttl: ttl14, - } = result12; - *ptr13.add(0).cast::() = (account_id14).take_handle() as i32; - *ptr13.add(4).cast::() = (cloudflare_gre_endpoint14) - .take_handle() as i32; - *ptr13.add(8).cast::() = (customer_gre_endpoint14).take_handle() - as i32; - *ptr13.add(12).cast::() = (description14).take_handle() as i32; - *ptr13.add(16).cast::() = (health_check_enabled14).take_handle() - as i32; - *ptr13.add(20).cast::() = (health_check_target14).take_handle() - as i32; - *ptr13.add(24).cast::() = (health_check_type14).take_handle() - as i32; - *ptr13.add(28).cast::() = (interface_address14).take_handle() - as i32; - *ptr13.add(32).cast::() = (mtu14).take_handle() as i32; - *ptr13.add(36).cast::() = (name14).take_handle() as i32; - *ptr13.add(40).cast::() = (ttl14).take_handle() as i32; - ptr13 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_magic_wan_gre_tunnel_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/magic-wan-gre-tunnel@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10, arg11, arg12) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_magic_wan_gre_tunnel_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 44]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 44], - ); - } - #[allow(dead_code, clippy::all)] - pub mod magic_wan_ipsec_tunnel { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_null_cipher: &'a Output, - pub cloudflare_endpoint: &'a Output, - pub customer_endpoint: &'a Output, - pub description: &'a Output, - pub fqdn_id: &'a Output, - pub health_check_direction: &'a Output, - pub health_check_enabled: &'a Output, - pub health_check_rate: &'a Output, - pub health_check_target: &'a Output, - pub health_check_type: &'a Output, - pub hex_id: &'a Output, - pub interface_address: &'a Output, - pub name: &'a Output, - pub psk: &'a Output, - pub remote_id: &'a Output, - pub replay_protection: &'a Output, - pub user_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("allow-null-cipher", &self.allow_null_cipher) - .field("cloudflare-endpoint", &self.cloudflare_endpoint) - .field("customer-endpoint", &self.customer_endpoint) - .field("description", &self.description) - .field("fqdn-id", &self.fqdn_id) - .field( - "health-check-direction", - &self.health_check_direction, - ) - .field("health-check-enabled", &self.health_check_enabled) - .field("health-check-rate", &self.health_check_rate) - .field("health-check-target", &self.health_check_target) - .field("health-check-type", &self.health_check_type) - .field("hex-id", &self.hex_id) - .field("interface-address", &self.interface_address) - .field("name", &self.name) - .field("psk", &self.psk) - .field("remote-id", &self.remote_id) - .field("replay-protection", &self.replay_protection) - .field("user-id", &self.user_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_null_cipher: Output, - pub cloudflare_endpoint: Output, - pub customer_endpoint: Output, - pub description: Output, - pub fqdn_id: Output, - pub health_check_direction: Output, - pub health_check_enabled: Output, - pub health_check_rate: Output, - pub health_check_target: Output, - pub health_check_type: Output, - pub hex_id: Output, - pub interface_address: Output, - pub name: Output, - pub psk: Output, - pub remote_id: Output, - pub replay_protection: Output, - pub user_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("allow-null-cipher", &self.allow_null_cipher) - .field("cloudflare-endpoint", &self.cloudflare_endpoint) - .field("customer-endpoint", &self.customer_endpoint) - .field("description", &self.description) - .field("fqdn-id", &self.fqdn_id) - .field( - "health-check-direction", - &self.health_check_direction, - ) - .field("health-check-enabled", &self.health_check_enabled) - .field("health-check-rate", &self.health_check_rate) - .field("health-check-target", &self.health_check_target) - .field("health-check-type", &self.health_check_type) - .field("hex-id", &self.hex_id) - .field("interface-address", &self.interface_address) - .field("name", &self.name) - .field("psk", &self.psk) - .field("remote-id", &self.remote_id) - .field("replay-protection", &self.replay_protection) - .field("user-id", &self.user_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let result39 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - allow_null_cipher: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - cloudflare_endpoint: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - customer_endpoint: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - description: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - fqdn_id: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - health_check_direction: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - health_check_enabled: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - health_check_rate: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - health_check_target: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - health_check_type: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - hex_id: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - interface_address: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - name: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - psk: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - remote_id: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - replay_protection: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - user_id: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - }, - ); - _rt::cabi_dealloc(arg0, 80, 4); - let ptr40 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id41, - allow_null_cipher: allow_null_cipher41, - cloudflare_endpoint: cloudflare_endpoint41, - customer_endpoint: customer_endpoint41, - description: description41, - fqdn_id: fqdn_id41, - health_check_direction: health_check_direction41, - health_check_enabled: health_check_enabled41, - health_check_rate: health_check_rate41, - health_check_target: health_check_target41, - health_check_type: health_check_type41, - hex_id: hex_id41, - interface_address: interface_address41, - name: name41, - psk: psk41, - remote_id: remote_id41, - replay_protection: replay_protection41, - user_id: user_id41, - } = result39; - *ptr40.add(0).cast::() = (account_id41).take_handle() as i32; - *ptr40.add(4).cast::() = (allow_null_cipher41).take_handle() - as i32; - *ptr40.add(8).cast::() = (cloudflare_endpoint41).take_handle() - as i32; - *ptr40.add(12).cast::() = (customer_endpoint41).take_handle() - as i32; - *ptr40.add(16).cast::() = (description41).take_handle() as i32; - *ptr40.add(20).cast::() = (fqdn_id41).take_handle() as i32; - *ptr40.add(24).cast::() = (health_check_direction41) - .take_handle() as i32; - *ptr40.add(28).cast::() = (health_check_enabled41).take_handle() - as i32; - *ptr40.add(32).cast::() = (health_check_rate41).take_handle() - as i32; - *ptr40.add(36).cast::() = (health_check_target41).take_handle() - as i32; - *ptr40.add(40).cast::() = (health_check_type41).take_handle() - as i32; - *ptr40.add(44).cast::() = (hex_id41).take_handle() as i32; - *ptr40.add(48).cast::() = (interface_address41).take_handle() - as i32; - *ptr40.add(52).cast::() = (name41).take_handle() as i32; - *ptr40.add(56).cast::() = (psk41).take_handle() as i32; - *ptr40.add(60).cast::() = (remote_id41).take_handle() as i32; - *ptr40.add(64).cast::() = (replay_protection41).take_handle() - as i32; - *ptr40.add(68).cast::() = (user_id41).take_handle() as i32; - ptr40 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_magic_wan_ipsec_tunnel_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/magic-wan-ipsec-tunnel@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_magic_wan_ipsec_tunnel_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 72]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 72], - ); - } - #[allow(dead_code, clippy::all)] - pub mod magic_wan_static_route { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub colo_names: &'a Output, - pub colo_regions: &'a Output, - pub description: &'a Output, - pub nexthop: &'a Output, - pub prefix: &'a Output, - pub priority: &'a Output, - pub weight: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("colo-names", &self.colo_names) - .field("colo-regions", &self.colo_regions) - .field("description", &self.description) - .field("nexthop", &self.nexthop) - .field("prefix", &self.prefix) - .field("priority", &self.priority) - .field("weight", &self.weight) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub colo_names: Output, - pub colo_regions: Output, - pub description: Output, - pub nexthop: Output, - pub prefix: Output, - pub priority: Output, - pub weight: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("colo-names", &self.colo_names) - .field("colo-regions", &self.colo_regions) - .field("description", &self.description) - .field("nexthop", &self.nexthop) - .field("prefix", &self.prefix) - .field("priority", &self.priority) - .field("weight", &self.weight) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result9 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - colo_names: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - colo_regions: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - description: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - nexthop: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - prefix: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - priority: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - weight: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - }, - ); - let ptr10 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id11, - colo_names: colo_names11, - colo_regions: colo_regions11, - description: description11, - nexthop: nexthop11, - prefix: prefix11, - priority: priority11, - weight: weight11, - } = result9; - *ptr10.add(0).cast::() = (account_id11).take_handle() as i32; - *ptr10.add(4).cast::() = (colo_names11).take_handle() as i32; - *ptr10.add(8).cast::() = (colo_regions11).take_handle() as i32; - *ptr10.add(12).cast::() = (description11).take_handle() as i32; - *ptr10.add(16).cast::() = (nexthop11).take_handle() as i32; - *ptr10.add(20).cast::() = (prefix11).take_handle() as i32; - *ptr10.add(24).cast::() = (priority11).take_handle() as i32; - *ptr10.add(28).cast::() = (weight11).take_handle() as i32; - ptr10 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_magic_wan_static_route_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/magic-wan-static-route@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_magic_wan_static_route_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod managed_headers { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub managed_request_headers: &'a Output, - pub managed_response_headers: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field( - "managed-request-headers", - &self.managed_request_headers, - ) - .field( - "managed-response-headers", - &self.managed_response_headers, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub managed_request_headers: Output, - pub managed_response_headers: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field( - "managed-request-headers", - &self.managed_request_headers, - ) - .field( - "managed-response-headers", - &self.managed_response_headers, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - managed_request_headers: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - managed_response_headers: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - managed_request_headers: managed_request_headers6, - managed_response_headers: managed_response_headers6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (managed_request_headers6).take_handle() - as i32; - *ptr5.add(4).cast::() = (managed_response_headers6) - .take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_managed_headers_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/managed-headers@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_managed_headers_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod mtls_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub ca: &'a Output, - pub certificates: &'a Output, - pub name: &'a Output, - pub private_key: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("ca", &self.ca) - .field("certificates", &self.certificates) - .field("name", &self.name) - .field("private-key", &self.private_key) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub ca: Output, - pub certificates: Output, - pub expires_on: Output, - pub issuer: Output, - pub name: Output, - pub private_key: Output, - pub serial_number: Output, - pub signature: Output, - pub uploaded_on: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("ca", &self.ca) - .field("certificates", &self.certificates) - .field("expires-on", &self.expires_on) - .field("issuer", &self.issuer) - .field("name", &self.name) - .field("private-key", &self.private_key) - .field("serial-number", &self.serial_number) - .field("signature", &self.signature) - .field("uploaded-on", &self.uploaded_on) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - ca: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - certificates: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - private_key: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - ca: ca8, - certificates: certificates8, - expires_on: expires_on8, - issuer: issuer8, - name: name8, - private_key: private_key8, - serial_number: serial_number8, - signature: signature8, - uploaded_on: uploaded_on8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (ca8).take_handle() as i32; - *ptr7.add(8).cast::() = (certificates8).take_handle() as i32; - *ptr7.add(12).cast::() = (expires_on8).take_handle() as i32; - *ptr7.add(16).cast::() = (issuer8).take_handle() as i32; - *ptr7.add(20).cast::() = (name8).take_handle() as i32; - *ptr7.add(24).cast::() = (private_key8).take_handle() as i32; - *ptr7.add(28).cast::() = (serial_number8).take_handle() as i32; - *ptr7.add(32).cast::() = (signature8).take_handle() as i32; - *ptr7.add(36).cast::() = (uploaded_on8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_mtls_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/mtls-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_mtls_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod notification_policy { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub alert_type: &'a Output, - pub description: &'a Output, - pub email_integrations: &'a Output, - pub enabled: &'a Output, - pub filters: &'a Output, - pub name: &'a Output, - pub pagerduty_integrations: &'a Output, - pub webhooks_integrations: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("alert-type", &self.alert_type) - .field("description", &self.description) - .field("email-integrations", &self.email_integrations) - .field("enabled", &self.enabled) - .field("filters", &self.filters) - .field("name", &self.name) - .field( - "pagerduty-integrations", - &self.pagerduty_integrations, - ) - .field("webhooks-integrations", &self.webhooks_integrations) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub alert_type: Output, - pub created: Output, - pub description: Output, - pub email_integrations: Output, - pub enabled: Output, - pub filters: Output, - pub modified: Output, - pub name: Output, - pub pagerduty_integrations: Output, - pub webhooks_integrations: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("alert-type", &self.alert_type) - .field("created", &self.created) - .field("description", &self.description) - .field("email-integrations", &self.email_integrations) - .field("enabled", &self.enabled) - .field("filters", &self.filters) - .field("modified", &self.modified) - .field("name", &self.name) - .field( - "pagerduty-integrations", - &self.pagerduty_integrations, - ) - .field("webhooks-integrations", &self.webhooks_integrations) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result10 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - alert_type: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - description: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - email_integrations: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - enabled: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - filters: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - name: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - pagerduty_integrations: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - webhooks_integrations: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - }, - ); - let ptr11 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id12, - alert_type: alert_type12, - created: created12, - description: description12, - email_integrations: email_integrations12, - enabled: enabled12, - filters: filters12, - modified: modified12, - name: name12, - pagerduty_integrations: pagerduty_integrations12, - webhooks_integrations: webhooks_integrations12, - } = result10; - *ptr11.add(0).cast::() = (account_id12).take_handle() as i32; - *ptr11.add(4).cast::() = (alert_type12).take_handle() as i32; - *ptr11.add(8).cast::() = (created12).take_handle() as i32; - *ptr11.add(12).cast::() = (description12).take_handle() as i32; - *ptr11.add(16).cast::() = (email_integrations12).take_handle() - as i32; - *ptr11.add(20).cast::() = (enabled12).take_handle() as i32; - *ptr11.add(24).cast::() = (filters12).take_handle() as i32; - *ptr11.add(28).cast::() = (modified12).take_handle() as i32; - *ptr11.add(32).cast::() = (name12).take_handle() as i32; - *ptr11.add(36).cast::() = (pagerduty_integrations12) - .take_handle() as i32; - *ptr11.add(40).cast::() = (webhooks_integrations12) - .take_handle() as i32; - ptr11 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_notification_policy_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/notification-policy@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_notification_policy_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 44]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 44], - ); - } - #[allow(dead_code, clippy::all)] - pub mod notification_policy_webhooks { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - pub secret: &'a Output, - pub url: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("secret", &self.secret) - .field("url", &self.url) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub created_at: Output, - pub last_failure: Output, - pub last_success: Output, - pub name: Output, - pub secret: Output, - pub type_: Output, - pub url: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("created-at", &self.created_at) - .field("last-failure", &self.last_failure) - .field("last-success", &self.last_success) - .field("name", &self.name) - .field("secret", &self.secret) - .field("type", &self.type_) - .field("url", &self.url) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - secret: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - url: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - created_at: created_at7, - last_failure: last_failure7, - last_success: last_success7, - name: name7, - secret: secret7, - type_: type_7, - url: url7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (created_at7).take_handle() as i32; - *ptr6.add(8).cast::() = (last_failure7).take_handle() as i32; - *ptr6.add(12).cast::() = (last_success7).take_handle() as i32; - *ptr6.add(16).cast::() = (name7).take_handle() as i32; - *ptr6.add(20).cast::() = (secret7).take_handle() as i32; - *ptr6.add(24).cast::() = (type_7).take_handle() as i32; - *ptr6.add(28).cast::() = (url7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_notification_policy_webhooks_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/notification-policy-webhooks@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_notification_policy_webhooks_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod observatory_scheduled_test { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub frequency: &'a Output, - pub region: &'a Output, - pub url: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("frequency", &self.frequency) - .field("region", &self.region) - .field("url", &self.url) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub frequency: Output, - pub region: Output, - pub url: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("frequency", &self.frequency) - .field("region", &self.region) - .field("url", &self.url) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - frequency: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - region: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - url: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - frequency: frequency7, - region: region7, - url: url7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (frequency7).take_handle() as i32; - *ptr6.add(4).cast::() = (region7).take_handle() as i32; - *ptr6.add(8).cast::() = (url7).take_handle() as i32; - *ptr6.add(12).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_observatory_scheduled_test_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/observatory-scheduled-test@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_observatory_scheduled_test_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod origin_ca_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub csr: &'a Output, - pub hostnames: &'a Output, - pub min_days_for_renewal: &'a Output, - pub request_type: &'a Output, - pub requested_validity: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("csr", &self.csr) - .field("hostnames", &self.hostnames) - .field("min-days-for-renewal", &self.min_days_for_renewal) - .field("request-type", &self.request_type) - .field("requested-validity", &self.requested_validity) - .finish() - } - } - pub struct Res { - pub certificate: Output, - pub csr: Output, - pub expires_on: Output, - pub hostnames: Output, - pub min_days_for_renewal: Output, - pub request_type: Output, - pub requested_validity: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("certificate", &self.certificate) - .field("csr", &self.csr) - .field("expires-on", &self.expires_on) - .field("hostnames", &self.hostnames) - .field("min-days-for-renewal", &self.min_days_for_renewal) - .field("request-type", &self.request_type) - .field("requested-validity", &self.requested_validity) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - csr: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - hostnames: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - min_days_for_renewal: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - request_type: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - requested_validity: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - certificate: certificate8, - csr: csr8, - expires_on: expires_on8, - hostnames: hostnames8, - min_days_for_renewal: min_days_for_renewal8, - request_type: request_type8, - requested_validity: requested_validity8, - } = result6; - *ptr7.add(0).cast::() = (certificate8).take_handle() as i32; - *ptr7.add(4).cast::() = (csr8).take_handle() as i32; - *ptr7.add(8).cast::() = (expires_on8).take_handle() as i32; - *ptr7.add(12).cast::() = (hostnames8).take_handle() as i32; - *ptr7.add(16).cast::() = (min_days_for_renewal8).take_handle() - as i32; - *ptr7.add(20).cast::() = (request_type8).take_handle() as i32; - *ptr7.add(24).cast::() = (requested_validity8).take_handle() - as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_origin_ca_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/origin-ca-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_origin_ca_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod page_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub actions: &'a Output, - pub priority: &'a Output, - pub status: &'a Output, - pub target: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("actions", &self.actions) - .field("priority", &self.priority) - .field("status", &self.status) - .field("target", &self.target) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub actions: Output, - pub priority: Output, - pub status: Output, - pub target: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("actions", &self.actions) - .field("priority", &self.priority) - .field("status", &self.status) - .field("target", &self.target) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - actions: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - priority: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - status: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - target: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - actions: actions8, - priority: priority8, - status: status8, - target: target8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (actions8).take_handle() as i32; - *ptr7.add(4).cast::() = (priority8).take_handle() as i32; - *ptr7.add(8).cast::() = (status8).take_handle() as i32; - *ptr7.add(12).cast::() = (target8).take_handle() as i32; - *ptr7.add(16).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_page_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/page-rule@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_page_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod pages_domain { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub domain: &'a Output, - pub project_name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("domain", &self.domain) - .field("project-name", &self.project_name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub domain: Output, - pub project_name: Output, - pub status: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("domain", &self.domain) - .field("project-name", &self.project_name) - .field("status", &self.status) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - domain: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - project_name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - domain: domain6, - project_name: project_name6, - status: status6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (domain6).take_handle() as i32; - *ptr5.add(8).cast::() = (project_name6).take_handle() as i32; - *ptr5.add(12).cast::() = (status6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_pages_domain_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/pages-domain@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_pages_domain_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod pages_project { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub build_config: &'a Output, - pub deployment_configs: &'a Output, - pub name: &'a Output, - pub production_branch: &'a Output, - pub source: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("build-config", &self.build_config) - .field("deployment-configs", &self.deployment_configs) - .field("name", &self.name) - .field("production-branch", &self.production_branch) - .field("source", &self.source) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub build_config: Output, - pub created_on: Output, - pub deployment_configs: Output, - pub domains: Output, - pub name: Output, - pub production_branch: Output, - pub source: Output, - pub subdomain: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("build-config", &self.build_config) - .field("created-on", &self.created_on) - .field("deployment-configs", &self.deployment_configs) - .field("domains", &self.domains) - .field("name", &self.name) - .field("production-branch", &self.production_branch) - .field("source", &self.source) - .field("subdomain", &self.subdomain) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - build_config: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - deployment_configs: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - production_branch: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - source: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - build_config: build_config9, - created_on: created_on9, - deployment_configs: deployment_configs9, - domains: domains9, - name: name9, - production_branch: production_branch9, - source: source9, - subdomain: subdomain9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (build_config9).take_handle() as i32; - *ptr8.add(8).cast::() = (created_on9).take_handle() as i32; - *ptr8.add(12).cast::() = (deployment_configs9).take_handle() - as i32; - *ptr8.add(16).cast::() = (domains9).take_handle() as i32; - *ptr8.add(20).cast::() = (name9).take_handle() as i32; - *ptr8.add(24).cast::() = (production_branch9).take_handle() - as i32; - *ptr8.add(28).cast::() = (source9).take_handle() as i32; - *ptr8.add(32).cast::() = (subdomain9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_pages_project_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/pages-project@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_pages_project_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 36]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 36], - ); - } - #[allow(dead_code, clippy::all)] - pub mod queue { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id5, name: name5 } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (name5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_queue_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/queue@5.43.1--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, - arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_queue_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod r2_bucket { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub location: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("location", &self.location) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub location: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("location", &self.location) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - location: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - location: location6, - name: name6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (location6).take_handle() as i32; - *ptr5.add(8).cast::() = (name6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_r2_bucket_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/r2-bucket@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_r2_bucket_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod rate_limit { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub action: &'a Output, - pub bypass_url_patterns: &'a Output, - pub correlate: &'a Output, - pub description: &'a Output, - pub disabled: &'a Output, - pub match_: &'a Output, - pub period: &'a Output, - pub threshold: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("action", &self.action) - .field("bypass-url-patterns", &self.bypass_url_patterns) - .field("correlate", &self.correlate) - .field("description", &self.description) - .field("disabled", &self.disabled) - .field("match", &self.match_) - .field("period", &self.period) - .field("threshold", &self.threshold) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub action: Output, - pub bypass_url_patterns: Output, - pub correlate: Output, - pub description: Output, - pub disabled: Output, - pub match_: Output, - pub period: Output, - pub threshold: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("action", &self.action) - .field("bypass-url-patterns", &self.bypass_url_patterns) - .field("correlate", &self.correlate) - .field("description", &self.description) - .field("disabled", &self.disabled) - .field("match", &self.match_) - .field("period", &self.period) - .field("threshold", &self.threshold) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result10 = T::invoke( - _rt::string_lift(bytes0), - Args { - action: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - bypass_url_patterns: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - correlate: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - description: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - disabled: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - match_: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - period: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - threshold: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - zone_id: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - }, - ); - let ptr11 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - action: action12, - bypass_url_patterns: bypass_url_patterns12, - correlate: correlate12, - description: description12, - disabled: disabled12, - match_: match_12, - period: period12, - threshold: threshold12, - zone_id: zone_id12, - } = result10; - *ptr11.add(0).cast::() = (action12).take_handle() as i32; - *ptr11.add(4).cast::() = (bypass_url_patterns12).take_handle() - as i32; - *ptr11.add(8).cast::() = (correlate12).take_handle() as i32; - *ptr11.add(12).cast::() = (description12).take_handle() as i32; - *ptr11.add(16).cast::() = (disabled12).take_handle() as i32; - *ptr11.add(20).cast::() = (match_12).take_handle() as i32; - *ptr11.add(24).cast::() = (period12).take_handle() as i32; - *ptr11.add(28).cast::() = (threshold12).take_handle() as i32; - *ptr11.add(32).cast::() = (zone_id12).take_handle() as i32; - ptr11 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_rate_limit_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/rate-limit@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32, arg9 : i32, arg10 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_rate_limit_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 36]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 36], - ); - } - #[allow(dead_code, clippy::all)] - pub mod record { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub allow_overwrite: &'a Output, - pub comment: &'a Output, - pub content: &'a Output, - pub data: &'a Output, - pub name: &'a Output, - pub priority: &'a Output, - pub proxied: &'a Output, - pub tags: &'a Output, - pub ttl: &'a Output, - pub type_: &'a Output, - pub value: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("allow-overwrite", &self.allow_overwrite) - .field("comment", &self.comment) - .field("content", &self.content) - .field("data", &self.data) - .field("name", &self.name) - .field("priority", &self.priority) - .field("proxied", &self.proxied) - .field("tags", &self.tags) - .field("ttl", &self.ttl) - .field("type", &self.type_) - .field("value", &self.value) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub allow_overwrite: Output, - pub comment: Output, - pub content: Output, - pub created_on: Output, - pub data: Output, - pub hostname: Output, - pub metadata: Output, - pub modified_on: Output, - pub name: Output, - pub priority: Output, - pub proxiable: Output, - pub proxied: Output, - pub tags: Output, - pub ttl: Output, - pub type_: Output, - pub value: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("allow-overwrite", &self.allow_overwrite) - .field("comment", &self.comment) - .field("content", &self.content) - .field("created-on", &self.created_on) - .field("data", &self.data) - .field("hostname", &self.hostname) - .field("metadata", &self.metadata) - .field("modified-on", &self.modified_on) - .field("name", &self.name) - .field("priority", &self.priority) - .field("proxiable", &self.proxiable) - .field("proxied", &self.proxied) - .field("tags", &self.tags) - .field("ttl", &self.ttl) - .field("type", &self.type_) - .field("value", &self.value) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result13 = T::invoke( - _rt::string_lift(bytes0), - Args { - allow_overwrite: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - comment: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - content: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - data: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - name: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - priority: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - proxied: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - tags: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - ttl: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - type_: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - value: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - zone_id: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - }, - ); - let ptr14 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - allow_overwrite: allow_overwrite15, - comment: comment15, - content: content15, - created_on: created_on15, - data: data15, - hostname: hostname15, - metadata: metadata15, - modified_on: modified_on15, - name: name15, - priority: priority15, - proxiable: proxiable15, - proxied: proxied15, - tags: tags15, - ttl: ttl15, - type_: type_15, - value: value15, - zone_id: zone_id15, - } = result13; - *ptr14.add(0).cast::() = (allow_overwrite15).take_handle() - as i32; - *ptr14.add(4).cast::() = (comment15).take_handle() as i32; - *ptr14.add(8).cast::() = (content15).take_handle() as i32; - *ptr14.add(12).cast::() = (created_on15).take_handle() as i32; - *ptr14.add(16).cast::() = (data15).take_handle() as i32; - *ptr14.add(20).cast::() = (hostname15).take_handle() as i32; - *ptr14.add(24).cast::() = (metadata15).take_handle() as i32; - *ptr14.add(28).cast::() = (modified_on15).take_handle() as i32; - *ptr14.add(32).cast::() = (name15).take_handle() as i32; - *ptr14.add(36).cast::() = (priority15).take_handle() as i32; - *ptr14.add(40).cast::() = (proxiable15).take_handle() as i32; - *ptr14.add(44).cast::() = (proxied15).take_handle() as i32; - *ptr14.add(48).cast::() = (tags15).take_handle() as i32; - *ptr14.add(52).cast::() = (ttl15).take_handle() as i32; - *ptr14.add(56).cast::() = (type_15).take_handle() as i32; - *ptr14.add(60).cast::() = (value15).take_handle() as i32; - *ptr14.add(64).cast::() = (zone_id15).take_handle() as i32; - ptr14 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_record_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/record@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : i32, - arg13 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_record_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 68]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 68], - ); - } - #[allow(dead_code, clippy::all)] - pub mod regional_hostname { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub hostname: &'a Output, - pub region_key: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("hostname", &self.hostname) - .field("region-key", &self.region_key) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub created_on: Output, - pub hostname: Output, - pub region_key: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("created-on", &self.created_on) - .field("hostname", &self.hostname) - .field("region-key", &self.region_key) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - hostname: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - region_key: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - created_on: created_on6, - hostname: hostname6, - region_key: region_key6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (created_on6).take_handle() as i32; - *ptr5.add(4).cast::() = (hostname6).take_handle() as i32; - *ptr5.add(8).cast::() = (region_key6).take_handle() as i32; - *ptr5.add(12).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_regional_hostname_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/regional-hostname@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_regional_hostname_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod regional_tiered_cache { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub value: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("value", &self.value) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub value: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("value", &self.value) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - value: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { value: value5, zone_id: zone_id5 } = result3; - *ptr4.add(0).cast::() = (value5).take_handle() as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_regional_tiered_cache_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/regional-tiered-cache@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_regional_tiered_cache_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod risk_behavior { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub behaviors: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("behaviors", &self.behaviors) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub behaviors: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("behaviors", &self.behaviors) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - behaviors: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id5, behaviors: behaviors5 } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (behaviors5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_risk_behavior_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/risk-behavior@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_risk_behavior_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod ruleset { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub description: &'a Output, - pub kind: &'a Output, - pub name: &'a Output, - pub phase: &'a Output, - pub rules: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("kind", &self.kind) - .field("name", &self.name) - .field("phase", &self.phase) - .field("rules", &self.rules) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub description: Output, - pub kind: Output, - pub name: Output, - pub phase: Output, - pub rules: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("kind", &self.kind) - .field("name", &self.name) - .field("phase", &self.phase) - .field("rules", &self.rules) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result8 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - kind: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - phase: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - rules: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - zone_id: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - }, - ); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id10, - description: description10, - kind: kind10, - name: name10, - phase: phase10, - rules: rules10, - zone_id: zone_id10, - } = result8; - *ptr9.add(0).cast::() = (account_id10).take_handle() as i32; - *ptr9.add(4).cast::() = (description10).take_handle() as i32; - *ptr9.add(8).cast::() = (kind10).take_handle() as i32; - *ptr9.add(12).cast::() = (name10).take_handle() as i32; - *ptr9.add(16).cast::() = (phase10).take_handle() as i32; - *ptr9.add(20).cast::() = (rules10).take_handle() as i32; - *ptr9.add(24).cast::() = (zone_id10).take_handle() as i32; - ptr9 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_ruleset_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/ruleset@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_ruleset_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod spectrum_application { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub argo_smart_routing: &'a Output, - pub dns: &'a Output, - pub edge_ips: &'a Output, - pub ip_firewall: &'a Output, - pub origin_directs: &'a Output, - pub origin_dns: &'a Output, - pub origin_port: &'a Output, - pub origin_port_range: &'a Output, - pub protocol: &'a Output, - pub proxy_protocol: &'a Output, - pub tls: &'a Output, - pub traffic_type: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("argo-smart-routing", &self.argo_smart_routing) - .field("dns", &self.dns) - .field("edge-ips", &self.edge_ips) - .field("ip-firewall", &self.ip_firewall) - .field("origin-directs", &self.origin_directs) - .field("origin-dns", &self.origin_dns) - .field("origin-port", &self.origin_port) - .field("origin-port-range", &self.origin_port_range) - .field("protocol", &self.protocol) - .field("proxy-protocol", &self.proxy_protocol) - .field("tls", &self.tls) - .field("traffic-type", &self.traffic_type) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub argo_smart_routing: Output, - pub dns: Output, - pub edge_ips: Output, - pub ip_firewall: Output, - pub origin_directs: Output, - pub origin_dns: Output, - pub origin_port: Output, - pub origin_port_range: Output, - pub protocol: Output, - pub proxy_protocol: Output, - pub tls: Output, - pub traffic_type: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("argo-smart-routing", &self.argo_smart_routing) - .field("dns", &self.dns) - .field("edge-ips", &self.edge_ips) - .field("ip-firewall", &self.ip_firewall) - .field("origin-directs", &self.origin_directs) - .field("origin-dns", &self.origin_dns) - .field("origin-port", &self.origin_port) - .field("origin-port-range", &self.origin_port_range) - .field("protocol", &self.protocol) - .field("proxy-protocol", &self.proxy_protocol) - .field("tls", &self.tls) - .field("traffic-type", &self.traffic_type) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - arg14: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let handle13; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result14 = T::invoke( - _rt::string_lift(bytes0), - Args { - argo_smart_routing: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - dns: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - edge_ips: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - ip_firewall: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - origin_directs: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - origin_dns: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - origin_port: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - origin_port_range: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - protocol: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - proxy_protocol: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - tls: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - traffic_type: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - zone_id: { - handle13 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg14 as u32, - ); - &handle13 - }, - }, - ); - let ptr15 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - argo_smart_routing: argo_smart_routing16, - dns: dns16, - edge_ips: edge_ips16, - ip_firewall: ip_firewall16, - origin_directs: origin_directs16, - origin_dns: origin_dns16, - origin_port: origin_port16, - origin_port_range: origin_port_range16, - protocol: protocol16, - proxy_protocol: proxy_protocol16, - tls: tls16, - traffic_type: traffic_type16, - zone_id: zone_id16, - } = result14; - *ptr15.add(0).cast::() = (argo_smart_routing16).take_handle() - as i32; - *ptr15.add(4).cast::() = (dns16).take_handle() as i32; - *ptr15.add(8).cast::() = (edge_ips16).take_handle() as i32; - *ptr15.add(12).cast::() = (ip_firewall16).take_handle() as i32; - *ptr15.add(16).cast::() = (origin_directs16).take_handle() - as i32; - *ptr15.add(20).cast::() = (origin_dns16).take_handle() as i32; - *ptr15.add(24).cast::() = (origin_port16).take_handle() as i32; - *ptr15.add(28).cast::() = (origin_port_range16).take_handle() - as i32; - *ptr15.add(32).cast::() = (protocol16).take_handle() as i32; - *ptr15.add(36).cast::() = (proxy_protocol16).take_handle() - as i32; - *ptr15.add(40).cast::() = (tls16).take_handle() as i32; - *ptr15.add(44).cast::() = (traffic_type16).take_handle() as i32; - *ptr15.add(48).cast::() = (zone_id16).take_handle() as i32; - ptr15 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_spectrum_application_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/spectrum-application@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : - i32, arg13 : i32, arg14 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, - arg12, arg13, arg14) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_spectrum_application_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 52]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 52], - ); - } - #[allow(dead_code, clippy::all)] - pub mod split_tunnel { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub mode: &'a Output, - pub policy_id: &'a Output, - pub tunnels: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("mode", &self.mode) - .field("policy-id", &self.policy_id) - .field("tunnels", &self.tunnels) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub mode: Output, - pub policy_id: Output, - pub tunnels: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("mode", &self.mode) - .field("policy-id", &self.policy_id) - .field("tunnels", &self.tunnels) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - mode: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - policy_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - tunnels: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - mode: mode7, - policy_id: policy_id7, - tunnels: tunnels7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (mode7).take_handle() as i32; - *ptr6.add(8).cast::() = (policy_id7).take_handle() as i32; - *ptr6.add(12).cast::() = (tunnels7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_split_tunnel_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/split-tunnel@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_split_tunnel_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod static_route { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub colo_names: &'a Output, - pub colo_regions: &'a Output, - pub description: &'a Output, - pub nexthop: &'a Output, - pub prefix: &'a Output, - pub priority: &'a Output, - pub weight: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("colo-names", &self.colo_names) - .field("colo-regions", &self.colo_regions) - .field("description", &self.description) - .field("nexthop", &self.nexthop) - .field("prefix", &self.prefix) - .field("priority", &self.priority) - .field("weight", &self.weight) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub colo_names: Output, - pub colo_regions: Output, - pub description: Output, - pub nexthop: Output, - pub prefix: Output, - pub priority: Output, - pub weight: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("colo-names", &self.colo_names) - .field("colo-regions", &self.colo_regions) - .field("description", &self.description) - .field("nexthop", &self.nexthop) - .field("prefix", &self.prefix) - .field("priority", &self.priority) - .field("weight", &self.weight) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result9 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - colo_names: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - colo_regions: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - description: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - nexthop: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - prefix: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - priority: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - weight: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - }, - ); - let ptr10 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id11, - colo_names: colo_names11, - colo_regions: colo_regions11, - description: description11, - nexthop: nexthop11, - prefix: prefix11, - priority: priority11, - weight: weight11, - } = result9; - *ptr10.add(0).cast::() = (account_id11).take_handle() as i32; - *ptr10.add(4).cast::() = (colo_names11).take_handle() as i32; - *ptr10.add(8).cast::() = (colo_regions11).take_handle() as i32; - *ptr10.add(12).cast::() = (description11).take_handle() as i32; - *ptr10.add(16).cast::() = (nexthop11).take_handle() as i32; - *ptr10.add(20).cast::() = (prefix11).take_handle() as i32; - *ptr10.add(24).cast::() = (priority11).take_handle() as i32; - *ptr10.add(28).cast::() = (weight11).take_handle() as i32; - ptr10 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_static_route_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/static-route@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32, arg9 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_static_route_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod teams_account { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub activity_log_enabled: &'a Output, - pub antivirus: &'a Output, - pub block_page: &'a Output, - pub body_scanning: &'a Output, - pub certificate: &'a Output, - pub custom_certificate: &'a Output, - pub extended_email_matching: &'a Output, - pub fips: &'a Output, - pub logging: &'a Output, - pub non_identity_browser_isolation_enabled: &'a Output, - pub payload_log: &'a Output, - pub protocol_detection_enabled: &'a Output, - pub proxy: &'a Output, - pub ssh_session_log: &'a Output, - pub tls_decrypt_enabled: &'a Output, - pub url_browser_isolation_enabled: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("activity-log-enabled", &self.activity_log_enabled) - .field("antivirus", &self.antivirus) - .field("block-page", &self.block_page) - .field("body-scanning", &self.body_scanning) - .field("certificate", &self.certificate) - .field("custom-certificate", &self.custom_certificate) - .field( - "extended-email-matching", - &self.extended_email_matching, - ) - .field("fips", &self.fips) - .field("logging", &self.logging) - .field( - "non-identity-browser-isolation-enabled", - &self.non_identity_browser_isolation_enabled, - ) - .field("payload-log", &self.payload_log) - .field( - "protocol-detection-enabled", - &self.protocol_detection_enabled, - ) - .field("proxy", &self.proxy) - .field("ssh-session-log", &self.ssh_session_log) - .field("tls-decrypt-enabled", &self.tls_decrypt_enabled) - .field( - "url-browser-isolation-enabled", - &self.url_browser_isolation_enabled, - ) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub activity_log_enabled: Output, - pub antivirus: Output, - pub block_page: Output, - pub body_scanning: Output, - pub certificate: Output, - pub custom_certificate: Output, - pub extended_email_matching: Output, - pub fips: Output, - pub logging: Output, - pub non_identity_browser_isolation_enabled: Output, - pub payload_log: Output, - pub protocol_detection_enabled: Output, - pub proxy: Output, - pub ssh_session_log: Output, - pub tls_decrypt_enabled: Output, - pub url_browser_isolation_enabled: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("activity-log-enabled", &self.activity_log_enabled) - .field("antivirus", &self.antivirus) - .field("block-page", &self.block_page) - .field("body-scanning", &self.body_scanning) - .field("certificate", &self.certificate) - .field("custom-certificate", &self.custom_certificate) - .field( - "extended-email-matching", - &self.extended_email_matching, - ) - .field("fips", &self.fips) - .field("logging", &self.logging) - .field( - "non-identity-browser-isolation-enabled", - &self.non_identity_browser_isolation_enabled, - ) - .field("payload-log", &self.payload_log) - .field( - "protocol-detection-enabled", - &self.protocol_detection_enabled, - ) - .field("proxy", &self.proxy) - .field("ssh-session-log", &self.ssh_session_log) - .field("tls-decrypt-enabled", &self.tls_decrypt_enabled) - .field( - "url-browser-isolation-enabled", - &self.url_browser_isolation_enabled, - ) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let result37 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - activity_log_enabled: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - antivirus: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - block_page: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - body_scanning: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - certificate: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - custom_certificate: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - extended_email_matching: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - fips: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - logging: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - non_identity_browser_isolation_enabled: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - payload_log: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - protocol_detection_enabled: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - proxy: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - ssh_session_log: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - tls_decrypt_enabled: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - url_browser_isolation_enabled: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - }, - ); - _rt::cabi_dealloc(arg0, 76, 4); - let ptr38 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id39, - activity_log_enabled: activity_log_enabled39, - antivirus: antivirus39, - block_page: block_page39, - body_scanning: body_scanning39, - certificate: certificate39, - custom_certificate: custom_certificate39, - extended_email_matching: extended_email_matching39, - fips: fips39, - logging: logging39, - non_identity_browser_isolation_enabled: non_identity_browser_isolation_enabled39, - payload_log: payload_log39, - protocol_detection_enabled: protocol_detection_enabled39, - proxy: proxy39, - ssh_session_log: ssh_session_log39, - tls_decrypt_enabled: tls_decrypt_enabled39, - url_browser_isolation_enabled: url_browser_isolation_enabled39, - } = result37; - *ptr38.add(0).cast::() = (account_id39).take_handle() as i32; - *ptr38.add(4).cast::() = (activity_log_enabled39).take_handle() - as i32; - *ptr38.add(8).cast::() = (antivirus39).take_handle() as i32; - *ptr38.add(12).cast::() = (block_page39).take_handle() as i32; - *ptr38.add(16).cast::() = (body_scanning39).take_handle() - as i32; - *ptr38.add(20).cast::() = (certificate39).take_handle() as i32; - *ptr38.add(24).cast::() = (custom_certificate39).take_handle() - as i32; - *ptr38.add(28).cast::() = (extended_email_matching39) - .take_handle() as i32; - *ptr38.add(32).cast::() = (fips39).take_handle() as i32; - *ptr38.add(36).cast::() = (logging39).take_handle() as i32; - *ptr38.add(40).cast::() = (non_identity_browser_isolation_enabled39) - .take_handle() as i32; - *ptr38.add(44).cast::() = (payload_log39).take_handle() as i32; - *ptr38.add(48).cast::() = (protocol_detection_enabled39) - .take_handle() as i32; - *ptr38.add(52).cast::() = (proxy39).take_handle() as i32; - *ptr38.add(56).cast::() = (ssh_session_log39).take_handle() - as i32; - *ptr38.add(60).cast::() = (tls_decrypt_enabled39).take_handle() - as i32; - *ptr38.add(64).cast::() = (url_browser_isolation_enabled39) - .take_handle() as i32; - ptr38 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_teams_account_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/teams-account@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_teams_account_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 68]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 68], - ); - } - #[allow(dead_code, clippy::all)] - pub mod teams_list { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub description: &'a Output, - pub items: &'a Output, - pub items_with_descriptions: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("items", &self.items) - .field( - "items-with-descriptions", - &self.items_with_descriptions, - ) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub description: Output, - pub items: Output, - pub items_with_descriptions: Output, - pub name: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("items", &self.items) - .field( - "items-with-descriptions", - &self.items_with_descriptions, - ) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - items: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - items_with_descriptions: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - name: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - type_: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - description: description9, - items: items9, - items_with_descriptions: items_with_descriptions9, - name: name9, - type_: type_9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (description9).take_handle() as i32; - *ptr8.add(8).cast::() = (items9).take_handle() as i32; - *ptr8.add(12).cast::() = (items_with_descriptions9) - .take_handle() as i32; - *ptr8.add(16).cast::() = (name9).take_handle() as i32; - *ptr8.add(20).cast::() = (type_9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_teams_list_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/teams-list@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_teams_list_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod teams_location { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub client_default: &'a Output, - pub ecs_support: &'a Output, - pub name: &'a Output, - pub networks: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("client-default", &self.client_default) - .field("ecs-support", &self.ecs_support) - .field("name", &self.name) - .field("networks", &self.networks) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub anonymized_logs_enabled: Output, - pub client_default: Output, - pub doh_subdomain: Output, - pub ecs_support: Output, - pub ip: Output, - pub ipv4_destination: Output, - pub name: Output, - pub networks: Output, - pub policy_ids: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "anonymized-logs-enabled", - &self.anonymized_logs_enabled, - ) - .field("client-default", &self.client_default) - .field("doh-subdomain", &self.doh_subdomain) - .field("ecs-support", &self.ecs_support) - .field("ip", &self.ip) - .field("ipv4-destination", &self.ipv4_destination) - .field("name", &self.name) - .field("networks", &self.networks) - .field("policy-ids", &self.policy_ids) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - client_default: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - ecs_support: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - networks: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - anonymized_logs_enabled: anonymized_logs_enabled8, - client_default: client_default8, - doh_subdomain: doh_subdomain8, - ecs_support: ecs_support8, - ip: ip8, - ipv4_destination: ipv4_destination8, - name: name8, - networks: networks8, - policy_ids: policy_ids8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (anonymized_logs_enabled8).take_handle() - as i32; - *ptr7.add(8).cast::() = (client_default8).take_handle() as i32; - *ptr7.add(12).cast::() = (doh_subdomain8).take_handle() as i32; - *ptr7.add(16).cast::() = (ecs_support8).take_handle() as i32; - *ptr7.add(20).cast::() = (ip8).take_handle() as i32; - *ptr7.add(24).cast::() = (ipv4_destination8).take_handle() - as i32; - *ptr7.add(28).cast::() = (name8).take_handle() as i32; - *ptr7.add(32).cast::() = (networks8).take_handle() as i32; - *ptr7.add(36).cast::() = (policy_ids8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_teams_location_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/teams-location@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_teams_location_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod teams_proxy_endpoint { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub ips: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("ips", &self.ips) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub ips: Output, - pub name: Output, - pub subdomain: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("ips", &self.ips) - .field("name", &self.name) - .field("subdomain", &self.subdomain) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - ips: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - ips: ips6, - name: name6, - subdomain: subdomain6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (ips6).take_handle() as i32; - *ptr5.add(8).cast::() = (name6).take_handle() as i32; - *ptr5.add(12).cast::() = (subdomain6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_teams_proxy_endpoint_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/teams-proxy-endpoint@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_teams_proxy_endpoint_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod teams_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub action: &'a Output, - pub description: &'a Output, - pub device_posture: &'a Output, - pub enabled: &'a Output, - pub filters: &'a Output, - pub identity: &'a Output, - pub name: &'a Output, - pub precedence: &'a Output, - pub rule_settings: &'a Output, - pub traffic: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("action", &self.action) - .field("description", &self.description) - .field("device-posture", &self.device_posture) - .field("enabled", &self.enabled) - .field("filters", &self.filters) - .field("identity", &self.identity) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field("rule-settings", &self.rule_settings) - .field("traffic", &self.traffic) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub action: Output, - pub description: Output, - pub device_posture: Output, - pub enabled: Output, - pub filters: Output, - pub identity: Output, - pub name: Output, - pub precedence: Output, - pub rule_settings: Output, - pub traffic: Output, - pub version: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("action", &self.action) - .field("description", &self.description) - .field("device-posture", &self.device_posture) - .field("enabled", &self.enabled) - .field("filters", &self.filters) - .field("identity", &self.identity) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field("rule-settings", &self.rule_settings) - .field("traffic", &self.traffic) - .field("version", &self.version) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result12 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - action: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - description: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - device_posture: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - enabled: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - filters: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - identity: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - name: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - precedence: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - rule_settings: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - traffic: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - }, - ); - let ptr13 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id14, - action: action14, - description: description14, - device_posture: device_posture14, - enabled: enabled14, - filters: filters14, - identity: identity14, - name: name14, - precedence: precedence14, - rule_settings: rule_settings14, - traffic: traffic14, - version: version14, - } = result12; - *ptr13.add(0).cast::() = (account_id14).take_handle() as i32; - *ptr13.add(4).cast::() = (action14).take_handle() as i32; - *ptr13.add(8).cast::() = (description14).take_handle() as i32; - *ptr13.add(12).cast::() = (device_posture14).take_handle() - as i32; - *ptr13.add(16).cast::() = (enabled14).take_handle() as i32; - *ptr13.add(20).cast::() = (filters14).take_handle() as i32; - *ptr13.add(24).cast::() = (identity14).take_handle() as i32; - *ptr13.add(28).cast::() = (name14).take_handle() as i32; - *ptr13.add(32).cast::() = (precedence14).take_handle() as i32; - *ptr13.add(36).cast::() = (rule_settings14).take_handle() - as i32; - *ptr13.add(40).cast::() = (traffic14).take_handle() as i32; - *ptr13.add(44).cast::() = (version14).take_handle() as i32; - ptr13 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_teams_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/teams-rule@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, - arg10, arg11, arg12) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_teams_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 48]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 48], - ); - } - #[allow(dead_code, clippy::all)] - pub mod tiered_cache { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub cache_type: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("cache-type", &self.cache_type) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub cache_type: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("cache-type", &self.cache_type) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - cache_type: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { cache_type: cache_type5, zone_id: zone_id5 } = result3; - *ptr4.add(0).cast::() = (cache_type5).take_handle() as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_tiered_cache_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/tiered-cache@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_tiered_cache_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod total_tls { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub certificate_authority: &'a Output, - pub enabled: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("certificate-authority", &self.certificate_authority) - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub certificate_authority: Output, - pub enabled: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("certificate-authority", &self.certificate_authority) - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - certificate_authority: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - enabled: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - certificate_authority: certificate_authority6, - enabled: enabled6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (certificate_authority6).take_handle() - as i32; - *ptr5.add(4).cast::() = (enabled6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_total_tls_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/total-tls@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_total_tls_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod tunnel { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub config_src: &'a Output, - pub name: &'a Output, - pub secret: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("config-src", &self.config_src) - .field("name", &self.name) - .field("secret", &self.secret) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub cname: Output, - pub config_src: Output, - pub name: Output, - pub secret: Output, - pub tunnel_token: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("cname", &self.cname) - .field("config-src", &self.config_src) - .field("name", &self.name) - .field("secret", &self.secret) - .field("tunnel-token", &self.tunnel_token) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - config_src: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - secret: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - cname: cname7, - config_src: config_src7, - name: name7, - secret: secret7, - tunnel_token: tunnel_token7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (cname7).take_handle() as i32; - *ptr6.add(8).cast::() = (config_src7).take_handle() as i32; - *ptr6.add(12).cast::() = (name7).take_handle() as i32; - *ptr6.add(16).cast::() = (secret7).take_handle() as i32; - *ptr6.add(20).cast::() = (tunnel_token7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_tunnel_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/tunnel@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_tunnel_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod tunnel_config { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub config: &'a Output, - pub tunnel_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("config", &self.config) - .field("tunnel-id", &self.tunnel_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub config: Output, - pub tunnel_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("config", &self.config) - .field("tunnel-id", &self.tunnel_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - config: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - tunnel_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - config: config6, - tunnel_id: tunnel_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (config6).take_handle() as i32; - *ptr5.add(8).cast::() = (tunnel_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_tunnel_config_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/tunnel-config@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_tunnel_config_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod tunnel_route { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub comment: &'a Output, - pub network: &'a Output, - pub tunnel_id: &'a Output, - pub virtual_network_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("network", &self.network) - .field("tunnel-id", &self.tunnel_id) - .field("virtual-network-id", &self.virtual_network_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub comment: Output, - pub network: Output, - pub tunnel_id: Output, - pub virtual_network_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("network", &self.network) - .field("tunnel-id", &self.tunnel_id) - .field("virtual-network-id", &self.virtual_network_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - comment: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - network: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - tunnel_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - virtual_network_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - comment: comment8, - network: network8, - tunnel_id: tunnel_id8, - virtual_network_id: virtual_network_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (comment8).take_handle() as i32; - *ptr7.add(8).cast::() = (network8).take_handle() as i32; - *ptr7.add(12).cast::() = (tunnel_id8).take_handle() as i32; - *ptr7.add(16).cast::() = (virtual_network_id8).take_handle() - as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_tunnel_route_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/tunnel-route@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_tunnel_route_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod tunnel_virtual_network { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub comment: &'a Output, - pub is_default_network: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("is-default-network", &self.is_default_network) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub comment: Output, - pub is_default_network: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("is-default-network", &self.is_default_network) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - comment: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - is_default_network: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - comment: comment7, - is_default_network: is_default_network7, - name: name7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (comment7).take_handle() as i32; - *ptr6.add(8).cast::() = (is_default_network7).take_handle() - as i32; - *ptr6.add(12).cast::() = (name7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/tunnel-virtual-network@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod turnstile_widget { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub bot_fight_mode: &'a Output, - pub domains: &'a Output, - pub mode: &'a Output, - pub name: &'a Output, - pub offlabel: &'a Output, - pub region: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("bot-fight-mode", &self.bot_fight_mode) - .field("domains", &self.domains) - .field("mode", &self.mode) - .field("name", &self.name) - .field("offlabel", &self.offlabel) - .field("region", &self.region) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub bot_fight_mode: Output, - pub domains: Output, - pub mode: Output, - pub name: Output, - pub offlabel: Output, - pub region: Output, - pub secret: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("bot-fight-mode", &self.bot_fight_mode) - .field("domains", &self.domains) - .field("mode", &self.mode) - .field("name", &self.name) - .field("offlabel", &self.offlabel) - .field("region", &self.region) - .field("secret", &self.secret) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result8 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - bot_fight_mode: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - domains: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - mode: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - name: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - offlabel: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - region: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - }, - ); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id10, - bot_fight_mode: bot_fight_mode10, - domains: domains10, - mode: mode10, - name: name10, - offlabel: offlabel10, - region: region10, - secret: secret10, - } = result8; - *ptr9.add(0).cast::() = (account_id10).take_handle() as i32; - *ptr9.add(4).cast::() = (bot_fight_mode10).take_handle() as i32; - *ptr9.add(8).cast::() = (domains10).take_handle() as i32; - *ptr9.add(12).cast::() = (mode10).take_handle() as i32; - *ptr9.add(16).cast::() = (name10).take_handle() as i32; - *ptr9.add(20).cast::() = (offlabel10).take_handle() as i32; - *ptr9.add(24).cast::() = (region10).take_handle() as i32; - *ptr9.add(28).cast::() = (secret10).take_handle() as i32; - ptr9 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_turnstile_widget_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/turnstile-widget@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_turnstile_widget_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod url_normalization_settings { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub scope: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("scope", &self.scope) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub scope: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("scope", &self.scope) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - scope: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - type_: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { scope: scope6, type_: type_6, zone_id: zone_id6 } = result4; - *ptr5.add(0).cast::() = (scope6).take_handle() as i32; - *ptr5.add(4).cast::() = (type_6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_url_normalization_settings_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/url-normalization-settings@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_url_normalization_settings_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod user_agent_blocking_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub configuration: &'a Output, - pub description: &'a Output, - pub mode: &'a Output, - pub paused: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("configuration", &self.configuration) - .field("description", &self.description) - .field("mode", &self.mode) - .field("paused", &self.paused) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub configuration: Output, - pub description: Output, - pub mode: Output, - pub paused: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("configuration", &self.configuration) - .field("description", &self.description) - .field("mode", &self.mode) - .field("paused", &self.paused) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - configuration: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - mode: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - paused: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - configuration: configuration8, - description: description8, - mode: mode8, - paused: paused8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (configuration8).take_handle() as i32; - *ptr7.add(4).cast::() = (description8).take_handle() as i32; - *ptr7.add(8).cast::() = (mode8).take_handle() as i32; - *ptr7.add(12).cast::() = (paused8).take_handle() as i32; - *ptr7.add(16).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_user_agent_blocking_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/user-agent-blocking-rule@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_user_agent_blocking_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod waiting_room { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub additional_routes: &'a Output, - pub cookie_suffix: &'a Output, - pub custom_page_html: &'a Output, - pub default_template_language: &'a Output, - pub description: &'a Output, - pub disable_session_renewal: &'a Output, - pub enabled_origin_commands: &'a Output, - pub host: &'a Output, - pub json_response_enabled: &'a Output, - pub name: &'a Output, - pub new_users_per_minute: &'a Output, - pub path: &'a Output, - pub queue_all: &'a Output, - pub queueing_method: &'a Output, - pub queueing_status_code: &'a Output, - pub session_duration: &'a Output, - pub suspended: &'a Output, - pub total_active_users: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("additional-routes", &self.additional_routes) - .field("cookie-suffix", &self.cookie_suffix) - .field("custom-page-html", &self.custom_page_html) - .field( - "default-template-language", - &self.default_template_language, - ) - .field("description", &self.description) - .field( - "disable-session-renewal", - &self.disable_session_renewal, - ) - .field( - "enabled-origin-commands", - &self.enabled_origin_commands, - ) - .field("host", &self.host) - .field("json-response-enabled", &self.json_response_enabled) - .field("name", &self.name) - .field("new-users-per-minute", &self.new_users_per_minute) - .field("path", &self.path) - .field("queue-all", &self.queue_all) - .field("queueing-method", &self.queueing_method) - .field("queueing-status-code", &self.queueing_status_code) - .field("session-duration", &self.session_duration) - .field("suspended", &self.suspended) - .field("total-active-users", &self.total_active_users) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub additional_routes: Output, - pub cookie_suffix: Output, - pub custom_page_html: Output, - pub default_template_language: Output, - pub description: Output, - pub disable_session_renewal: Output, - pub enabled_origin_commands: Output, - pub host: Output, - pub json_response_enabled: Output, - pub name: Output, - pub new_users_per_minute: Output, - pub path: Output, - pub queue_all: Output, - pub queueing_method: Output, - pub queueing_status_code: Output, - pub session_duration: Output, - pub suspended: Output, - pub total_active_users: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("additional-routes", &self.additional_routes) - .field("cookie-suffix", &self.cookie_suffix) - .field("custom-page-html", &self.custom_page_html) - .field( - "default-template-language", - &self.default_template_language, - ) - .field("description", &self.description) - .field( - "disable-session-renewal", - &self.disable_session_renewal, - ) - .field( - "enabled-origin-commands", - &self.enabled_origin_commands, - ) - .field("host", &self.host) - .field("json-response-enabled", &self.json_response_enabled) - .field("name", &self.name) - .field("new-users-per-minute", &self.new_users_per_minute) - .field("path", &self.path) - .field("queue-all", &self.queue_all) - .field("queueing-method", &self.queueing_method) - .field("queueing-status-code", &self.queueing_status_code) - .field("session-duration", &self.session_duration) - .field("suspended", &self.suspended) - .field("total-active-users", &self.total_active_users) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let result41 = T::invoke( - _rt::string_lift(bytes2), - Args { - additional_routes: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - cookie_suffix: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - custom_page_html: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - default_template_language: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - description: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - disable_session_renewal: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - enabled_origin_commands: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - host: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - json_response_enabled: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - name: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - new_users_per_minute: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - path: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - queue_all: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - queueing_method: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - queueing_status_code: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - session_duration: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - suspended: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - total_active_users: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - zone_id: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - }, - ); - _rt::cabi_dealloc(arg0, 84, 4); - let ptr42 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - additional_routes: additional_routes43, - cookie_suffix: cookie_suffix43, - custom_page_html: custom_page_html43, - default_template_language: default_template_language43, - description: description43, - disable_session_renewal: disable_session_renewal43, - enabled_origin_commands: enabled_origin_commands43, - host: host43, - json_response_enabled: json_response_enabled43, - name: name43, - new_users_per_minute: new_users_per_minute43, - path: path43, - queue_all: queue_all43, - queueing_method: queueing_method43, - queueing_status_code: queueing_status_code43, - session_duration: session_duration43, - suspended: suspended43, - total_active_users: total_active_users43, - zone_id: zone_id43, - } = result41; - *ptr42.add(0).cast::() = (additional_routes43).take_handle() - as i32; - *ptr42.add(4).cast::() = (cookie_suffix43).take_handle() as i32; - *ptr42.add(8).cast::() = (custom_page_html43).take_handle() - as i32; - *ptr42.add(12).cast::() = (default_template_language43) - .take_handle() as i32; - *ptr42.add(16).cast::() = (description43).take_handle() as i32; - *ptr42.add(20).cast::() = (disable_session_renewal43) - .take_handle() as i32; - *ptr42.add(24).cast::() = (enabled_origin_commands43) - .take_handle() as i32; - *ptr42.add(28).cast::() = (host43).take_handle() as i32; - *ptr42.add(32).cast::() = (json_response_enabled43) - .take_handle() as i32; - *ptr42.add(36).cast::() = (name43).take_handle() as i32; - *ptr42.add(40).cast::() = (new_users_per_minute43).take_handle() - as i32; - *ptr42.add(44).cast::() = (path43).take_handle() as i32; - *ptr42.add(48).cast::() = (queue_all43).take_handle() as i32; - *ptr42.add(52).cast::() = (queueing_method43).take_handle() - as i32; - *ptr42.add(56).cast::() = (queueing_status_code43).take_handle() - as i32; - *ptr42.add(60).cast::() = (session_duration43).take_handle() - as i32; - *ptr42.add(64).cast::() = (suspended43).take_handle() as i32; - *ptr42.add(68).cast::() = (total_active_users43).take_handle() - as i32; - *ptr42.add(72).cast::() = (zone_id43).take_handle() as i32; - ptr42 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_waiting_room_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/waiting-room@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_waiting_room_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 76]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 76], - ); - } - #[allow(dead_code, clippy::all)] - pub mod waiting_room_event { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub custom_page_html: &'a Output, - pub description: &'a Output, - pub disable_session_renewal: &'a Output, - pub event_end_time: &'a Output, - pub event_start_time: &'a Output, - pub name: &'a Output, - pub new_users_per_minute: &'a Output, - pub prequeue_start_time: &'a Output, - pub queueing_method: &'a Output, - pub session_duration: &'a Output, - pub shuffle_at_event_start: &'a Output, - pub suspended: &'a Output, - pub total_active_users: &'a Output, - pub waiting_room_id: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("custom-page-html", &self.custom_page_html) - .field("description", &self.description) - .field( - "disable-session-renewal", - &self.disable_session_renewal, - ) - .field("event-end-time", &self.event_end_time) - .field("event-start-time", &self.event_start_time) - .field("name", &self.name) - .field("new-users-per-minute", &self.new_users_per_minute) - .field("prequeue-start-time", &self.prequeue_start_time) - .field("queueing-method", &self.queueing_method) - .field("session-duration", &self.session_duration) - .field( - "shuffle-at-event-start", - &self.shuffle_at_event_start, - ) - .field("suspended", &self.suspended) - .field("total-active-users", &self.total_active_users) - .field("waiting-room-id", &self.waiting_room_id) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub created_on: Output, - pub custom_page_html: Output, - pub description: Output, - pub disable_session_renewal: Output, - pub event_end_time: Output, - pub event_start_time: Output, - pub modified_on: Output, - pub name: Output, - pub new_users_per_minute: Output, - pub prequeue_start_time: Output, - pub queueing_method: Output, - pub session_duration: Output, - pub shuffle_at_event_start: Output, - pub suspended: Output, - pub total_active_users: Output, - pub waiting_room_id: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("created-on", &self.created_on) - .field("custom-page-html", &self.custom_page_html) - .field("description", &self.description) - .field( - "disable-session-renewal", - &self.disable_session_renewal, - ) - .field("event-end-time", &self.event_end_time) - .field("event-start-time", &self.event_start_time) - .field("modified-on", &self.modified_on) - .field("name", &self.name) - .field("new-users-per-minute", &self.new_users_per_minute) - .field("prequeue-start-time", &self.prequeue_start_time) - .field("queueing-method", &self.queueing_method) - .field("session-duration", &self.session_duration) - .field( - "shuffle-at-event-start", - &self.shuffle_at_event_start, - ) - .field("suspended", &self.suspended) - .field("total-active-users", &self.total_active_users) - .field("waiting-room-id", &self.waiting_room_id) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let result33 = T::invoke( - _rt::string_lift(bytes2), - Args { - custom_page_html: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - description: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - disable_session_renewal: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - event_end_time: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - event_start_time: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - name: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - new_users_per_minute: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - prequeue_start_time: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - queueing_method: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - session_duration: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - shuffle_at_event_start: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - suspended: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - total_active_users: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - waiting_room_id: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - zone_id: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - }, - ); - _rt::cabi_dealloc(arg0, 68, 4); - let ptr34 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - created_on: created_on35, - custom_page_html: custom_page_html35, - description: description35, - disable_session_renewal: disable_session_renewal35, - event_end_time: event_end_time35, - event_start_time: event_start_time35, - modified_on: modified_on35, - name: name35, - new_users_per_minute: new_users_per_minute35, - prequeue_start_time: prequeue_start_time35, - queueing_method: queueing_method35, - session_duration: session_duration35, - shuffle_at_event_start: shuffle_at_event_start35, - suspended: suspended35, - total_active_users: total_active_users35, - waiting_room_id: waiting_room_id35, - zone_id: zone_id35, - } = result33; - *ptr34.add(0).cast::() = (created_on35).take_handle() as i32; - *ptr34.add(4).cast::() = (custom_page_html35).take_handle() - as i32; - *ptr34.add(8).cast::() = (description35).take_handle() as i32; - *ptr34.add(12).cast::() = (disable_session_renewal35) - .take_handle() as i32; - *ptr34.add(16).cast::() = (event_end_time35).take_handle() - as i32; - *ptr34.add(20).cast::() = (event_start_time35).take_handle() - as i32; - *ptr34.add(24).cast::() = (modified_on35).take_handle() as i32; - *ptr34.add(28).cast::() = (name35).take_handle() as i32; - *ptr34.add(32).cast::() = (new_users_per_minute35).take_handle() - as i32; - *ptr34.add(36).cast::() = (prequeue_start_time35).take_handle() - as i32; - *ptr34.add(40).cast::() = (queueing_method35).take_handle() - as i32; - *ptr34.add(44).cast::() = (session_duration35).take_handle() - as i32; - *ptr34.add(48).cast::() = (shuffle_at_event_start35) - .take_handle() as i32; - *ptr34.add(52).cast::() = (suspended35).take_handle() as i32; - *ptr34.add(56).cast::() = (total_active_users35).take_handle() - as i32; - *ptr34.add(60).cast::() = (waiting_room_id35).take_handle() - as i32; - *ptr34.add(64).cast::() = (zone_id35).take_handle() as i32; - ptr34 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_waiting_room_event_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/waiting-room-event@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_waiting_room_event_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 68]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 68], - ); - } - #[allow(dead_code, clippy::all)] - pub mod waiting_room_rules { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub rules: &'a Output, - pub waiting_room_id: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("rules", &self.rules) - .field("waiting-room-id", &self.waiting_room_id) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub rules: Output, - pub waiting_room_id: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("rules", &self.rules) - .field("waiting-room-id", &self.waiting_room_id) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - rules: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - waiting_room_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - rules: rules6, - waiting_room_id: waiting_room_id6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (rules6).take_handle() as i32; - *ptr5.add(4).cast::() = (waiting_room_id6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_waiting_room_rules_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/waiting-room-rules@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_waiting_room_rules_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod waiting_room_settings { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub search_engine_crawler_bypass: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field( - "search-engine-crawler-bypass", - &self.search_engine_crawler_bypass, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub search_engine_crawler_bypass: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field( - "search-engine-crawler-bypass", - &self.search_engine_crawler_bypass, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - search_engine_crawler_bypass: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - search_engine_crawler_bypass: search_engine_crawler_bypass5, - zone_id: zone_id5, - } = result3; - *ptr4.add(0).cast::() = (search_engine_crawler_bypass5) - .take_handle() as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_waiting_room_settings_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/waiting-room-settings@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_waiting_room_settings_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod web3_hostname { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub description: &'a Output, - pub dnslink: &'a Output, - pub name: &'a Output, - pub target: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("description", &self.description) - .field("dnslink", &self.dnslink) - .field("name", &self.name) - .field("target", &self.target) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub created_on: Output, - pub description: Output, - pub dnslink: Output, - pub modified_on: Output, - pub name: Output, - pub status: Output, - pub target: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("created-on", &self.created_on) - .field("description", &self.description) - .field("dnslink", &self.dnslink) - .field("modified-on", &self.modified_on) - .field("name", &self.name) - .field("status", &self.status) - .field("target", &self.target) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - description: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - dnslink: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - target: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - created_on: created_on8, - description: description8, - dnslink: dnslink8, - modified_on: modified_on8, - name: name8, - status: status8, - target: target8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (created_on8).take_handle() as i32; - *ptr7.add(4).cast::() = (description8).take_handle() as i32; - *ptr7.add(8).cast::() = (dnslink8).take_handle() as i32; - *ptr7.add(12).cast::() = (modified_on8).take_handle() as i32; - *ptr7.add(16).cast::() = (name8).take_handle() as i32; - *ptr7.add(20).cast::() = (status8).take_handle() as i32; - *ptr7.add(24).cast::() = (target8).take_handle() as i32; - *ptr7.add(28).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_web3_hostname_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/web3-hostname@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_web3_hostname_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod web_analytics_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub host: &'a Output, - pub inclusive: &'a Output, - pub is_paused: &'a Output, - pub paths: &'a Output, - pub ruleset_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("host", &self.host) - .field("inclusive", &self.inclusive) - .field("is-paused", &self.is_paused) - .field("paths", &self.paths) - .field("ruleset-id", &self.ruleset_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub host: Output, - pub inclusive: Output, - pub is_paused: Output, - pub paths: Output, - pub ruleset_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("host", &self.host) - .field("inclusive", &self.inclusive) - .field("is-paused", &self.is_paused) - .field("paths", &self.paths) - .field("ruleset-id", &self.ruleset_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - host: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - inclusive: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - is_paused: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - paths: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - ruleset_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - host: host9, - inclusive: inclusive9, - is_paused: is_paused9, - paths: paths9, - ruleset_id: ruleset_id9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (host9).take_handle() as i32; - *ptr8.add(8).cast::() = (inclusive9).take_handle() as i32; - *ptr8.add(12).cast::() = (is_paused9).take_handle() as i32; - *ptr8.add(16).cast::() = (paths9).take_handle() as i32; - *ptr8.add(20).cast::() = (ruleset_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_web_analytics_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/web-analytics-rule@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_web_analytics_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod web_analytics_site { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub auto_install: &'a Output, - pub host: &'a Output, - pub zone_tag: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("auto-install", &self.auto_install) - .field("host", &self.host) - .field("zone-tag", &self.zone_tag) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub auto_install: Output, - pub host: Output, - pub ruleset_id: Output, - pub site_tag: Output, - pub site_token: Output, - pub snippet: Output, - pub zone_tag: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("auto-install", &self.auto_install) - .field("host", &self.host) - .field("ruleset-id", &self.ruleset_id) - .field("site-tag", &self.site_tag) - .field("site-token", &self.site_token) - .field("snippet", &self.snippet) - .field("zone-tag", &self.zone_tag) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - auto_install: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - host: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_tag: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - auto_install: auto_install7, - host: host7, - ruleset_id: ruleset_id7, - site_tag: site_tag7, - site_token: site_token7, - snippet: snippet7, - zone_tag: zone_tag7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (auto_install7).take_handle() as i32; - *ptr6.add(8).cast::() = (host7).take_handle() as i32; - *ptr6.add(12).cast::() = (ruleset_id7).take_handle() as i32; - *ptr6.add(16).cast::() = (site_tag7).take_handle() as i32; - *ptr6.add(20).cast::() = (site_token7).take_handle() as i32; - *ptr6.add(24).cast::() = (snippet7).take_handle() as i32; - *ptr6.add(28).cast::() = (zone_tag7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_web_analytics_site_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/web-analytics-site@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_web_analytics_site_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod worker_cron_trigger { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub schedules: &'a Output, - pub script_name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("schedules", &self.schedules) - .field("script-name", &self.script_name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub schedules: Output, - pub script_name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("schedules", &self.schedules) - .field("script-name", &self.script_name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - schedules: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - script_name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - schedules: schedules6, - script_name: script_name6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (schedules6).take_handle() as i32; - *ptr5.add(8).cast::() = (script_name6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_worker_cron_trigger_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/worker-cron-trigger@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_worker_cron_trigger_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod worker_domain { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub environment: &'a Output, - pub hostname: &'a Output, - pub service: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("environment", &self.environment) - .field("hostname", &self.hostname) - .field("service", &self.service) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub environment: Output, - pub hostname: Output, - pub service: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("environment", &self.environment) - .field("hostname", &self.hostname) - .field("service", &self.service) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - environment: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - hostname: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - service: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - environment: environment8, - hostname: hostname8, - service: service8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (environment8).take_handle() as i32; - *ptr7.add(8).cast::() = (hostname8).take_handle() as i32; - *ptr7.add(12).cast::() = (service8).take_handle() as i32; - *ptr7.add(16).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_worker_domain_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/worker-domain@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_worker_domain_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod worker_route { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub pattern: &'a Output, - pub script_name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("pattern", &self.pattern) - .field("script-name", &self.script_name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub pattern: Output, - pub script_name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("pattern", &self.pattern) - .field("script-name", &self.script_name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - pattern: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - script_name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - pattern: pattern6, - script_name: script_name6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (pattern6).take_handle() as i32; - *ptr5.add(4).cast::() = (script_name6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_worker_route_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/worker-route@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_worker_route_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod worker_script { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub analytics_engine_bindings: &'a Output, - pub compatibility_date: &'a Output, - pub compatibility_flags: &'a Output, - pub content: &'a Output, - pub d1_database_bindings: &'a Output, - pub dispatch_namespace: &'a Output, - pub hyperdrive_config_bindings: &'a Output, - pub kv_namespace_bindings: &'a Output, - pub logpush: &'a Output, - pub module: &'a Output, - pub name: &'a Output, - pub placements: &'a Output, - pub plain_text_bindings: &'a Output, - pub queue_bindings: &'a Output, - pub r2_bucket_bindings: &'a Output, - pub secret_text_bindings: &'a Output, - pub service_bindings: &'a Output, - pub tags: &'a Output, - pub webassembly_bindings: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "analytics-engine-bindings", - &self.analytics_engine_bindings, - ) - .field("compatibility-date", &self.compatibility_date) - .field("compatibility-flags", &self.compatibility_flags) - .field("content", &self.content) - .field("d1-database-bindings", &self.d1_database_bindings) - .field("dispatch-namespace", &self.dispatch_namespace) - .field( - "hyperdrive-config-bindings", - &self.hyperdrive_config_bindings, - ) - .field("kv-namespace-bindings", &self.kv_namespace_bindings) - .field("logpush", &self.logpush) - .field("module", &self.module) - .field("name", &self.name) - .field("placements", &self.placements) - .field("plain-text-bindings", &self.plain_text_bindings) - .field("queue-bindings", &self.queue_bindings) - .field("r2-bucket-bindings", &self.r2_bucket_bindings) - .field("secret-text-bindings", &self.secret_text_bindings) - .field("service-bindings", &self.service_bindings) - .field("tags", &self.tags) - .field("webassembly-bindings", &self.webassembly_bindings) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub analytics_engine_bindings: Output, - pub compatibility_date: Output, - pub compatibility_flags: Output, - pub content: Output, - pub d1_database_bindings: Output, - pub dispatch_namespace: Output, - pub hyperdrive_config_bindings: Output, - pub kv_namespace_bindings: Output, - pub logpush: Output, - pub module: Output, - pub name: Output, - pub placements: Output, - pub plain_text_bindings: Output, - pub queue_bindings: Output, - pub r2_bucket_bindings: Output, - pub secret_text_bindings: Output, - pub service_bindings: Output, - pub tags: Output, - pub webassembly_bindings: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "analytics-engine-bindings", - &self.analytics_engine_bindings, - ) - .field("compatibility-date", &self.compatibility_date) - .field("compatibility-flags", &self.compatibility_flags) - .field("content", &self.content) - .field("d1-database-bindings", &self.d1_database_bindings) - .field("dispatch-namespace", &self.dispatch_namespace) - .field( - "hyperdrive-config-bindings", - &self.hyperdrive_config_bindings, - ) - .field("kv-namespace-bindings", &self.kv_namespace_bindings) - .field("logpush", &self.logpush) - .field("module", &self.module) - .field("name", &self.name) - .field("placements", &self.placements) - .field("plain-text-bindings", &self.plain_text_bindings) - .field("queue-bindings", &self.queue_bindings) - .field("r2-bucket-bindings", &self.r2_bucket_bindings) - .field("secret-text-bindings", &self.secret_text_bindings) - .field("service-bindings", &self.service_bindings) - .field("tags", &self.tags) - .field("webassembly-bindings", &self.webassembly_bindings) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let handle42; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let l41 = *arg0.add(84).cast::(); - let result43 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - analytics_engine_bindings: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - compatibility_date: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - compatibility_flags: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - content: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - d1_database_bindings: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - dispatch_namespace: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - hyperdrive_config_bindings: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - kv_namespace_bindings: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - logpush: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - module: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - name: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - placements: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - plain_text_bindings: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - queue_bindings: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - r2_bucket_bindings: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - secret_text_bindings: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - service_bindings: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - tags: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - webassembly_bindings: { - handle42 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l41 as u32, - ); - &handle42 - }, - }, - ); - _rt::cabi_dealloc(arg0, 88, 4); - let ptr44 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id45, - analytics_engine_bindings: analytics_engine_bindings45, - compatibility_date: compatibility_date45, - compatibility_flags: compatibility_flags45, - content: content45, - d1_database_bindings: d1_database_bindings45, - dispatch_namespace: dispatch_namespace45, - hyperdrive_config_bindings: hyperdrive_config_bindings45, - kv_namespace_bindings: kv_namespace_bindings45, - logpush: logpush45, - module: module45, - name: name45, - placements: placements45, - plain_text_bindings: plain_text_bindings45, - queue_bindings: queue_bindings45, - r2_bucket_bindings: r2_bucket_bindings45, - secret_text_bindings: secret_text_bindings45, - service_bindings: service_bindings45, - tags: tags45, - webassembly_bindings: webassembly_bindings45, - } = result43; - *ptr44.add(0).cast::() = (account_id45).take_handle() as i32; - *ptr44.add(4).cast::() = (analytics_engine_bindings45) - .take_handle() as i32; - *ptr44.add(8).cast::() = (compatibility_date45).take_handle() - as i32; - *ptr44.add(12).cast::() = (compatibility_flags45).take_handle() - as i32; - *ptr44.add(16).cast::() = (content45).take_handle() as i32; - *ptr44.add(20).cast::() = (d1_database_bindings45).take_handle() - as i32; - *ptr44.add(24).cast::() = (dispatch_namespace45).take_handle() - as i32; - *ptr44.add(28).cast::() = (hyperdrive_config_bindings45) - .take_handle() as i32; - *ptr44.add(32).cast::() = (kv_namespace_bindings45) - .take_handle() as i32; - *ptr44.add(36).cast::() = (logpush45).take_handle() as i32; - *ptr44.add(40).cast::() = (module45).take_handle() as i32; - *ptr44.add(44).cast::() = (name45).take_handle() as i32; - *ptr44.add(48).cast::() = (placements45).take_handle() as i32; - *ptr44.add(52).cast::() = (plain_text_bindings45).take_handle() - as i32; - *ptr44.add(56).cast::() = (queue_bindings45).take_handle() - as i32; - *ptr44.add(60).cast::() = (r2_bucket_bindings45).take_handle() - as i32; - *ptr44.add(64).cast::() = (secret_text_bindings45).take_handle() - as i32; - *ptr44.add(68).cast::() = (service_bindings45).take_handle() - as i32; - *ptr44.add(72).cast::() = (tags45).take_handle() as i32; - *ptr44.add(76).cast::() = (webassembly_bindings45).take_handle() - as i32; - ptr44 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_worker_script_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/worker-script@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_worker_script_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 80]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 80], - ); - } - #[allow(dead_code, clippy::all)] - pub mod worker_secret { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - pub script_name: &'a Output, - pub secret_text: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("script-name", &self.script_name) - .field("secret-text", &self.secret_text) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub name: Output, - pub script_name: Output, - pub secret_text: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("script-name", &self.script_name) - .field("secret-text", &self.secret_text) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - script_name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - secret_text: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - name: name7, - script_name: script_name7, - secret_text: secret_text7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (name7).take_handle() as i32; - *ptr6.add(8).cast::() = (script_name7).take_handle() as i32; - *ptr6.add(12).cast::() = (secret_text7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_worker_secret_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/worker-secret@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_worker_secret_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_cron_trigger { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub schedules: &'a Output, - pub script_name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("schedules", &self.schedules) - .field("script-name", &self.script_name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub schedules: Output, - pub script_name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("schedules", &self.schedules) - .field("script-name", &self.script_name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - schedules: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - script_name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - schedules: schedules6, - script_name: script_name6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (schedules6).take_handle() as i32; - *ptr5.add(8).cast::() = (script_name6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_cron_trigger_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-cron-trigger@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_cron_trigger_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_domain { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub environment: &'a Output, - pub hostname: &'a Output, - pub service: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("environment", &self.environment) - .field("hostname", &self.hostname) - .field("service", &self.service) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub environment: Output, - pub hostname: Output, - pub service: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("environment", &self.environment) - .field("hostname", &self.hostname) - .field("service", &self.service) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - environment: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - hostname: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - service: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - environment: environment8, - hostname: hostname8, - service: service8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (environment8).take_handle() as i32; - *ptr7.add(8).cast::() = (hostname8).take_handle() as i32; - *ptr7.add(12).cast::() = (service8).take_handle() as i32; - *ptr7.add(16).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_domain_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-domain@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_domain_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_for_platforms_dispatch_namespace { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id5, name: name5 } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (name5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_for_platforms_dispatch_namespace_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-for-platforms-dispatch-namespace@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_for_platforms_dispatch_namespace_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_for_platforms_namespace { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id5, name: name5 } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (name5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_for_platforms_namespace_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-for-platforms-namespace@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_for_platforms_namespace_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_kv { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub key: &'a Output, - pub namespace_id: &'a Output, - pub value: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("key", &self.key) - .field("namespace-id", &self.namespace_id) - .field("value", &self.value) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub key: Output, - pub namespace_id: Output, - pub value: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("key", &self.key) - .field("namespace-id", &self.namespace_id) - .field("value", &self.value) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - key: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - namespace_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - value: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - key: key7, - namespace_id: namespace_id7, - value: value7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (key7).take_handle() as i32; - *ptr6.add(8).cast::() = (namespace_id7).take_handle() as i32; - *ptr6.add(12).cast::() = (value7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_kv_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-kv@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_kv_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_kv_namespace { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub title: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("title", &self.title) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub title: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("title", &self.title) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - title: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id5, title: title5 } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (title5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_kv_namespace_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-kv-namespace@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_kv_namespace_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_route { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub pattern: &'a Output, - pub script_name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("pattern", &self.pattern) - .field("script-name", &self.script_name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub pattern: Output, - pub script_name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("pattern", &self.pattern) - .field("script-name", &self.script_name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - pattern: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - script_name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - pattern: pattern6, - script_name: script_name6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (pattern6).take_handle() as i32; - *ptr5.add(4).cast::() = (script_name6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_route_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-route@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_route_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_script { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub analytics_engine_bindings: &'a Output, - pub compatibility_date: &'a Output, - pub compatibility_flags: &'a Output, - pub content: &'a Output, - pub d1_database_bindings: &'a Output, - pub dispatch_namespace: &'a Output, - pub hyperdrive_config_bindings: &'a Output, - pub kv_namespace_bindings: &'a Output, - pub logpush: &'a Output, - pub module: &'a Output, - pub name: &'a Output, - pub placements: &'a Output, - pub plain_text_bindings: &'a Output, - pub queue_bindings: &'a Output, - pub r2_bucket_bindings: &'a Output, - pub secret_text_bindings: &'a Output, - pub service_bindings: &'a Output, - pub tags: &'a Output, - pub webassembly_bindings: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "analytics-engine-bindings", - &self.analytics_engine_bindings, - ) - .field("compatibility-date", &self.compatibility_date) - .field("compatibility-flags", &self.compatibility_flags) - .field("content", &self.content) - .field("d1-database-bindings", &self.d1_database_bindings) - .field("dispatch-namespace", &self.dispatch_namespace) - .field( - "hyperdrive-config-bindings", - &self.hyperdrive_config_bindings, - ) - .field("kv-namespace-bindings", &self.kv_namespace_bindings) - .field("logpush", &self.logpush) - .field("module", &self.module) - .field("name", &self.name) - .field("placements", &self.placements) - .field("plain-text-bindings", &self.plain_text_bindings) - .field("queue-bindings", &self.queue_bindings) - .field("r2-bucket-bindings", &self.r2_bucket_bindings) - .field("secret-text-bindings", &self.secret_text_bindings) - .field("service-bindings", &self.service_bindings) - .field("tags", &self.tags) - .field("webassembly-bindings", &self.webassembly_bindings) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub analytics_engine_bindings: Output, - pub compatibility_date: Output, - pub compatibility_flags: Output, - pub content: Output, - pub d1_database_bindings: Output, - pub dispatch_namespace: Output, - pub hyperdrive_config_bindings: Output, - pub kv_namespace_bindings: Output, - pub logpush: Output, - pub module: Output, - pub name: Output, - pub placements: Output, - pub plain_text_bindings: Output, - pub queue_bindings: Output, - pub r2_bucket_bindings: Output, - pub secret_text_bindings: Output, - pub service_bindings: Output, - pub tags: Output, - pub webassembly_bindings: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "analytics-engine-bindings", - &self.analytics_engine_bindings, - ) - .field("compatibility-date", &self.compatibility_date) - .field("compatibility-flags", &self.compatibility_flags) - .field("content", &self.content) - .field("d1-database-bindings", &self.d1_database_bindings) - .field("dispatch-namespace", &self.dispatch_namespace) - .field( - "hyperdrive-config-bindings", - &self.hyperdrive_config_bindings, - ) - .field("kv-namespace-bindings", &self.kv_namespace_bindings) - .field("logpush", &self.logpush) - .field("module", &self.module) - .field("name", &self.name) - .field("placements", &self.placements) - .field("plain-text-bindings", &self.plain_text_bindings) - .field("queue-bindings", &self.queue_bindings) - .field("r2-bucket-bindings", &self.r2_bucket_bindings) - .field("secret-text-bindings", &self.secret_text_bindings) - .field("service-bindings", &self.service_bindings) - .field("tags", &self.tags) - .field("webassembly-bindings", &self.webassembly_bindings) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let handle42; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let l41 = *arg0.add(84).cast::(); - let result43 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - analytics_engine_bindings: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - compatibility_date: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - compatibility_flags: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - content: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - d1_database_bindings: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - dispatch_namespace: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - hyperdrive_config_bindings: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - kv_namespace_bindings: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - logpush: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - module: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - name: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - placements: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - plain_text_bindings: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - queue_bindings: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - r2_bucket_bindings: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - secret_text_bindings: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - service_bindings: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - tags: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - webassembly_bindings: { - handle42 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l41 as u32, - ); - &handle42 - }, - }, - ); - _rt::cabi_dealloc(arg0, 88, 4); - let ptr44 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id45, - analytics_engine_bindings: analytics_engine_bindings45, - compatibility_date: compatibility_date45, - compatibility_flags: compatibility_flags45, - content: content45, - d1_database_bindings: d1_database_bindings45, - dispatch_namespace: dispatch_namespace45, - hyperdrive_config_bindings: hyperdrive_config_bindings45, - kv_namespace_bindings: kv_namespace_bindings45, - logpush: logpush45, - module: module45, - name: name45, - placements: placements45, - plain_text_bindings: plain_text_bindings45, - queue_bindings: queue_bindings45, - r2_bucket_bindings: r2_bucket_bindings45, - secret_text_bindings: secret_text_bindings45, - service_bindings: service_bindings45, - tags: tags45, - webassembly_bindings: webassembly_bindings45, - } = result43; - *ptr44.add(0).cast::() = (account_id45).take_handle() as i32; - *ptr44.add(4).cast::() = (analytics_engine_bindings45) - .take_handle() as i32; - *ptr44.add(8).cast::() = (compatibility_date45).take_handle() - as i32; - *ptr44.add(12).cast::() = (compatibility_flags45).take_handle() - as i32; - *ptr44.add(16).cast::() = (content45).take_handle() as i32; - *ptr44.add(20).cast::() = (d1_database_bindings45).take_handle() - as i32; - *ptr44.add(24).cast::() = (dispatch_namespace45).take_handle() - as i32; - *ptr44.add(28).cast::() = (hyperdrive_config_bindings45) - .take_handle() as i32; - *ptr44.add(32).cast::() = (kv_namespace_bindings45) - .take_handle() as i32; - *ptr44.add(36).cast::() = (logpush45).take_handle() as i32; - *ptr44.add(40).cast::() = (module45).take_handle() as i32; - *ptr44.add(44).cast::() = (name45).take_handle() as i32; - *ptr44.add(48).cast::() = (placements45).take_handle() as i32; - *ptr44.add(52).cast::() = (plain_text_bindings45).take_handle() - as i32; - *ptr44.add(56).cast::() = (queue_bindings45).take_handle() - as i32; - *ptr44.add(60).cast::() = (r2_bucket_bindings45).take_handle() - as i32; - *ptr44.add(64).cast::() = (secret_text_bindings45).take_handle() - as i32; - *ptr44.add(68).cast::() = (service_bindings45).take_handle() - as i32; - *ptr44.add(72).cast::() = (tags45).take_handle() as i32; - *ptr44.add(76).cast::() = (webassembly_bindings45).take_handle() - as i32; - ptr44 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_script_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-script@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_script_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 80]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 80], - ); - } - #[allow(dead_code, clippy::all)] - pub mod workers_secret { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - pub script_name: &'a Output, - pub secret_text: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("script-name", &self.script_name) - .field("secret-text", &self.secret_text) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub name: Output, - pub script_name: Output, - pub secret_text: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("script-name", &self.script_name) - .field("secret-text", &self.secret_text) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - script_name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - secret_text: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - name: name7, - script_name: script_name7, - secret_text: secret_text7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (name7).take_handle() as i32; - *ptr6.add(8).cast::() = (script_name7).take_handle() as i32; - *ptr6.add(12).cast::() = (secret_text7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_workers_secret_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/workers-secret@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_workers_secret_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_application { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_authenticate_via_warp: &'a Output, - pub allowed_idps: &'a Output, - pub app_launcher_logo_url: &'a Output, - pub app_launcher_visible: &'a Output, - pub auto_redirect_to_identity: &'a Output, - pub bg_color: &'a Output, - pub cors_headers: &'a Output, - pub custom_deny_message: &'a Output, - pub custom_deny_url: &'a Output, - pub custom_non_identity_deny_url: &'a Output, - pub custom_pages: &'a Output, - pub domain: &'a Output, - pub enable_binding_cookie: &'a Output, - pub footer_links: &'a Output, - pub header_bg_color: &'a Output, - pub http_only_cookie_attribute: &'a Output, - pub landing_page_design: &'a Output, - pub logo_url: &'a Output, - pub name: &'a Output, - pub options_preflight_bypass: &'a Output, - pub policies: &'a Output, - pub saas_app: &'a Output, - pub same_site_cookie_attribute: &'a Output, - pub scim_config: &'a Output, - pub self_hosted_domains: &'a Output, - pub service_auth401_redirect: &'a Output, - pub session_duration: &'a Output, - pub skip_app_launcher_login_page: &'a Output, - pub skip_interstitial: &'a Output, - pub tags: &'a Output, - pub target_criterias: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "allow-authenticate-via-warp", - &self.allow_authenticate_via_warp, - ) - .field("allowed-idps", &self.allowed_idps) - .field("app-launcher-logo-url", &self.app_launcher_logo_url) - .field("app-launcher-visible", &self.app_launcher_visible) - .field( - "auto-redirect-to-identity", - &self.auto_redirect_to_identity, - ) - .field("bg-color", &self.bg_color) - .field("cors-headers", &self.cors_headers) - .field("custom-deny-message", &self.custom_deny_message) - .field("custom-deny-url", &self.custom_deny_url) - .field( - "custom-non-identity-deny-url", - &self.custom_non_identity_deny_url, - ) - .field("custom-pages", &self.custom_pages) - .field("domain", &self.domain) - .field("enable-binding-cookie", &self.enable_binding_cookie) - .field("footer-links", &self.footer_links) - .field("header-bg-color", &self.header_bg_color) - .field( - "http-only-cookie-attribute", - &self.http_only_cookie_attribute, - ) - .field("landing-page-design", &self.landing_page_design) - .field("logo-url", &self.logo_url) - .field("name", &self.name) - .field( - "options-preflight-bypass", - &self.options_preflight_bypass, - ) - .field("policies", &self.policies) - .field("saas-app", &self.saas_app) - .field( - "same-site-cookie-attribute", - &self.same_site_cookie_attribute, - ) - .field("scim-config", &self.scim_config) - .field("self-hosted-domains", &self.self_hosted_domains) - .field( - "service-auth401-redirect", - &self.service_auth401_redirect, - ) - .field("session-duration", &self.session_duration) - .field( - "skip-app-launcher-login-page", - &self.skip_app_launcher_login_page, - ) - .field("skip-interstitial", &self.skip_interstitial) - .field("tags", &self.tags) - .field("target-criterias", &self.target_criterias) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_authenticate_via_warp: Output, - pub allowed_idps: Output, - pub app_launcher_logo_url: Output, - pub app_launcher_visible: Output, - pub aud: Output, - pub auto_redirect_to_identity: Output, - pub bg_color: Output, - pub cors_headers: Output, - pub custom_deny_message: Output, - pub custom_deny_url: Output, - pub custom_non_identity_deny_url: Output, - pub custom_pages: Output, - pub domain: Output, - pub enable_binding_cookie: Output, - pub footer_links: Output, - pub header_bg_color: Output, - pub http_only_cookie_attribute: Output, - pub landing_page_design: Output, - pub logo_url: Output, - pub name: Output, - pub options_preflight_bypass: Output, - pub policies: Output, - pub saas_app: Output, - pub same_site_cookie_attribute: Output, - pub scim_config: Output, - pub self_hosted_domains: Output, - pub service_auth401_redirect: Output, - pub session_duration: Output, - pub skip_app_launcher_login_page: Output, - pub skip_interstitial: Output, - pub tags: Output, - pub target_criterias: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "allow-authenticate-via-warp", - &self.allow_authenticate_via_warp, - ) - .field("allowed-idps", &self.allowed_idps) - .field("app-launcher-logo-url", &self.app_launcher_logo_url) - .field("app-launcher-visible", &self.app_launcher_visible) - .field("aud", &self.aud) - .field( - "auto-redirect-to-identity", - &self.auto_redirect_to_identity, - ) - .field("bg-color", &self.bg_color) - .field("cors-headers", &self.cors_headers) - .field("custom-deny-message", &self.custom_deny_message) - .field("custom-deny-url", &self.custom_deny_url) - .field( - "custom-non-identity-deny-url", - &self.custom_non_identity_deny_url, - ) - .field("custom-pages", &self.custom_pages) - .field("domain", &self.domain) - .field("enable-binding-cookie", &self.enable_binding_cookie) - .field("footer-links", &self.footer_links) - .field("header-bg-color", &self.header_bg_color) - .field( - "http-only-cookie-attribute", - &self.http_only_cookie_attribute, - ) - .field("landing-page-design", &self.landing_page_design) - .field("logo-url", &self.logo_url) - .field("name", &self.name) - .field( - "options-preflight-bypass", - &self.options_preflight_bypass, - ) - .field("policies", &self.policies) - .field("saas-app", &self.saas_app) - .field( - "same-site-cookie-attribute", - &self.same_site_cookie_attribute, - ) - .field("scim-config", &self.scim_config) - .field("self-hosted-domains", &self.self_hosted_domains) - .field( - "service-auth401-redirect", - &self.service_auth401_redirect, - ) - .field("session-duration", &self.session_duration) - .field( - "skip-app-launcher-login-page", - &self.skip_app_launcher_login_page, - ) - .field("skip-interstitial", &self.skip_interstitial) - .field("tags", &self.tags) - .field("target-criterias", &self.target_criterias) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let handle42; - let handle44; - let handle46; - let handle48; - let handle50; - let handle52; - let handle54; - let handle56; - let handle58; - let handle60; - let handle62; - let handle64; - let handle66; - let handle68; - let handle70; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let l41 = *arg0.add(84).cast::(); - let l43 = *arg0.add(88).cast::(); - let l45 = *arg0.add(92).cast::(); - let l47 = *arg0.add(96).cast::(); - let l49 = *arg0.add(100).cast::(); - let l51 = *arg0.add(104).cast::(); - let l53 = *arg0.add(108).cast::(); - let l55 = *arg0.add(112).cast::(); - let l57 = *arg0.add(116).cast::(); - let l59 = *arg0.add(120).cast::(); - let l61 = *arg0.add(124).cast::(); - let l63 = *arg0.add(128).cast::(); - let l65 = *arg0.add(132).cast::(); - let l67 = *arg0.add(136).cast::(); - let l69 = *arg0.add(140).cast::(); - let result71 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - allow_authenticate_via_warp: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - allowed_idps: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - app_launcher_logo_url: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - app_launcher_visible: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - auto_redirect_to_identity: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - bg_color: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - cors_headers: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - custom_deny_message: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - custom_deny_url: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - custom_non_identity_deny_url: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - custom_pages: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - domain: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - enable_binding_cookie: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - footer_links: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - header_bg_color: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - http_only_cookie_attribute: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - landing_page_design: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - logo_url: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - name: { - handle42 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l41 as u32, - ); - &handle42 - }, - options_preflight_bypass: { - handle44 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l43 as u32, - ); - &handle44 - }, - policies: { - handle46 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l45 as u32, - ); - &handle46 - }, - saas_app: { - handle48 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l47 as u32, - ); - &handle48 - }, - same_site_cookie_attribute: { - handle50 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l49 as u32, - ); - &handle50 - }, - scim_config: { - handle52 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l51 as u32, - ); - &handle52 - }, - self_hosted_domains: { - handle54 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l53 as u32, - ); - &handle54 - }, - service_auth401_redirect: { - handle56 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l55 as u32, - ); - &handle56 - }, - session_duration: { - handle58 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l57 as u32, - ); - &handle58 - }, - skip_app_launcher_login_page: { - handle60 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l59 as u32, - ); - &handle60 - }, - skip_interstitial: { - handle62 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l61 as u32, - ); - &handle62 - }, - tags: { - handle64 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l63 as u32, - ); - &handle64 - }, - target_criterias: { - handle66 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l65 as u32, - ); - &handle66 - }, - type_: { - handle68 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l67 as u32, - ); - &handle68 - }, - zone_id: { - handle70 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l69 as u32, - ); - &handle70 - }, - }, - ); - _rt::cabi_dealloc(arg0, 144, 4); - let ptr72 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id73, - allow_authenticate_via_warp: allow_authenticate_via_warp73, - allowed_idps: allowed_idps73, - app_launcher_logo_url: app_launcher_logo_url73, - app_launcher_visible: app_launcher_visible73, - aud: aud73, - auto_redirect_to_identity: auto_redirect_to_identity73, - bg_color: bg_color73, - cors_headers: cors_headers73, - custom_deny_message: custom_deny_message73, - custom_deny_url: custom_deny_url73, - custom_non_identity_deny_url: custom_non_identity_deny_url73, - custom_pages: custom_pages73, - domain: domain73, - enable_binding_cookie: enable_binding_cookie73, - footer_links: footer_links73, - header_bg_color: header_bg_color73, - http_only_cookie_attribute: http_only_cookie_attribute73, - landing_page_design: landing_page_design73, - logo_url: logo_url73, - name: name73, - options_preflight_bypass: options_preflight_bypass73, - policies: policies73, - saas_app: saas_app73, - same_site_cookie_attribute: same_site_cookie_attribute73, - scim_config: scim_config73, - self_hosted_domains: self_hosted_domains73, - service_auth401_redirect: service_auth401_redirect73, - session_duration: session_duration73, - skip_app_launcher_login_page: skip_app_launcher_login_page73, - skip_interstitial: skip_interstitial73, - tags: tags73, - target_criterias: target_criterias73, - type_: type_73, - zone_id: zone_id73, - } = result71; - *ptr72.add(0).cast::() = (account_id73).take_handle() as i32; - *ptr72.add(4).cast::() = (allow_authenticate_via_warp73) - .take_handle() as i32; - *ptr72.add(8).cast::() = (allowed_idps73).take_handle() as i32; - *ptr72.add(12).cast::() = (app_launcher_logo_url73) - .take_handle() as i32; - *ptr72.add(16).cast::() = (app_launcher_visible73).take_handle() - as i32; - *ptr72.add(20).cast::() = (aud73).take_handle() as i32; - *ptr72.add(24).cast::() = (auto_redirect_to_identity73) - .take_handle() as i32; - *ptr72.add(28).cast::() = (bg_color73).take_handle() as i32; - *ptr72.add(32).cast::() = (cors_headers73).take_handle() as i32; - *ptr72.add(36).cast::() = (custom_deny_message73).take_handle() - as i32; - *ptr72.add(40).cast::() = (custom_deny_url73).take_handle() - as i32; - *ptr72.add(44).cast::() = (custom_non_identity_deny_url73) - .take_handle() as i32; - *ptr72.add(48).cast::() = (custom_pages73).take_handle() as i32; - *ptr72.add(52).cast::() = (domain73).take_handle() as i32; - *ptr72.add(56).cast::() = (enable_binding_cookie73) - .take_handle() as i32; - *ptr72.add(60).cast::() = (footer_links73).take_handle() as i32; - *ptr72.add(64).cast::() = (header_bg_color73).take_handle() - as i32; - *ptr72.add(68).cast::() = (http_only_cookie_attribute73) - .take_handle() as i32; - *ptr72.add(72).cast::() = (landing_page_design73).take_handle() - as i32; - *ptr72.add(76).cast::() = (logo_url73).take_handle() as i32; - *ptr72.add(80).cast::() = (name73).take_handle() as i32; - *ptr72.add(84).cast::() = (options_preflight_bypass73) - .take_handle() as i32; - *ptr72.add(88).cast::() = (policies73).take_handle() as i32; - *ptr72.add(92).cast::() = (saas_app73).take_handle() as i32; - *ptr72.add(96).cast::() = (same_site_cookie_attribute73) - .take_handle() as i32; - *ptr72.add(100).cast::() = (scim_config73).take_handle() as i32; - *ptr72.add(104).cast::() = (self_hosted_domains73).take_handle() - as i32; - *ptr72.add(108).cast::() = (service_auth401_redirect73) - .take_handle() as i32; - *ptr72.add(112).cast::() = (session_duration73).take_handle() - as i32; - *ptr72.add(116).cast::() = (skip_app_launcher_login_page73) - .take_handle() as i32; - *ptr72.add(120).cast::() = (skip_interstitial73).take_handle() - as i32; - *ptr72.add(124).cast::() = (tags73).take_handle() as i32; - *ptr72.add(128).cast::() = (target_criterias73).take_handle() - as i32; - *ptr72.add(132).cast::() = (type_73).take_handle() as i32; - *ptr72.add(136).cast::() = (zone_id73).take_handle() as i32; - ptr72 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_application_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-application@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_application_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 140]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 140], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_custom_page { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub app_count: &'a Output, - pub custom_html: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("app-count", &self.app_count) - .field("custom-html", &self.custom_html) - .field("name", &self.name) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub app_count: Output, - pub custom_html: Output, - pub name: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("app-count", &self.app_count) - .field("custom-html", &self.custom_html) - .field("name", &self.name) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - app_count: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - custom_html: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - type_: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - zone_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - app_count: app_count9, - custom_html: custom_html9, - name: name9, - type_: type_9, - zone_id: zone_id9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (app_count9).take_handle() as i32; - *ptr8.add(8).cast::() = (custom_html9).take_handle() as i32; - *ptr8.add(12).cast::() = (name9).take_handle() as i32; - *ptr8.add(16).cast::() = (type_9).take_handle() as i32; - *ptr8.add(20).cast::() = (zone_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_custom_page_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-custom-page@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_custom_page_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_group { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub excludes: &'a Output, - pub includes: &'a Output, - pub name: &'a Output, - pub requires: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("excludes", &self.excludes) - .field("includes", &self.includes) - .field("name", &self.name) - .field("requires", &self.requires) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub excludes: Output, - pub includes: Output, - pub name: Output, - pub requires: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("excludes", &self.excludes) - .field("includes", &self.includes) - .field("name", &self.name) - .field("requires", &self.requires) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - excludes: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - includes: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - requires: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - zone_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - excludes: excludes9, - includes: includes9, - name: name9, - requires: requires9, - zone_id: zone_id9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (excludes9).take_handle() as i32; - *ptr8.add(8).cast::() = (includes9).take_handle() as i32; - *ptr8.add(12).cast::() = (name9).take_handle() as i32; - *ptr8.add(16).cast::() = (requires9).take_handle() as i32; - *ptr8.add(20).cast::() = (zone_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_group_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-group@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_group_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_identity_provider { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub configs: &'a Output, - pub name: &'a Output, - pub scim_configs: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("configs", &self.configs) - .field("name", &self.name) - .field("scim-configs", &self.scim_configs) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub configs: Output, - pub name: Output, - pub scim_configs: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("configs", &self.configs) - .field("name", &self.name) - .field("scim-configs", &self.scim_configs) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - configs: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - scim_configs: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - type_: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - zone_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - configs: configs9, - name: name9, - scim_configs: scim_configs9, - type_: type_9, - zone_id: zone_id9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (configs9).take_handle() as i32; - *ptr8.add(8).cast::() = (name9).take_handle() as i32; - *ptr8.add(12).cast::() = (scim_configs9).take_handle() as i32; - *ptr8.add(16).cast::() = (type_9).take_handle() as i32; - *ptr8.add(20).cast::() = (zone_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_identity_provider_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-identity-provider@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_identity_provider_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_mtls_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub associated_hostnames: &'a Output, - pub certificate: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("associated-hostnames", &self.associated_hostnames) - .field("certificate", &self.certificate) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub associated_hostnames: Output, - pub certificate: Output, - pub fingerprint: Output, - pub name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("associated-hostnames", &self.associated_hostnames) - .field("certificate", &self.certificate) - .field("fingerprint", &self.fingerprint) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - associated_hostnames: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - certificate: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - associated_hostnames: associated_hostnames8, - certificate: certificate8, - fingerprint: fingerprint8, - name: name8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (associated_hostnames8).take_handle() - as i32; - *ptr7.add(8).cast::() = (certificate8).take_handle() as i32; - *ptr7.add(12).cast::() = (fingerprint8).take_handle() as i32; - *ptr7.add(16).cast::() = (name8).take_handle() as i32; - *ptr7.add(20).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_mtls_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-mtls-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_mtls_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_mtls_hostname_settings { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub settings: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("settings", &self.settings) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub settings: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("settings", &self.settings) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - settings: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - settings: settings6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (settings6).take_handle() as i32; - *ptr5.add(8).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_mtls_hostname_settings_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-mtls-hostname-settings@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_mtls_hostname_settings_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_organization { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_authenticate_via_warp: &'a Output, - pub auth_domain: &'a Output, - pub auto_redirect_to_identity: &'a Output, - pub custom_pages: &'a Output, - pub is_ui_read_only: &'a Output, - pub login_designs: &'a Output, - pub name: &'a Output, - pub session_duration: &'a Output, - pub ui_read_only_toggle_reason: &'a Output, - pub user_seat_expiration_inactive_time: &'a Output, - pub warp_auth_session_duration: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "allow-authenticate-via-warp", - &self.allow_authenticate_via_warp, - ) - .field("auth-domain", &self.auth_domain) - .field( - "auto-redirect-to-identity", - &self.auto_redirect_to_identity, - ) - .field("custom-pages", &self.custom_pages) - .field("is-ui-read-only", &self.is_ui_read_only) - .field("login-designs", &self.login_designs) - .field("name", &self.name) - .field("session-duration", &self.session_duration) - .field( - "ui-read-only-toggle-reason", - &self.ui_read_only_toggle_reason, - ) - .field( - "user-seat-expiration-inactive-time", - &self.user_seat_expiration_inactive_time, - ) - .field( - "warp-auth-session-duration", - &self.warp_auth_session_duration, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_authenticate_via_warp: Output, - pub auth_domain: Output, - pub auto_redirect_to_identity: Output, - pub custom_pages: Output, - pub is_ui_read_only: Output, - pub login_designs: Output, - pub name: Output, - pub session_duration: Output, - pub ui_read_only_toggle_reason: Output, - pub user_seat_expiration_inactive_time: Output, - pub warp_auth_session_duration: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "allow-authenticate-via-warp", - &self.allow_authenticate_via_warp, - ) - .field("auth-domain", &self.auth_domain) - .field( - "auto-redirect-to-identity", - &self.auto_redirect_to_identity, - ) - .field("custom-pages", &self.custom_pages) - .field("is-ui-read-only", &self.is_ui_read_only) - .field("login-designs", &self.login_designs) - .field("name", &self.name) - .field("session-duration", &self.session_duration) - .field( - "ui-read-only-toggle-reason", - &self.ui_read_only_toggle_reason, - ) - .field( - "user-seat-expiration-inactive-time", - &self.user_seat_expiration_inactive_time, - ) - .field( - "warp-auth-session-duration", - &self.warp_auth_session_duration, - ) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - arg14: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let handle13; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result14 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - allow_authenticate_via_warp: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - auth_domain: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - auto_redirect_to_identity: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - custom_pages: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - is_ui_read_only: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - login_designs: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - name: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - session_duration: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - ui_read_only_toggle_reason: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - user_seat_expiration_inactive_time: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - warp_auth_session_duration: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - zone_id: { - handle13 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg14 as u32, - ); - &handle13 - }, - }, - ); - let ptr15 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id16, - allow_authenticate_via_warp: allow_authenticate_via_warp16, - auth_domain: auth_domain16, - auto_redirect_to_identity: auto_redirect_to_identity16, - custom_pages: custom_pages16, - is_ui_read_only: is_ui_read_only16, - login_designs: login_designs16, - name: name16, - session_duration: session_duration16, - ui_read_only_toggle_reason: ui_read_only_toggle_reason16, - user_seat_expiration_inactive_time: user_seat_expiration_inactive_time16, - warp_auth_session_duration: warp_auth_session_duration16, - zone_id: zone_id16, - } = result14; - *ptr15.add(0).cast::() = (account_id16).take_handle() as i32; - *ptr15.add(4).cast::() = (allow_authenticate_via_warp16) - .take_handle() as i32; - *ptr15.add(8).cast::() = (auth_domain16).take_handle() as i32; - *ptr15.add(12).cast::() = (auto_redirect_to_identity16) - .take_handle() as i32; - *ptr15.add(16).cast::() = (custom_pages16).take_handle() as i32; - *ptr15.add(20).cast::() = (is_ui_read_only16).take_handle() - as i32; - *ptr15.add(24).cast::() = (login_designs16).take_handle() - as i32; - *ptr15.add(28).cast::() = (name16).take_handle() as i32; - *ptr15.add(32).cast::() = (session_duration16).take_handle() - as i32; - *ptr15.add(36).cast::() = (ui_read_only_toggle_reason16) - .take_handle() as i32; - *ptr15.add(40).cast::() = (user_seat_expiration_inactive_time16) - .take_handle() as i32; - *ptr15.add(44).cast::() = (warp_auth_session_duration16) - .take_handle() as i32; - *ptr15.add(48).cast::() = (zone_id16).take_handle() as i32; - ptr15 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_organization_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-organization@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : - i32, arg13 : i32, arg14 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, - arg12, arg13, arg14) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_organization_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 52]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 52], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_policy { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub application_id: &'a Output, - pub approval_groups: &'a Output, - pub approval_required: &'a Output, - pub connection_rules: &'a Output, - pub decision: &'a Output, - pub excludes: &'a Output, - pub includes: &'a Output, - pub isolation_required: &'a Output, - pub name: &'a Output, - pub precedence: &'a Output, - pub purpose_justification_prompt: &'a Output, - pub purpose_justification_required: &'a Output, - pub requires: &'a Output, - pub session_duration: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("application-id", &self.application_id) - .field("approval-groups", &self.approval_groups) - .field("approval-required", &self.approval_required) - .field("connection-rules", &self.connection_rules) - .field("decision", &self.decision) - .field("excludes", &self.excludes) - .field("includes", &self.includes) - .field("isolation-required", &self.isolation_required) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field( - "purpose-justification-prompt", - &self.purpose_justification_prompt, - ) - .field( - "purpose-justification-required", - &self.purpose_justification_required, - ) - .field("requires", &self.requires) - .field("session-duration", &self.session_duration) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub application_id: Output, - pub approval_groups: Output, - pub approval_required: Output, - pub connection_rules: Output, - pub decision: Output, - pub excludes: Output, - pub includes: Output, - pub isolation_required: Output, - pub name: Output, - pub precedence: Output, - pub purpose_justification_prompt: Output, - pub purpose_justification_required: Output, - pub requires: Output, - pub session_duration: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("application-id", &self.application_id) - .field("approval-groups", &self.approval_groups) - .field("approval-required", &self.approval_required) - .field("connection-rules", &self.connection_rules) - .field("decision", &self.decision) - .field("excludes", &self.excludes) - .field("includes", &self.includes) - .field("isolation-required", &self.isolation_required) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field( - "purpose-justification-prompt", - &self.purpose_justification_prompt, - ) - .field( - "purpose-justification-required", - &self.purpose_justification_required, - ) - .field("requires", &self.requires) - .field("session-duration", &self.session_duration) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let result35 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - application_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - approval_groups: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - approval_required: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - connection_rules: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - decision: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - excludes: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - includes: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - isolation_required: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - name: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - precedence: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - purpose_justification_prompt: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - purpose_justification_required: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - requires: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - session_duration: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - zone_id: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - }, - ); - _rt::cabi_dealloc(arg0, 72, 4); - let ptr36 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id37, - application_id: application_id37, - approval_groups: approval_groups37, - approval_required: approval_required37, - connection_rules: connection_rules37, - decision: decision37, - excludes: excludes37, - includes: includes37, - isolation_required: isolation_required37, - name: name37, - precedence: precedence37, - purpose_justification_prompt: purpose_justification_prompt37, - purpose_justification_required: purpose_justification_required37, - requires: requires37, - session_duration: session_duration37, - zone_id: zone_id37, - } = result35; - *ptr36.add(0).cast::() = (account_id37).take_handle() as i32; - *ptr36.add(4).cast::() = (application_id37).take_handle() - as i32; - *ptr36.add(8).cast::() = (approval_groups37).take_handle() - as i32; - *ptr36.add(12).cast::() = (approval_required37).take_handle() - as i32; - *ptr36.add(16).cast::() = (connection_rules37).take_handle() - as i32; - *ptr36.add(20).cast::() = (decision37).take_handle() as i32; - *ptr36.add(24).cast::() = (excludes37).take_handle() as i32; - *ptr36.add(28).cast::() = (includes37).take_handle() as i32; - *ptr36.add(32).cast::() = (isolation_required37).take_handle() - as i32; - *ptr36.add(36).cast::() = (name37).take_handle() as i32; - *ptr36.add(40).cast::() = (precedence37).take_handle() as i32; - *ptr36.add(44).cast::() = (purpose_justification_prompt37) - .take_handle() as i32; - *ptr36.add(48).cast::() = (purpose_justification_required37) - .take_handle() as i32; - *ptr36.add(52).cast::() = (requires37).take_handle() as i32; - *ptr36.add(56).cast::() = (session_duration37).take_handle() - as i32; - *ptr36.add(60).cast::() = (zone_id37).take_handle() as i32; - ptr36 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_policy_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-policy@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_policy_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 64]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 64], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_service_token { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub duration: &'a Output, - pub min_days_for_renewal: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("duration", &self.duration) - .field("min-days-for-renewal", &self.min_days_for_renewal) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub client_id: Output, - pub client_secret: Output, - pub duration: Output, - pub expires_at: Output, - pub min_days_for_renewal: Output, - pub name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("client-id", &self.client_id) - .field("client-secret", &self.client_secret) - .field("duration", &self.duration) - .field("expires-at", &self.expires_at) - .field("min-days-for-renewal", &self.min_days_for_renewal) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - duration: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - min_days_for_renewal: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - zone_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - client_id: client_id8, - client_secret: client_secret8, - duration: duration8, - expires_at: expires_at8, - min_days_for_renewal: min_days_for_renewal8, - name: name8, - zone_id: zone_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (client_id8).take_handle() as i32; - *ptr7.add(8).cast::() = (client_secret8).take_handle() as i32; - *ptr7.add(12).cast::() = (duration8).take_handle() as i32; - *ptr7.add(16).cast::() = (expires_at8).take_handle() as i32; - *ptr7.add(20).cast::() = (min_days_for_renewal8).take_handle() - as i32; - *ptr7.add(24).cast::() = (name8).take_handle() as i32; - *ptr7.add(28).cast::() = (zone_id8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_service_token_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-service-token@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_service_token_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_short_lived_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub application_id: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("application-id", &self.application_id) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub application_id: Output, - pub aud: Output, - pub public_key: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("application-id", &self.application_id) - .field("aud", &self.aud) - .field("public-key", &self.public_key) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - application_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - application_id: application_id6, - aud: aud6, - public_key: public_key6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (application_id6).take_handle() as i32; - *ptr5.add(8).cast::() = (aud6).take_handle() as i32; - *ptr5.add(12).cast::() = (public_key6).take_handle() as i32; - *ptr5.add(16).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_short_lived_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-short-lived-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_short_lived_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_access_tag { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub app_count: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("app-count", &self.app_count) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub app_count: Output, - pub name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("app-count", &self.app_count) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - app_count: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - app_count: app_count7, - name: name7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (app_count7).take_handle() as i32; - *ptr6.add(8).cast::() = (name7).take_handle() as i32; - *ptr6.add(12).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_access_tag_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-access-tag@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_access_tag_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_device_certificates { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub enabled: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub enabled: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - enabled: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { enabled: enabled5, zone_id: zone_id5 } = result3; - *ptr4.add(0).cast::() = (enabled5).take_handle() as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_device_certificates_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-device-certificates@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_device_certificates_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_device_managed_networks { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub config: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("config", &self.config) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub config: Output, - pub name: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("config", &self.config) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - config: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - type_: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - config: config7, - name: name7, - type_: type_7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (config7).take_handle() as i32; - *ptr6.add(8).cast::() = (name7).take_handle() as i32; - *ptr6.add(12).cast::() = (type_7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_device_managed_networks_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-device-managed-networks@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_device_managed_networks_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_device_posture_integration { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub configs: &'a Output, - pub identifier: &'a Output, - pub interval: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("configs", &self.configs) - .field("identifier", &self.identifier) - .field("interval", &self.interval) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub configs: Output, - pub identifier: Output, - pub interval: Output, - pub name: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("configs", &self.configs) - .field("identifier", &self.identifier) - .field("interval", &self.interval) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - configs: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - identifier: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - interval: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - name: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - type_: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - configs: configs9, - identifier: identifier9, - interval: interval9, - name: name9, - type_: type_9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (configs9).take_handle() as i32; - *ptr8.add(8).cast::() = (identifier9).take_handle() as i32; - *ptr8.add(12).cast::() = (interval9).take_handle() as i32; - *ptr8.add(16).cast::() = (name9).take_handle() as i32; - *ptr8.add(20).cast::() = (type_9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_device_posture_integration_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-device-posture-integration@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_device_posture_integration_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_device_posture_rule { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub description: &'a Output, - pub expiration: &'a Output, - pub inputs: &'a Output, - pub matches: &'a Output, - pub name: &'a Output, - pub schedule: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("expiration", &self.expiration) - .field("inputs", &self.inputs) - .field("matches", &self.matches) - .field("name", &self.name) - .field("schedule", &self.schedule) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub description: Output, - pub expiration: Output, - pub inputs: Output, - pub matches: Output, - pub name: Output, - pub schedule: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("expiration", &self.expiration) - .field("inputs", &self.inputs) - .field("matches", &self.matches) - .field("name", &self.name) - .field("schedule", &self.schedule) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result9 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - expiration: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - inputs: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - matches: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - name: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - schedule: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - type_: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - }, - ); - let ptr10 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id11, - description: description11, - expiration: expiration11, - inputs: inputs11, - matches: matches11, - name: name11, - schedule: schedule11, - type_: type_11, - } = result9; - *ptr10.add(0).cast::() = (account_id11).take_handle() as i32; - *ptr10.add(4).cast::() = (description11).take_handle() as i32; - *ptr10.add(8).cast::() = (expiration11).take_handle() as i32; - *ptr10.add(12).cast::() = (inputs11).take_handle() as i32; - *ptr10.add(16).cast::() = (matches11).take_handle() as i32; - *ptr10.add(20).cast::() = (name11).take_handle() as i32; - *ptr10.add(24).cast::() = (schedule11).take_handle() as i32; - *ptr10.add(28).cast::() = (type_11).take_handle() as i32; - ptr10 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_device_posture_rule_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-device-posture-rule@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_device_posture_rule_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_device_profiles { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allow_mode_switch: &'a Output, - pub allow_updates: &'a Output, - pub allowed_to_leave: &'a Output, - pub auto_connect: &'a Output, - pub captive_portal: &'a Output, - pub default: &'a Output, - pub description: &'a Output, - pub disable_auto_fallback: &'a Output, - pub enabled: &'a Output, - pub exclude_office_ips: &'a Output, - pub match_: &'a Output, - pub name: &'a Output, - pub precedence: &'a Output, - pub service_mode_v2_mode: &'a Output, - pub service_mode_v2_port: &'a Output, - pub support_url: &'a Output, - pub switch_locked: &'a Output, - pub tunnel_protocol: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("allow-mode-switch", &self.allow_mode_switch) - .field("allow-updates", &self.allow_updates) - .field("allowed-to-leave", &self.allowed_to_leave) - .field("auto-connect", &self.auto_connect) - .field("captive-portal", &self.captive_portal) - .field("default", &self.default) - .field("description", &self.description) - .field("disable-auto-fallback", &self.disable_auto_fallback) - .field("enabled", &self.enabled) - .field("exclude-office-ips", &self.exclude_office_ips) - .field("match", &self.match_) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field("service-mode-v2-mode", &self.service_mode_v2_mode) - .field("service-mode-v2-port", &self.service_mode_v2_port) - .field("support-url", &self.support_url) - .field("switch-locked", &self.switch_locked) - .field("tunnel-protocol", &self.tunnel_protocol) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allow_mode_switch: Output, - pub allow_updates: Output, - pub allowed_to_leave: Output, - pub auto_connect: Output, - pub captive_portal: Output, - pub default: Output, - pub description: Output, - pub disable_auto_fallback: Output, - pub enabled: Output, - pub exclude_office_ips: Output, - pub match_: Output, - pub name: Output, - pub precedence: Output, - pub service_mode_v2_mode: Output, - pub service_mode_v2_port: Output, - pub support_url: Output, - pub switch_locked: Output, - pub tunnel_protocol: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("allow-mode-switch", &self.allow_mode_switch) - .field("allow-updates", &self.allow_updates) - .field("allowed-to-leave", &self.allowed_to_leave) - .field("auto-connect", &self.auto_connect) - .field("captive-portal", &self.captive_portal) - .field("default", &self.default) - .field("description", &self.description) - .field("disable-auto-fallback", &self.disable_auto_fallback) - .field("enabled", &self.enabled) - .field("exclude-office-ips", &self.exclude_office_ips) - .field("match", &self.match_) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field("service-mode-v2-mode", &self.service_mode_v2_mode) - .field("service-mode-v2-port", &self.service_mode_v2_port) - .field("support-url", &self.support_url) - .field("switch-locked", &self.switch_locked) - .field("tunnel-protocol", &self.tunnel_protocol) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let result41 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - allow_mode_switch: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - allow_updates: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - allowed_to_leave: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - auto_connect: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - captive_portal: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - default: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - description: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - disable_auto_fallback: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - enabled: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - exclude_office_ips: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - match_: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - name: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - precedence: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - service_mode_v2_mode: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - service_mode_v2_port: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - support_url: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - switch_locked: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - tunnel_protocol: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - }, - ); - _rt::cabi_dealloc(arg0, 84, 4); - let ptr42 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id43, - allow_mode_switch: allow_mode_switch43, - allow_updates: allow_updates43, - allowed_to_leave: allowed_to_leave43, - auto_connect: auto_connect43, - captive_portal: captive_portal43, - default: default43, - description: description43, - disable_auto_fallback: disable_auto_fallback43, - enabled: enabled43, - exclude_office_ips: exclude_office_ips43, - match_: match_43, - name: name43, - precedence: precedence43, - service_mode_v2_mode: service_mode_v2_mode43, - service_mode_v2_port: service_mode_v2_port43, - support_url: support_url43, - switch_locked: switch_locked43, - tunnel_protocol: tunnel_protocol43, - } = result41; - *ptr42.add(0).cast::() = (account_id43).take_handle() as i32; - *ptr42.add(4).cast::() = (allow_mode_switch43).take_handle() - as i32; - *ptr42.add(8).cast::() = (allow_updates43).take_handle() as i32; - *ptr42.add(12).cast::() = (allowed_to_leave43).take_handle() - as i32; - *ptr42.add(16).cast::() = (auto_connect43).take_handle() as i32; - *ptr42.add(20).cast::() = (captive_portal43).take_handle() - as i32; - *ptr42.add(24).cast::() = (default43).take_handle() as i32; - *ptr42.add(28).cast::() = (description43).take_handle() as i32; - *ptr42.add(32).cast::() = (disable_auto_fallback43) - .take_handle() as i32; - *ptr42.add(36).cast::() = (enabled43).take_handle() as i32; - *ptr42.add(40).cast::() = (exclude_office_ips43).take_handle() - as i32; - *ptr42.add(44).cast::() = (match_43).take_handle() as i32; - *ptr42.add(48).cast::() = (name43).take_handle() as i32; - *ptr42.add(52).cast::() = (precedence43).take_handle() as i32; - *ptr42.add(56).cast::() = (service_mode_v2_mode43).take_handle() - as i32; - *ptr42.add(60).cast::() = (service_mode_v2_port43).take_handle() - as i32; - *ptr42.add(64).cast::() = (support_url43).take_handle() as i32; - *ptr42.add(68).cast::() = (switch_locked43).take_handle() - as i32; - *ptr42.add(72).cast::() = (tunnel_protocol43).take_handle() - as i32; - ptr42 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_device_profiles_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-device-profiles@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_device_profiles_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 76]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 76], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_dex_test { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub data: &'a Output, - pub description: &'a Output, - pub enabled: &'a Output, - pub interval: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("data", &self.data) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("interval", &self.interval) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub created: Output, - pub data: Output, - pub description: Output, - pub enabled: Output, - pub interval: Output, - pub name: Output, - pub updated: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("created", &self.created) - .field("data", &self.data) - .field("description", &self.description) - .field("enabled", &self.enabled) - .field("interval", &self.interval) - .field("name", &self.name) - .field("updated", &self.updated) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - data: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - description: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - enabled: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - interval: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - name: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - created: created9, - data: data9, - description: description9, - enabled: enabled9, - interval: interval9, - name: name9, - updated: updated9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (created9).take_handle() as i32; - *ptr8.add(8).cast::() = (data9).take_handle() as i32; - *ptr8.add(12).cast::() = (description9).take_handle() as i32; - *ptr8.add(16).cast::() = (enabled9).take_handle() as i32; - *ptr8.add(20).cast::() = (interval9).take_handle() as i32; - *ptr8.add(24).cast::() = (name9).take_handle() as i32; - *ptr8.add(28).cast::() = (updated9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_dex_test_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-dex-test@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_dex_test_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_dlp_profile { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub allowed_match_count: &'a Output, - pub context_awareness: &'a Output, - pub description: &'a Output, - pub entries: &'a Output, - pub name: &'a Output, - pub ocr_enabled: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("allowed-match-count", &self.allowed_match_count) - .field("context-awareness", &self.context_awareness) - .field("description", &self.description) - .field("entries", &self.entries) - .field("name", &self.name) - .field("ocr-enabled", &self.ocr_enabled) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub allowed_match_count: Output, - pub context_awareness: Output, - pub description: Output, - pub entries: Output, - pub name: Output, - pub ocr_enabled: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("allowed-match-count", &self.allowed_match_count) - .field("context-awareness", &self.context_awareness) - .field("description", &self.description) - .field("entries", &self.entries) - .field("name", &self.name) - .field("ocr-enabled", &self.ocr_enabled) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result9 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - allowed_match_count: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - context_awareness: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - description: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - entries: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - name: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - ocr_enabled: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - type_: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - }, - ); - let ptr10 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id11, - allowed_match_count: allowed_match_count11, - context_awareness: context_awareness11, - description: description11, - entries: entries11, - name: name11, - ocr_enabled: ocr_enabled11, - type_: type_11, - } = result9; - *ptr10.add(0).cast::() = (account_id11).take_handle() as i32; - *ptr10.add(4).cast::() = (allowed_match_count11).take_handle() - as i32; - *ptr10.add(8).cast::() = (context_awareness11).take_handle() - as i32; - *ptr10.add(12).cast::() = (description11).take_handle() as i32; - *ptr10.add(16).cast::() = (entries11).take_handle() as i32; - *ptr10.add(20).cast::() = (name11).take_handle() as i32; - *ptr10.add(24).cast::() = (ocr_enabled11).take_handle() as i32; - *ptr10.add(28).cast::() = (type_11).take_handle() as i32; - ptr10 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_dlp_profile_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-dlp-profile@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_dlp_profile_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 32]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 32], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_dns_location { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub client_default: &'a Output, - pub ecs_support: &'a Output, - pub name: &'a Output, - pub networks: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("client-default", &self.client_default) - .field("ecs-support", &self.ecs_support) - .field("name", &self.name) - .field("networks", &self.networks) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub anonymized_logs_enabled: Output, - pub client_default: Output, - pub doh_subdomain: Output, - pub ecs_support: Output, - pub ip: Output, - pub ipv4_destination: Output, - pub name: Output, - pub networks: Output, - pub policy_ids: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "anonymized-logs-enabled", - &self.anonymized_logs_enabled, - ) - .field("client-default", &self.client_default) - .field("doh-subdomain", &self.doh_subdomain) - .field("ecs-support", &self.ecs_support) - .field("ip", &self.ip) - .field("ipv4-destination", &self.ipv4_destination) - .field("name", &self.name) - .field("networks", &self.networks) - .field("policy-ids", &self.policy_ids) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - client_default: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - ecs_support: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - networks: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - anonymized_logs_enabled: anonymized_logs_enabled8, - client_default: client_default8, - doh_subdomain: doh_subdomain8, - ecs_support: ecs_support8, - ip: ip8, - ipv4_destination: ipv4_destination8, - name: name8, - networks: networks8, - policy_ids: policy_ids8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (anonymized_logs_enabled8).take_handle() - as i32; - *ptr7.add(8).cast::() = (client_default8).take_handle() as i32; - *ptr7.add(12).cast::() = (doh_subdomain8).take_handle() as i32; - *ptr7.add(16).cast::() = (ecs_support8).take_handle() as i32; - *ptr7.add(20).cast::() = (ip8).take_handle() as i32; - *ptr7.add(24).cast::() = (ipv4_destination8).take_handle() - as i32; - *ptr7.add(28).cast::() = (name8).take_handle() as i32; - *ptr7.add(32).cast::() = (networks8).take_handle() as i32; - *ptr7.add(36).cast::() = (policy_ids8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_dns_location_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-dns-location@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_dns_location_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_gateway_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub activate: &'a Output, - pub custom: &'a Output, - pub gateway_managed: &'a Output, - pub validity_period_days: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("activate", &self.activate) - .field("custom", &self.custom) - .field("gateway-managed", &self.gateway_managed) - .field("validity-period-days", &self.validity_period_days) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub activate: Output, - pub binding_status: Output, - pub created_at: Output, - pub custom: Output, - pub expires_on: Output, - pub gateway_managed: Output, - pub in_use: Output, - pub qs_pack_id: Output, - pub uploaded_on: Output, - pub validity_period_days: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("activate", &self.activate) - .field("binding-status", &self.binding_status) - .field("created-at", &self.created_at) - .field("custom", &self.custom) - .field("expires-on", &self.expires_on) - .field("gateway-managed", &self.gateway_managed) - .field("in-use", &self.in_use) - .field("qs-pack-id", &self.qs_pack_id) - .field("uploaded-on", &self.uploaded_on) - .field("validity-period-days", &self.validity_period_days) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - activate: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - custom: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - gateway_managed: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - validity_period_days: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - activate: activate8, - binding_status: binding_status8, - created_at: created_at8, - custom: custom8, - expires_on: expires_on8, - gateway_managed: gateway_managed8, - in_use: in_use8, - qs_pack_id: qs_pack_id8, - uploaded_on: uploaded_on8, - validity_period_days: validity_period_days8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (activate8).take_handle() as i32; - *ptr7.add(8).cast::() = (binding_status8).take_handle() as i32; - *ptr7.add(12).cast::() = (created_at8).take_handle() as i32; - *ptr7.add(16).cast::() = (custom8).take_handle() as i32; - *ptr7.add(20).cast::() = (expires_on8).take_handle() as i32; - *ptr7.add(24).cast::() = (gateway_managed8).take_handle() - as i32; - *ptr7.add(28).cast::() = (in_use8).take_handle() as i32; - *ptr7.add(32).cast::() = (qs_pack_id8).take_handle() as i32; - *ptr7.add(36).cast::() = (uploaded_on8).take_handle() as i32; - *ptr7.add(40).cast::() = (validity_period_days8).take_handle() - as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_gateway_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-gateway-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_gateway_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 44]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 44], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_gateway_policy { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub action: &'a Output, - pub description: &'a Output, - pub device_posture: &'a Output, - pub enabled: &'a Output, - pub filters: &'a Output, - pub identity: &'a Output, - pub name: &'a Output, - pub precedence: &'a Output, - pub rule_settings: &'a Output, - pub traffic: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("action", &self.action) - .field("description", &self.description) - .field("device-posture", &self.device_posture) - .field("enabled", &self.enabled) - .field("filters", &self.filters) - .field("identity", &self.identity) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field("rule-settings", &self.rule_settings) - .field("traffic", &self.traffic) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub action: Output, - pub description: Output, - pub device_posture: Output, - pub enabled: Output, - pub filters: Output, - pub identity: Output, - pub name: Output, - pub precedence: Output, - pub rule_settings: Output, - pub traffic: Output, - pub version: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("action", &self.action) - .field("description", &self.description) - .field("device-posture", &self.device_posture) - .field("enabled", &self.enabled) - .field("filters", &self.filters) - .field("identity", &self.identity) - .field("name", &self.name) - .field("precedence", &self.precedence) - .field("rule-settings", &self.rule_settings) - .field("traffic", &self.traffic) - .field("version", &self.version) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result12 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - action: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - description: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - device_posture: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - enabled: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - filters: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - identity: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - name: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - precedence: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - rule_settings: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - traffic: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - }, - ); - let ptr13 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id14, - action: action14, - description: description14, - device_posture: device_posture14, - enabled: enabled14, - filters: filters14, - identity: identity14, - name: name14, - precedence: precedence14, - rule_settings: rule_settings14, - traffic: traffic14, - version: version14, - } = result12; - *ptr13.add(0).cast::() = (account_id14).take_handle() as i32; - *ptr13.add(4).cast::() = (action14).take_handle() as i32; - *ptr13.add(8).cast::() = (description14).take_handle() as i32; - *ptr13.add(12).cast::() = (device_posture14).take_handle() - as i32; - *ptr13.add(16).cast::() = (enabled14).take_handle() as i32; - *ptr13.add(20).cast::() = (filters14).take_handle() as i32; - *ptr13.add(24).cast::() = (identity14).take_handle() as i32; - *ptr13.add(28).cast::() = (name14).take_handle() as i32; - *ptr13.add(32).cast::() = (precedence14).take_handle() as i32; - *ptr13.add(36).cast::() = (rule_settings14).take_handle() - as i32; - *ptr13.add(40).cast::() = (traffic14).take_handle() as i32; - *ptr13.add(44).cast::() = (version14).take_handle() as i32; - ptr13 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_gateway_policy_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-gateway-policy@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10, arg11, arg12) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_gateway_policy_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 48]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 48], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_gateway_proxy_endpoint { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub ips: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("ips", &self.ips) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub ips: Output, - pub name: Output, - pub subdomain: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("ips", &self.ips) - .field("name", &self.name) - .field("subdomain", &self.subdomain) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - ips: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - ips: ips6, - name: name6, - subdomain: subdomain6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (ips6).take_handle() as i32; - *ptr5.add(8).cast::() = (name6).take_handle() as i32; - *ptr5.add(12).cast::() = (subdomain6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_gateway_proxy_endpoint_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-gateway-proxy-endpoint@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_gateway_proxy_endpoint_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_gateway_settings { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub activity_log_enabled: &'a Output, - pub antivirus: &'a Output, - pub block_page: &'a Output, - pub body_scanning: &'a Output, - pub certificate: &'a Output, - pub custom_certificate: &'a Output, - pub extended_email_matching: &'a Output, - pub fips: &'a Output, - pub logging: &'a Output, - pub non_identity_browser_isolation_enabled: &'a Output, - pub payload_log: &'a Output, - pub protocol_detection_enabled: &'a Output, - pub proxy: &'a Output, - pub ssh_session_log: &'a Output, - pub tls_decrypt_enabled: &'a Output, - pub url_browser_isolation_enabled: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("activity-log-enabled", &self.activity_log_enabled) - .field("antivirus", &self.antivirus) - .field("block-page", &self.block_page) - .field("body-scanning", &self.body_scanning) - .field("certificate", &self.certificate) - .field("custom-certificate", &self.custom_certificate) - .field( - "extended-email-matching", - &self.extended_email_matching, - ) - .field("fips", &self.fips) - .field("logging", &self.logging) - .field( - "non-identity-browser-isolation-enabled", - &self.non_identity_browser_isolation_enabled, - ) - .field("payload-log", &self.payload_log) - .field( - "protocol-detection-enabled", - &self.protocol_detection_enabled, - ) - .field("proxy", &self.proxy) - .field("ssh-session-log", &self.ssh_session_log) - .field("tls-decrypt-enabled", &self.tls_decrypt_enabled) - .field( - "url-browser-isolation-enabled", - &self.url_browser_isolation_enabled, - ) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub activity_log_enabled: Output, - pub antivirus: Output, - pub block_page: Output, - pub body_scanning: Output, - pub certificate: Output, - pub custom_certificate: Output, - pub extended_email_matching: Output, - pub fips: Output, - pub logging: Output, - pub non_identity_browser_isolation_enabled: Output, - pub payload_log: Output, - pub protocol_detection_enabled: Output, - pub proxy: Output, - pub ssh_session_log: Output, - pub tls_decrypt_enabled: Output, - pub url_browser_isolation_enabled: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("activity-log-enabled", &self.activity_log_enabled) - .field("antivirus", &self.antivirus) - .field("block-page", &self.block_page) - .field("body-scanning", &self.body_scanning) - .field("certificate", &self.certificate) - .field("custom-certificate", &self.custom_certificate) - .field( - "extended-email-matching", - &self.extended_email_matching, - ) - .field("fips", &self.fips) - .field("logging", &self.logging) - .field( - "non-identity-browser-isolation-enabled", - &self.non_identity_browser_isolation_enabled, - ) - .field("payload-log", &self.payload_log) - .field( - "protocol-detection-enabled", - &self.protocol_detection_enabled, - ) - .field("proxy", &self.proxy) - .field("ssh-session-log", &self.ssh_session_log) - .field("tls-decrypt-enabled", &self.tls_decrypt_enabled) - .field( - "url-browser-isolation-enabled", - &self.url_browser_isolation_enabled, - ) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let result37 = T::invoke( - _rt::string_lift(bytes2), - Args { - account_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - activity_log_enabled: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - antivirus: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - block_page: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - body_scanning: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - certificate: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - custom_certificate: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - extended_email_matching: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - fips: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - logging: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - non_identity_browser_isolation_enabled: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - payload_log: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - protocol_detection_enabled: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - proxy: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - ssh_session_log: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - tls_decrypt_enabled: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - url_browser_isolation_enabled: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - }, - ); - _rt::cabi_dealloc(arg0, 76, 4); - let ptr38 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id39, - activity_log_enabled: activity_log_enabled39, - antivirus: antivirus39, - block_page: block_page39, - body_scanning: body_scanning39, - certificate: certificate39, - custom_certificate: custom_certificate39, - extended_email_matching: extended_email_matching39, - fips: fips39, - logging: logging39, - non_identity_browser_isolation_enabled: non_identity_browser_isolation_enabled39, - payload_log: payload_log39, - protocol_detection_enabled: protocol_detection_enabled39, - proxy: proxy39, - ssh_session_log: ssh_session_log39, - tls_decrypt_enabled: tls_decrypt_enabled39, - url_browser_isolation_enabled: url_browser_isolation_enabled39, - } = result37; - *ptr38.add(0).cast::() = (account_id39).take_handle() as i32; - *ptr38.add(4).cast::() = (activity_log_enabled39).take_handle() - as i32; - *ptr38.add(8).cast::() = (antivirus39).take_handle() as i32; - *ptr38.add(12).cast::() = (block_page39).take_handle() as i32; - *ptr38.add(16).cast::() = (body_scanning39).take_handle() - as i32; - *ptr38.add(20).cast::() = (certificate39).take_handle() as i32; - *ptr38.add(24).cast::() = (custom_certificate39).take_handle() - as i32; - *ptr38.add(28).cast::() = (extended_email_matching39) - .take_handle() as i32; - *ptr38.add(32).cast::() = (fips39).take_handle() as i32; - *ptr38.add(36).cast::() = (logging39).take_handle() as i32; - *ptr38.add(40).cast::() = (non_identity_browser_isolation_enabled39) - .take_handle() as i32; - *ptr38.add(44).cast::() = (payload_log39).take_handle() as i32; - *ptr38.add(48).cast::() = (protocol_detection_enabled39) - .take_handle() as i32; - *ptr38.add(52).cast::() = (proxy39).take_handle() as i32; - *ptr38.add(56).cast::() = (ssh_session_log39).take_handle() - as i32; - *ptr38.add(60).cast::() = (tls_decrypt_enabled39).take_handle() - as i32; - *ptr38.add(64).cast::() = (url_browser_isolation_enabled39) - .take_handle() as i32; - ptr38 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_gateway_settings_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-gateway-settings@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_gateway_settings_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 68]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 68], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_infrastructure_access_target { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub hostname: &'a Output, - pub ip: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("hostname", &self.hostname) - .field("ip", &self.ip) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub created_at: Output, - pub hostname: Output, - pub ip: Output, - pub modified_at: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("created-at", &self.created_at) - .field("hostname", &self.hostname) - .field("ip", &self.ip) - .field("modified-at", &self.modified_at) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - hostname: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - ip: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - created_at: created_at6, - hostname: hostname6, - ip: ip6, - modified_at: modified_at6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (created_at6).take_handle() as i32; - *ptr5.add(8).cast::() = (hostname6).take_handle() as i32; - *ptr5.add(12).cast::() = (ip6).take_handle() as i32; - *ptr5.add(16).cast::() = (modified_at6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_infrastructure_access_target_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-infrastructure-access-target@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_infrastructure_access_target_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_key_access_key_configuration { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub key_rotation_interval_days: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field( - "key-rotation-interval-days", - &self.key_rotation_interval_days, - ) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub key_rotation_interval_days: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field( - "key-rotation-interval-days", - &self.key_rotation_interval_days, - ) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - key_rotation_interval_days: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - key_rotation_interval_days: key_rotation_interval_days5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (key_rotation_interval_days5) - .take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_key_access_key_configuration_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-key-access-key-configuration@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_key_access_key_configuration_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_list { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub description: &'a Output, - pub items: &'a Output, - pub items_with_descriptions: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("items", &self.items) - .field( - "items-with-descriptions", - &self.items_with_descriptions, - ) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub description: Output, - pub items: Output, - pub items_with_descriptions: Output, - pub name: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("items", &self.items) - .field( - "items-with-descriptions", - &self.items_with_descriptions, - ) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - items: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - items_with_descriptions: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - name: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - type_: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id9, - description: description9, - items: items9, - items_with_descriptions: items_with_descriptions9, - name: name9, - type_: type_9, - } = result7; - *ptr8.add(0).cast::() = (account_id9).take_handle() as i32; - *ptr8.add(4).cast::() = (description9).take_handle() as i32; - *ptr8.add(8).cast::() = (items9).take_handle() as i32; - *ptr8.add(12).cast::() = (items_with_descriptions9) - .take_handle() as i32; - *ptr8.add(16).cast::() = (name9).take_handle() as i32; - *ptr8.add(20).cast::() = (type_9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_list_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-list@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_list_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_local_fallback_domain { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub domains: &'a Output, - pub policy_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("domains", &self.domains) - .field("policy-id", &self.policy_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub domains: Output, - pub policy_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("domains", &self.domains) - .field("policy-id", &self.policy_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - domains: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - policy_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - domains: domains6, - policy_id: policy_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (domains6).take_handle() as i32; - *ptr5.add(8).cast::() = (policy_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_local_fallback_domain_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-local-fallback-domain@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_local_fallback_domain_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_risk_behavior { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub behaviors: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("behaviors", &self.behaviors) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub behaviors: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("behaviors", &self.behaviors) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - behaviors: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id5, behaviors: behaviors5 } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (behaviors5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_risk_behavior_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-risk-behavior@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_risk_behavior_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_risk_score_integration { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub active: &'a Output, - pub integration_type: &'a Output, - pub reference_id: &'a Output, - pub tenant_url: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("active", &self.active) - .field("integration-type", &self.integration_type) - .field("reference-id", &self.reference_id) - .field("tenant-url", &self.tenant_url) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub active: Output, - pub integration_type: Output, - pub reference_id: Output, - pub tenant_url: Output, - pub well_known_url: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("active", &self.active) - .field("integration-type", &self.integration_type) - .field("reference-id", &self.reference_id) - .field("tenant-url", &self.tenant_url) - .field("well-known-url", &self.well_known_url) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - active: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - integration_type: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - reference_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - tenant_url: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - active: active8, - integration_type: integration_type8, - reference_id: reference_id8, - tenant_url: tenant_url8, - well_known_url: well_known_url8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (active8).take_handle() as i32; - *ptr7.add(8).cast::() = (integration_type8).take_handle() - as i32; - *ptr7.add(12).cast::() = (reference_id8).take_handle() as i32; - *ptr7.add(16).cast::() = (tenant_url8).take_handle() as i32; - *ptr7.add(20).cast::() = (well_known_url8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_risk_score_integration_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-risk-score-integration@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_risk_score_integration_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_split_tunnel { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub mode: &'a Output, - pub policy_id: &'a Output, - pub tunnels: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("mode", &self.mode) - .field("policy-id", &self.policy_id) - .field("tunnels", &self.tunnels) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub mode: Output, - pub policy_id: Output, - pub tunnels: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("mode", &self.mode) - .field("policy-id", &self.policy_id) - .field("tunnels", &self.tunnels) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - mode: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - policy_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - tunnels: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - mode: mode7, - policy_id: policy_id7, - tunnels: tunnels7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (mode7).take_handle() as i32; - *ptr6.add(8).cast::() = (policy_id7).take_handle() as i32; - *ptr6.add(12).cast::() = (tunnels7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_split_tunnel_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-split-tunnel@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_split_tunnel_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_tunnel_cloudflared { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub config_src: &'a Output, - pub name: &'a Output, - pub secret: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("config-src", &self.config_src) - .field("name", &self.name) - .field("secret", &self.secret) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub cname: Output, - pub config_src: Output, - pub name: Output, - pub secret: Output, - pub tunnel_token: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("cname", &self.cname) - .field("config-src", &self.config_src) - .field("name", &self.name) - .field("secret", &self.secret) - .field("tunnel-token", &self.tunnel_token) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - config_src: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - secret: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - cname: cname7, - config_src: config_src7, - name: name7, - secret: secret7, - tunnel_token: tunnel_token7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (cname7).take_handle() as i32; - *ptr6.add(8).cast::() = (config_src7).take_handle() as i32; - *ptr6.add(12).cast::() = (name7).take_handle() as i32; - *ptr6.add(16).cast::() = (secret7).take_handle() as i32; - *ptr6.add(20).cast::() = (tunnel_token7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_tunnel_cloudflared_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-tunnel-cloudflared@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_tunnel_cloudflared_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_tunnel_cloudflared_config { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub config: &'a Output, - pub tunnel_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("config", &self.config) - .field("tunnel-id", &self.tunnel_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub config: Output, - pub tunnel_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("config", &self.config) - .field("tunnel-id", &self.tunnel_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - config: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - tunnel_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - config: config6, - tunnel_id: tunnel_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (config6).take_handle() as i32; - *ptr5.add(8).cast::() = (tunnel_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_tunnel_cloudflared_config_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-tunnel-cloudflared-config@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_tunnel_cloudflared_config_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_tunnel_route { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub comment: &'a Output, - pub network: &'a Output, - pub tunnel_id: &'a Output, - pub virtual_network_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("network", &self.network) - .field("tunnel-id", &self.tunnel_id) - .field("virtual-network-id", &self.virtual_network_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub comment: Output, - pub network: Output, - pub tunnel_id: Output, - pub virtual_network_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("network", &self.network) - .field("tunnel-id", &self.tunnel_id) - .field("virtual-network-id", &self.virtual_network_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - comment: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - network: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - tunnel_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - virtual_network_id: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id8, - comment: comment8, - network: network8, - tunnel_id: tunnel_id8, - virtual_network_id: virtual_network_id8, - } = result6; - *ptr7.add(0).cast::() = (account_id8).take_handle() as i32; - *ptr7.add(4).cast::() = (comment8).take_handle() as i32; - *ptr7.add(8).cast::() = (network8).take_handle() as i32; - *ptr7.add(12).cast::() = (tunnel_id8).take_handle() as i32; - *ptr7.add(16).cast::() = (virtual_network_id8).take_handle() - as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_tunnel_route_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-tunnel-route@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1, arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_tunnel_route_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zero_trust_tunnel_virtual_network { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub comment: &'a Output, - pub is_default_network: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("is-default-network", &self.is_default_network) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub comment: Output, - pub is_default_network: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("is-default-network", &self.is_default_network) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - comment: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - is_default_network: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id7, - comment: comment7, - is_default_network: is_default_network7, - name: name7, - } = result5; - *ptr6.add(0).cast::() = (account_id7).take_handle() as i32; - *ptr6.add(4).cast::() = (comment7).take_handle() as i32; - *ptr6.add(8).cast::() = (is_default_network7).take_handle() - as i32; - *ptr6.add(12).cast::() = (name7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zero_trust_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zero-trust-tunnel-virtual-network@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zero_trust_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zone { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub jump_start: &'a Output, - pub paused: &'a Output, - pub plan: &'a Output, - pub type_: &'a Output, - pub vanity_name_servers: &'a Output, - pub zone: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("jump-start", &self.jump_start) - .field("paused", &self.paused) - .field("plan", &self.plan) - .field("type", &self.type_) - .field("vanity-name-servers", &self.vanity_name_servers) - .field("zone", &self.zone) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub jump_start: Output, - pub meta: Output, - pub name_servers: Output, - pub paused: Output, - pub plan: Output, - pub status: Output, - pub type_: Output, - pub vanity_name_servers: Output, - pub verification_key: Output, - pub zone: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("jump-start", &self.jump_start) - .field("meta", &self.meta) - .field("name-servers", &self.name_servers) - .field("paused", &self.paused) - .field("plan", &self.plan) - .field("status", &self.status) - .field("type", &self.type_) - .field("vanity-name-servers", &self.vanity_name_servers) - .field("verification-key", &self.verification_key) - .field("zone", &self.zone) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result8 = T::invoke( - _rt::string_lift(bytes0), - Args { - account_id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - jump_start: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - paused: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - plan: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - type_: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - vanity_name_servers: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - zone: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - }, - ); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id10, - jump_start: jump_start10, - meta: meta10, - name_servers: name_servers10, - paused: paused10, - plan: plan10, - status: status10, - type_: type_10, - vanity_name_servers: vanity_name_servers10, - verification_key: verification_key10, - zone: zone10, - } = result8; - *ptr9.add(0).cast::() = (account_id10).take_handle() as i32; - *ptr9.add(4).cast::() = (jump_start10).take_handle() as i32; - *ptr9.add(8).cast::() = (meta10).take_handle() as i32; - *ptr9.add(12).cast::() = (name_servers10).take_handle() as i32; - *ptr9.add(16).cast::() = (paused10).take_handle() as i32; - *ptr9.add(20).cast::() = (plan10).take_handle() as i32; - *ptr9.add(24).cast::() = (status10).take_handle() as i32; - *ptr9.add(28).cast::() = (type_10).take_handle() as i32; - *ptr9.add(32).cast::() = (vanity_name_servers10).take_handle() - as i32; - *ptr9.add(36).cast::() = (verification_key10).take_handle() - as i32; - *ptr9.add(40).cast::() = (zone10).take_handle() as i32; - ptr9 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zone_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zone@5.43.1--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, - arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, arg8 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zone_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 44]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 44], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zone_cache_reserve { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub enabled: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub enabled: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("enabled", &self.enabled) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - enabled: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { enabled: enabled5, zone_id: zone_id5 } = result3; - *ptr4.add(0).cast::() = (enabled5).take_handle() as i32; - *ptr4.add(4).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zone_cache_reserve_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zone-cache-reserve@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zone_cache_reserve_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zone_cache_variants { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub avifs: &'a Output, - pub bmps: &'a Output, - pub gifs: &'a Output, - pub jp2s: &'a Output, - pub jpegs: &'a Output, - pub jpg2s: &'a Output, - pub jpgs: &'a Output, - pub pngs: &'a Output, - pub tiffs: &'a Output, - pub tifs: &'a Output, - pub webps: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("avifs", &self.avifs) - .field("bmps", &self.bmps) - .field("gifs", &self.gifs) - .field("jp2s", &self.jp2s) - .field("jpegs", &self.jpegs) - .field("jpg2s", &self.jpg2s) - .field("jpgs", &self.jpgs) - .field("pngs", &self.pngs) - .field("tiffs", &self.tiffs) - .field("tifs", &self.tifs) - .field("webps", &self.webps) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub avifs: Output, - pub bmps: Output, - pub gifs: Output, - pub jp2s: Output, - pub jpegs: Output, - pub jpg2s: Output, - pub jpgs: Output, - pub pngs: Output, - pub tiffs: Output, - pub tifs: Output, - pub webps: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("avifs", &self.avifs) - .field("bmps", &self.bmps) - .field("gifs", &self.gifs) - .field("jp2s", &self.jp2s) - .field("jpegs", &self.jpegs) - .field("jpg2s", &self.jpg2s) - .field("jpgs", &self.jpgs) - .field("pngs", &self.pngs) - .field("tiffs", &self.tiffs) - .field("tifs", &self.tifs) - .field("webps", &self.webps) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result13 = T::invoke( - _rt::string_lift(bytes0), - Args { - avifs: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - bmps: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - gifs: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - jp2s: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - jpegs: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - jpg2s: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - jpgs: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - pngs: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - tiffs: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - tifs: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - webps: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - zone_id: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - }, - ); - let ptr14 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - avifs: avifs15, - bmps: bmps15, - gifs: gifs15, - jp2s: jp2s15, - jpegs: jpegs15, - jpg2s: jpg2s15, - jpgs: jpgs15, - pngs: pngs15, - tiffs: tiffs15, - tifs: tifs15, - webps: webps15, - zone_id: zone_id15, - } = result13; - *ptr14.add(0).cast::() = (avifs15).take_handle() as i32; - *ptr14.add(4).cast::() = (bmps15).take_handle() as i32; - *ptr14.add(8).cast::() = (gifs15).take_handle() as i32; - *ptr14.add(12).cast::() = (jp2s15).take_handle() as i32; - *ptr14.add(16).cast::() = (jpegs15).take_handle() as i32; - *ptr14.add(20).cast::() = (jpg2s15).take_handle() as i32; - *ptr14.add(24).cast::() = (jpgs15).take_handle() as i32; - *ptr14.add(28).cast::() = (pngs15).take_handle() as i32; - *ptr14.add(32).cast::() = (tiffs15).take_handle() as i32; - *ptr14.add(36).cast::() = (tifs15).take_handle() as i32; - *ptr14.add(40).cast::() = (webps15).take_handle() as i32; - *ptr14.add(44).cast::() = (zone_id15).take_handle() as i32; - ptr14 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zone_cache_variants_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zone-cache-variants@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32, arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : - i32, arg13 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zone_cache_variants_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 48]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 48], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zone_dnssec { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub modified_on: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("modified-on", &self.modified_on) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub algorithm: Output, - pub digest: Output, - pub digest_algorithm: Output, - pub digest_type: Output, - pub ds: Output, - pub flags: Output, - pub key_tag: Output, - pub key_type: Output, - pub modified_on: Output, - pub public_key: Output, - pub status: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("algorithm", &self.algorithm) - .field("digest", &self.digest) - .field("digest-algorithm", &self.digest_algorithm) - .field("digest-type", &self.digest_type) - .field("ds", &self.ds) - .field("flags", &self.flags) - .field("key-tag", &self.key_tag) - .field("key-type", &self.key_type) - .field("modified-on", &self.modified_on) - .field("public-key", &self.public_key) - .field("status", &self.status) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - modified_on: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - algorithm: algorithm5, - digest: digest5, - digest_algorithm: digest_algorithm5, - digest_type: digest_type5, - ds: ds5, - flags: flags5, - key_tag: key_tag5, - key_type: key_type5, - modified_on: modified_on5, - public_key: public_key5, - status: status5, - zone_id: zone_id5, - } = result3; - *ptr4.add(0).cast::() = (algorithm5).take_handle() as i32; - *ptr4.add(4).cast::() = (digest5).take_handle() as i32; - *ptr4.add(8).cast::() = (digest_algorithm5).take_handle() - as i32; - *ptr4.add(12).cast::() = (digest_type5).take_handle() as i32; - *ptr4.add(16).cast::() = (ds5).take_handle() as i32; - *ptr4.add(20).cast::() = (flags5).take_handle() as i32; - *ptr4.add(24).cast::() = (key_tag5).take_handle() as i32; - *ptr4.add(28).cast::() = (key_type5).take_handle() as i32; - *ptr4.add(32).cast::() = (modified_on5).take_handle() as i32; - *ptr4.add(36).cast::() = (public_key5).take_handle() as i32; - *ptr4.add(40).cast::() = (status5).take_handle() as i32; - *ptr4.add(44).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zone_dnssec_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zone-dnssec@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zone_dnssec_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 48]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 48], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zone_hold { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub hold: &'a Output, - pub hold_after: &'a Output, - pub include_subdomains: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("hold", &self.hold) - .field("hold-after", &self.hold_after) - .field("include-subdomains", &self.include_subdomains) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub hold: Output, - pub hold_after: Output, - pub include_subdomains: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("hold", &self.hold) - .field("hold-after", &self.hold_after) - .field("include-subdomains", &self.include_subdomains) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - hold: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - hold_after: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - include_subdomains: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - hold: hold7, - hold_after: hold_after7, - include_subdomains: include_subdomains7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (hold7).take_handle() as i32; - *ptr6.add(4).cast::() = (hold_after7).take_handle() as i32; - *ptr6.add(8).cast::() = (include_subdomains7).take_handle() - as i32; - *ptr6.add(12).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zone_hold_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zone-hold@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zone_hold_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zone_lockdown { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub configurations: &'a Output, - pub description: &'a Output, - pub paused: &'a Output, - pub priority: &'a Output, - pub urls: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("configurations", &self.configurations) - .field("description", &self.description) - .field("paused", &self.paused) - .field("priority", &self.priority) - .field("urls", &self.urls) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub configurations: Output, - pub description: Output, - pub paused: Output, - pub priority: Output, - pub urls: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("configurations", &self.configurations) - .field("description", &self.description) - .field("paused", &self.paused) - .field("priority", &self.priority) - .field("urls", &self.urls) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result7 = T::invoke( - _rt::string_lift(bytes0), - Args { - configurations: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - description: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - paused: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - priority: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - urls: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - zone_id: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - }, - ); - let ptr8 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - configurations: configurations9, - description: description9, - paused: paused9, - priority: priority9, - urls: urls9, - zone_id: zone_id9, - } = result7; - *ptr8.add(0).cast::() = (configurations9).take_handle() as i32; - *ptr8.add(4).cast::() = (description9).take_handle() as i32; - *ptr8.add(8).cast::() = (paused9).take_handle() as i32; - *ptr8.add(12).cast::() = (priority9).take_handle() as i32; - *ptr8.add(16).cast::() = (urls9).take_handle() as i32; - *ptr8.add(20).cast::() = (zone_id9).take_handle() as i32; - ptr8 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zone_lockdown_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zone-lockdown@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 - : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zone_lockdown_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod zone_settings_override { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub settings: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("settings", &self.settings) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub initial_settings: Output, - pub initial_settings_read_at: Output, - pub readonly_settings: Output, - pub settings: Output, - pub zone_id: Output, - pub zone_status: Output, - pub zone_type: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("initial-settings", &self.initial_settings) - .field( - "initial-settings-read-at", - &self.initial_settings_read_at, - ) - .field("readonly-settings", &self.readonly_settings) - .field("settings", &self.settings) - .field("zone-id", &self.zone_id) - .field("zone-status", &self.zone_status) - .field("zone-type", &self.zone_type) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - settings: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - initial_settings: initial_settings5, - initial_settings_read_at: initial_settings_read_at5, - readonly_settings: readonly_settings5, - settings: settings5, - zone_id: zone_id5, - zone_status: zone_status5, - zone_type: zone_type5, - } = result3; - *ptr4.add(0).cast::() = (initial_settings5).take_handle() - as i32; - *ptr4.add(4).cast::() = (initial_settings_read_at5) - .take_handle() as i32; - *ptr4.add(8).cast::() = (readonly_settings5).take_handle() - as i32; - *ptr4.add(12).cast::() = (settings5).take_handle() as i32; - *ptr4.add(16).cast::() = (zone_id5).take_handle() as i32; - *ptr4.add(20).cast::() = (zone_status5).take_handle() as i32; - *ptr4.add(24).cast::() = (zone_type5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_zone_settings_override_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/zone-settings-override@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, - arg2 : i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_zone_settings_override_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_access_application { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub domain: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("domain", &self.domain) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub aud: Output, - pub domain: Output, - pub id: Output, - pub name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("aud", &self.aud) - .field("domain", &self.domain) - .field("id", &self.id) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let handle3; - let result4 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - domain: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle3 - }, - }); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - aud: aud6, - domain: domain6, - id: id6, - name: name6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (aud6).take_handle() as i32; - *ptr5.add(8).cast::() = (domain6).take_handle() as i32; - *ptr5.add(12).cast::() = (id6).take_handle() as i32; - *ptr5.add(16).cast::() = (name6).take_handle() as i32; - *ptr5.add(20).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_access_application_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-access-application@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_access_application_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_access_identity_provider { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub id: Output, - pub name: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("id", &self.id) - .field("name", &self.name) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let result3 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - name: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - }); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - id: id5, - name: name5, - type_: type_5, - zone_id: zone_id5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (id5).take_handle() as i32; - *ptr4.add(8).cast::() = (name5).take_handle() as i32; - *ptr4.add(12).cast::() = (type_5).take_handle() as i32; - *ptr4.add(16).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_access_identity_provider_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-access-identity-provider@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_access_identity_provider_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_account_roles { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub id: Output, - pub roles: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("id", &self.id) - .field("roles", &self.roles) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id3, id: id3, roles: roles3 } = result1; - *ptr2.add(0).cast::() = (account_id3).take_handle() as i32; - *ptr2.add(4).cast::() = (id3).take_handle() as i32; - *ptr2.add(8).cast::() = (roles3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_account_roles_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-account-roles@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_account_roles_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_accounts { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("name", &self.name).finish() - } - } - pub struct Res { - pub accounts: Output, - pub id: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("accounts", &self.accounts) - .field("id", &self.id) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - name: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { accounts: accounts3, id: id3, name: name3 } = result1; - *ptr2.add(0).cast::() = (accounts3).take_handle() as i32; - *ptr2.add(4).cast::() = (id3).take_handle() as i32; - *ptr2.add(8).cast::() = (name3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_accounts_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-accounts@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_accounts_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_api_token_permission_groups { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Res { - pub account: Output, - pub id: Output, - pub permissions: Output, - pub r2: Output, - pub user: Output, - pub zone: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account", &self.account) - .field("id", &self.id) - .field("permissions", &self.permissions) - .field("r2", &self.r2) - .field("user", &self.user) - .field("zone", &self.zone) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi() -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let result0 = T::invoke(); - let ptr1 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account: account2, - id: id2, - permissions: permissions2, - r2: r22, - user: user2, - zone: zone2, - } = result0; - *ptr1.add(0).cast::() = (account2).take_handle() as i32; - *ptr1.add(4).cast::() = (id2).take_handle() as i32; - *ptr1.add(8).cast::() = (permissions2).take_handle() as i32; - *ptr1.add(12).cast::() = (r22).take_handle() as i32; - *ptr1.add(16).cast::() = (user2).take_handle() as i32; - *ptr1.add(20).cast::() = (zone2).take_handle() as i32; - ptr1 - } - pub trait Guest { - fn invoke() -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_api_token_permission_groups_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-api-token-permission-groups@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke() -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > () } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_api_token_permission_groups_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_dcv_delegation { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("zone-id", &self.zone_id).finish() - } - } - pub struct Res { - pub hostname: Output, - pub id: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("hostname", &self.hostname) - .field("id", &self.id) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - zone_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { hostname: hostname3, id: id3, zone_id: zone_id3 } = result1; - *ptr2.add(0).cast::() = (hostname3).take_handle() as i32; - *ptr2.add(4).cast::() = (id3).take_handle() as i32; - *ptr2.add(8).cast::() = (zone_id3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_dcv_delegation_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-dcv-delegation@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_dcv_delegation_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_device_posture_rules { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - pub type_: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("type", &self.type_) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub id: Output, - pub name: Output, - pub rules: Output, - pub type_: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("id", &self.id) - .field("name", &self.name) - .field("rules", &self.rules) - .field("type", &self.type_) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let result3 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - name: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - type_: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - }); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - id: id5, - name: name5, - rules: rules5, - type_: type_5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (id5).take_handle() as i32; - *ptr4.add(8).cast::() = (name5).take_handle() as i32; - *ptr4.add(12).cast::() = (rules5).take_handle() as i32; - *ptr4.add(16).cast::() = (type_5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_device_posture_rules_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-device-posture-rules@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_device_posture_rules_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_devices { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub devices: Output, - pub id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("devices", &self.devices) - .field("id", &self.id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id3, devices: devices3, id: id3 } = result1; - *ptr2.add(0).cast::() = (account_id3).take_handle() as i32; - *ptr2.add(4).cast::() = (devices3).take_handle() as i32; - *ptr2.add(8).cast::() = (id3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_devices_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-devices@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_devices_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_dlp_datasets { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub datasets: Output, - pub id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("datasets", &self.datasets) - .field("id", &self.id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id3, datasets: datasets3, id: id3 } = result1; - *ptr2.add(0).cast::() = (account_id3).take_handle() as i32; - *ptr2.add(4).cast::() = (datasets3).take_handle() as i32; - *ptr2.add(8).cast::() = (id3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_dlp_datasets_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-dlp-datasets@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_dlp_datasets_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_gateway_app_types { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub app_types: Output, - pub id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("app-types", &self.app_types) - .field("id", &self.id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id3, - app_types: app_types3, - id: id3, - } = result1; - *ptr2.add(0).cast::() = (account_id3).take_handle() as i32; - *ptr2.add(4).cast::() = (app_types3).take_handle() as i32; - *ptr2.add(8).cast::() = (id3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_gateway_app_types_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-gateway-app-types@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_gateway_app_types_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_gateway_categories { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub categories: Output, - pub id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("categories", &self.categories) - .field("id", &self.id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id3, - categories: categories3, - id: id3, - } = result1; - *ptr2.add(0).cast::() = (account_id3).take_handle() as i32; - *ptr2.add(4).cast::() = (categories3).take_handle() as i32; - *ptr2.add(8).cast::() = (id3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_gateway_categories_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-gateway-categories@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_gateway_categories_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_infrastructure_access_targets { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub created_after: &'a Output, - pub hostname: &'a Output, - pub hostname_contains: &'a Output, - pub ipv4: &'a Output, - pub ipv6: &'a Output, - pub modified_after: &'a Output, - pub virtual_network_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("created-after", &self.created_after) - .field("hostname", &self.hostname) - .field("hostname-contains", &self.hostname_contains) - .field("ipv4", &self.ipv4) - .field("ipv6", &self.ipv6) - .field("modified-after", &self.modified_after) - .field("virtual-network-id", &self.virtual_network_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub created_after: Output, - pub hostname: Output, - pub hostname_contains: Output, - pub id: Output, - pub ipv4: Output, - pub ipv6: Output, - pub modified_after: Output, - pub targets: Output, - pub virtual_network_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("created-after", &self.created_after) - .field("hostname", &self.hostname) - .field("hostname-contains", &self.hostname_contains) - .field("id", &self.id) - .field("ipv4", &self.ipv4) - .field("ipv6", &self.ipv6) - .field("modified-after", &self.modified_after) - .field("targets", &self.targets) - .field("virtual-network-id", &self.virtual_network_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let result8 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - created_after: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - hostname: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - hostname_contains: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle3 - }, - ipv4: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle4 - }, - ipv6: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle5 - }, - modified_after: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle6 - }, - virtual_network_id: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle7 - }, - }); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id10, - created_after: created_after10, - hostname: hostname10, - hostname_contains: hostname_contains10, - id: id10, - ipv4: ipv410, - ipv6: ipv610, - modified_after: modified_after10, - targets: targets10, - virtual_network_id: virtual_network_id10, - } = result8; - *ptr9.add(0).cast::() = (account_id10).take_handle() as i32; - *ptr9.add(4).cast::() = (created_after10).take_handle() as i32; - *ptr9.add(8).cast::() = (hostname10).take_handle() as i32; - *ptr9.add(12).cast::() = (hostname_contains10).take_handle() - as i32; - *ptr9.add(16).cast::() = (id10).take_handle() as i32; - *ptr9.add(20).cast::() = (ipv410).take_handle() as i32; - *ptr9.add(24).cast::() = (ipv610).take_handle() as i32; - *ptr9.add(28).cast::() = (modified_after10).take_handle() - as i32; - *ptr9.add(32).cast::() = (targets10).take_handle() as i32; - *ptr9.add(36).cast::() = (virtual_network_id10).take_handle() - as i32; - ptr9 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_infrastructure_access_targets_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-infrastructure-access-targets@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_infrastructure_access_targets_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_ip_ranges { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Res { - pub china_ipv4_cidr_blocks: Output, - pub china_ipv6_cidr_blocks: Output, - pub cidr_blocks: Output, - pub id: Output, - pub ipv4_cidr_blocks: Output, - pub ipv6_cidr_blocks: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field( - "china-ipv4-cidr-blocks", - &self.china_ipv4_cidr_blocks, - ) - .field( - "china-ipv6-cidr-blocks", - &self.china_ipv6_cidr_blocks, - ) - .field("cidr-blocks", &self.cidr_blocks) - .field("id", &self.id) - .field("ipv4-cidr-blocks", &self.ipv4_cidr_blocks) - .field("ipv6-cidr-blocks", &self.ipv6_cidr_blocks) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi() -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let result0 = T::invoke(); - let ptr1 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - china_ipv4_cidr_blocks: china_ipv4_cidr_blocks2, - china_ipv6_cidr_blocks: china_ipv6_cidr_blocks2, - cidr_blocks: cidr_blocks2, - id: id2, - ipv4_cidr_blocks: ipv4_cidr_blocks2, - ipv6_cidr_blocks: ipv6_cidr_blocks2, - } = result0; - *ptr1.add(0).cast::() = (china_ipv4_cidr_blocks2).take_handle() - as i32; - *ptr1.add(4).cast::() = (china_ipv6_cidr_blocks2).take_handle() - as i32; - *ptr1.add(8).cast::() = (cidr_blocks2).take_handle() as i32; - *ptr1.add(12).cast::() = (id2).take_handle() as i32; - *ptr1.add(16).cast::() = (ipv4_cidr_blocks2).take_handle() - as i32; - *ptr1.add(20).cast::() = (ipv6_cidr_blocks2).take_handle() - as i32; - ptr1 - } - pub trait Guest { - fn invoke() -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_ip_ranges_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-ip-ranges@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke() -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > () } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_ip_ranges_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_list { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub description: Output, - pub id: Output, - pub kind: Output, - pub name: Output, - pub numitems: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("description", &self.description) - .field("id", &self.id) - .field("kind", &self.kind) - .field("name", &self.name) - .field("numitems", &self.numitems) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let result2 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - name: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - }); - let ptr3 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id4, - description: description4, - id: id4, - kind: kind4, - name: name4, - numitems: numitems4, - } = result2; - *ptr3.add(0).cast::() = (account_id4).take_handle() as i32; - *ptr3.add(4).cast::() = (description4).take_handle() as i32; - *ptr3.add(8).cast::() = (id4).take_handle() as i32; - *ptr3.add(12).cast::() = (kind4).take_handle() as i32; - *ptr3.add(16).cast::() = (name4).take_handle() as i32; - *ptr3.add(20).cast::() = (numitems4).take_handle() as i32; - ptr3 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_list_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-list@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32, arg1 : i32,) -> * mut u8 - { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1) } - }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_list_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_lists { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub id: Output, - pub lists: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("id", &self.id) - .field("lists", &self.lists) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { account_id: account_id3, id: id3, lists: lists3 } = result1; - *ptr2.add(0).cast::() = (account_id3).take_handle() as i32; - *ptr2.add(4).cast::() = (id3).take_handle() as i32; - *ptr2.add(8).cast::() = (lists3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_lists_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-lists@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_lists_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_load_balancer_pools { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub filter: &'a Output, - pub pools: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("filter", &self.filter) - .field("pools", &self.pools) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub filter: Output, - pub id: Output, - pub pools: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("filter", &self.filter) - .field("id", &self.id) - .field("pools", &self.pools) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let result3 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - filter: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - pools: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - }); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - filter: filter5, - id: id5, - pools: pools5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (filter5).take_handle() as i32; - *ptr4.add(8).cast::() = (id5).take_handle() as i32; - *ptr4.add(12).cast::() = (pools5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_load_balancer_pools_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-load-balancer-pools@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_load_balancer_pools_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_origin_ca_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("id", &self.id).finish() - } - } - pub struct Res { - pub certificate: Output, - pub expires_on: Output, - pub hostnames: Output, - pub id: Output, - pub request_type: Output, - pub revoked_at: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("certificate", &self.certificate) - .field("expires-on", &self.expires_on) - .field("hostnames", &self.hostnames) - .field("id", &self.id) - .field("request-type", &self.request_type) - .field("revoked-at", &self.revoked_at) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - certificate: certificate3, - expires_on: expires_on3, - hostnames: hostnames3, - id: id3, - request_type: request_type3, - revoked_at: revoked_at3, - } = result1; - *ptr2.add(0).cast::() = (certificate3).take_handle() as i32; - *ptr2.add(4).cast::() = (expires_on3).take_handle() as i32; - *ptr2.add(8).cast::() = (hostnames3).take_handle() as i32; - *ptr2.add(12).cast::() = (id3).take_handle() as i32; - *ptr2.add(16).cast::() = (request_type3).take_handle() as i32; - *ptr2.add(20).cast::() = (revoked_at3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_origin_ca_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-origin-ca-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_origin_ca_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_origin_ca_root_certificate { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub algorithm: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("algorithm", &self.algorithm) - .finish() - } - } - pub struct Res { - pub algorithm: Output, - pub cert_pem: Output, - pub id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("algorithm", &self.algorithm) - .field("cert-pem", &self.cert_pem) - .field("id", &self.id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - algorithm: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { algorithm: algorithm3, cert_pem: cert_pem3, id: id3 } = result1; - *ptr2.add(0).cast::() = (algorithm3).take_handle() as i32; - *ptr2.add(4).cast::() = (cert_pem3).take_handle() as i32; - *ptr2.add(8).cast::() = (id3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_origin_ca_root_certificate_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-origin-ca-root-certificate@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_origin_ca_root_certificate_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_record { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub content: &'a Output, - pub hostname: &'a Output, - pub priority: &'a Output, - pub type_: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("content", &self.content) - .field("hostname", &self.hostname) - .field("priority", &self.priority) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub content: Output, - pub hostname: Output, - pub id: Output, - pub priority: Output, - pub proxiable: Output, - pub proxied: Output, - pub ttl: Output, - pub type_: Output, - pub value: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("content", &self.content) - .field("hostname", &self.hostname) - .field("id", &self.id) - .field("priority", &self.priority) - .field("proxiable", &self.proxiable) - .field("proxied", &self.proxied) - .field("ttl", &self.ttl) - .field("type", &self.type_) - .field("value", &self.value) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let handle3; - let handle4; - let result5 = T::invoke(Args { - content: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - hostname: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - priority: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - type_: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle3 - }, - zone_id: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle4 - }, - }); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - content: content7, - hostname: hostname7, - id: id7, - priority: priority7, - proxiable: proxiable7, - proxied: proxied7, - ttl: ttl7, - type_: type_7, - value: value7, - zone_id: zone_id7, - } = result5; - *ptr6.add(0).cast::() = (content7).take_handle() as i32; - *ptr6.add(4).cast::() = (hostname7).take_handle() as i32; - *ptr6.add(8).cast::() = (id7).take_handle() as i32; - *ptr6.add(12).cast::() = (priority7).take_handle() as i32; - *ptr6.add(16).cast::() = (proxiable7).take_handle() as i32; - *ptr6.add(20).cast::() = (proxied7).take_handle() as i32; - *ptr6.add(24).cast::() = (ttl7).take_handle() as i32; - *ptr6.add(28).cast::() = (type_7).take_handle() as i32; - *ptr6.add(32).cast::() = (value7).take_handle() as i32; - *ptr6.add(36).cast::() = (zone_id7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_record_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-record@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : i32, - arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_record_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_rulesets { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub filter: &'a Output, - pub include_rules: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("filter", &self.filter) - .field("include-rules", &self.include_rules) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub filter: Output, - pub id: Output, - pub include_rules: Output, - pub rulesets: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("filter", &self.filter) - .field("id", &self.id) - .field("include-rules", &self.include_rules) - .field("rulesets", &self.rulesets) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let handle3; - let result4 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - filter: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - include_rules: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle3 - }, - }); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - filter: filter6, - id: id6, - include_rules: include_rules6, - rulesets: rulesets6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (filter6).take_handle() as i32; - *ptr5.add(8).cast::() = (id6).take_handle() as i32; - *ptr5.add(12).cast::() = (include_rules6).take_handle() as i32; - *ptr5.add(16).cast::() = (rulesets6).take_handle() as i32; - *ptr5.add(20).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_rulesets_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-rulesets@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : i32, - arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_rulesets_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_tunnel { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub is_deleted: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("is-deleted", &self.is_deleted) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub id: Output, - pub is_deleted: Output, - pub name: Output, - pub remote_config: Output, - pub status: Output, - pub tunnel_type: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("id", &self.id) - .field("is-deleted", &self.is_deleted) - .field("name", &self.name) - .field("remote-config", &self.remote_config) - .field("status", &self.status) - .field("tunnel-type", &self.tunnel_type) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let result3 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - is_deleted: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - }); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - id: id5, - is_deleted: is_deleted5, - name: name5, - remote_config: remote_config5, - status: status5, - tunnel_type: tunnel_type5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (id5).take_handle() as i32; - *ptr4.add(8).cast::() = (is_deleted5).take_handle() as i32; - *ptr4.add(12).cast::() = (name5).take_handle() as i32; - *ptr4.add(16).cast::() = (remote_config5).take_handle() as i32; - *ptr4.add(20).cast::() = (status5).take_handle() as i32; - *ptr4.add(24).cast::() = (tunnel_type5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_tunnel_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-tunnel@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_tunnel_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_tunnel_virtual_network { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub comment: Output, - pub id: Output, - pub is_default: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("id", &self.id) - .field("is-default", &self.is_default) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let result2 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - name: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - }); - let ptr3 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id4, - comment: comment4, - id: id4, - is_default: is_default4, - name: name4, - } = result2; - *ptr3.add(0).cast::() = (account_id4).take_handle() as i32; - *ptr3.add(4).cast::() = (comment4).take_handle() as i32; - *ptr3.add(8).cast::() = (id4).take_handle() as i32; - *ptr3.add(12).cast::() = (is_default4).take_handle() as i32; - *ptr3.add(16).cast::() = (name4).take_handle() as i32; - ptr3 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-tunnel-virtual-network@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_user { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Res { - pub email: Output, - pub id: Output, - pub username: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("email", &self.email) - .field("id", &self.id) - .field("username", &self.username) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi() -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let result0 = T::invoke(); - let ptr1 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { email: email2, id: id2, username: username2 } = result0; - *ptr1.add(0).cast::() = (email2).take_handle() as i32; - *ptr1.add(4).cast::() = (id2).take_handle() as i32; - *ptr1.add(8).cast::() = (username2).take_handle() as i32; - ptr1 - } - pub trait Guest { - fn invoke() -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_user_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-user@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke() -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > () } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_user_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zero_trust_access_application { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub domain: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("domain", &self.domain) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub aud: Output, - pub domain: Output, - pub id: Output, - pub name: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("aud", &self.aud) - .field("domain", &self.domain) - .field("id", &self.id) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let handle3; - let result4 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - domain: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - zone_id: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle3 - }, - }); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id6, - aud: aud6, - domain: domain6, - id: id6, - name: name6, - zone_id: zone_id6, - } = result4; - *ptr5.add(0).cast::() = (account_id6).take_handle() as i32; - *ptr5.add(4).cast::() = (aud6).take_handle() as i32; - *ptr5.add(8).cast::() = (domain6).take_handle() as i32; - *ptr5.add(12).cast::() = (id6).take_handle() as i32; - *ptr5.add(16).cast::() = (name6).take_handle() as i32; - *ptr5.add(20).cast::() = (zone_id6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zero_trust_access_application_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zero-trust-access-application@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zero_trust_access_application_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 24]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 24], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zero_trust_access_identity_provider { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub id: Output, - pub name: Output, - pub type_: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("id", &self.id) - .field("name", &self.name) - .field("type", &self.type_) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let result3 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - name: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - }); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - id: id5, - name: name5, - type_: type_5, - zone_id: zone_id5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (id5).take_handle() as i32; - *ptr4.add(8).cast::() = (name5).take_handle() as i32; - *ptr4.add(12).cast::() = (type_5).take_handle() as i32; - *ptr4.add(16).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zero_trust_access_identity_provider_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zero-trust-access-identity-provider@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zero_trust_access_identity_provider_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zero_trust_infrastructure_access_targets { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub created_after: &'a Output, - pub hostname: &'a Output, - pub hostname_contains: &'a Output, - pub ipv4: &'a Output, - pub ipv6: &'a Output, - pub modified_after: &'a Output, - pub virtual_network_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("created-after", &self.created_after) - .field("hostname", &self.hostname) - .field("hostname-contains", &self.hostname_contains) - .field("ipv4", &self.ipv4) - .field("ipv6", &self.ipv6) - .field("modified-after", &self.modified_after) - .field("virtual-network-id", &self.virtual_network_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub created_after: Output, - pub hostname: Output, - pub hostname_contains: Output, - pub id: Output, - pub ipv4: Output, - pub ipv6: Output, - pub modified_after: Output, - pub targets: Output, - pub virtual_network_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("created-after", &self.created_after) - .field("hostname", &self.hostname) - .field("hostname-contains", &self.hostname_contains) - .field("id", &self.id) - .field("ipv4", &self.ipv4) - .field("ipv6", &self.ipv6) - .field("modified-after", &self.modified_after) - .field("targets", &self.targets) - .field("virtual-network-id", &self.virtual_network_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let result8 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - created_after: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - hostname: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - hostname_contains: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle3 - }, - ipv4: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle4 - }, - ipv6: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle5 - }, - modified_after: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle6 - }, - virtual_network_id: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle7 - }, - }); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id10, - created_after: created_after10, - hostname: hostname10, - hostname_contains: hostname_contains10, - id: id10, - ipv4: ipv410, - ipv6: ipv610, - modified_after: modified_after10, - targets: targets10, - virtual_network_id: virtual_network_id10, - } = result8; - *ptr9.add(0).cast::() = (account_id10).take_handle() as i32; - *ptr9.add(4).cast::() = (created_after10).take_handle() as i32; - *ptr9.add(8).cast::() = (hostname10).take_handle() as i32; - *ptr9.add(12).cast::() = (hostname_contains10).take_handle() - as i32; - *ptr9.add(16).cast::() = (id10).take_handle() as i32; - *ptr9.add(20).cast::() = (ipv410).take_handle() as i32; - *ptr9.add(24).cast::() = (ipv610).take_handle() as i32; - *ptr9.add(28).cast::() = (modified_after10).take_handle() - as i32; - *ptr9.add(32).cast::() = (targets10).take_handle() as i32; - *ptr9.add(36).cast::() = (virtual_network_id10).take_handle() - as i32; - ptr9 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zero_trust_infrastructure_access_targets_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zero-trust-infrastructure-access-targets@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zero_trust_infrastructure_access_targets_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zero_trust_tunnel_cloudflared { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub is_deleted: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("is-deleted", &self.is_deleted) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub id: Output, - pub is_deleted: Output, - pub name: Output, - pub remote_config: Output, - pub status: Output, - pub tunnel_type: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("id", &self.id) - .field("is-deleted", &self.is_deleted) - .field("name", &self.name) - .field("remote-config", &self.remote_config) - .field("status", &self.status) - .field("tunnel-type", &self.tunnel_type) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let result3 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - is_deleted: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - }); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - id: id5, - is_deleted: is_deleted5, - name: name5, - remote_config: remote_config5, - status: status5, - tunnel_type: tunnel_type5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (id5).take_handle() as i32; - *ptr4.add(8).cast::() = (is_deleted5).take_handle() as i32; - *ptr4.add(12).cast::() = (name5).take_handle() as i32; - *ptr4.add(16).cast::() = (remote_config5).take_handle() as i32; - *ptr4.add(20).cast::() = (status5).take_handle() as i32; - *ptr4.add(24).cast::() = (tunnel_type5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zero_trust_tunnel_cloudflared_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zero-trust-tunnel-cloudflared@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zero_trust_tunnel_cloudflared_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zero_trust_tunnel_virtual_network { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub comment: Output, - pub id: Output, - pub is_default: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("comment", &self.comment) - .field("id", &self.id) - .field("is-default", &self.is_default) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let result2 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - name: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - }); - let ptr3 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id4, - comment: comment4, - id: id4, - is_default: is_default4, - name: name4, - } = result2; - *ptr3.add(0).cast::() = (account_id4).take_handle() as i32; - *ptr3.add(4).cast::() = (comment4).take_handle() as i32; - *ptr3.add(8).cast::() = (id4).take_handle() as i32; - *ptr3.add(12).cast::() = (is_default4).take_handle() as i32; - *ptr3.add(16).cast::() = (name4).take_handle() as i32; - ptr3 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zero_trust_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zero-trust-tunnel-virtual-network@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zero_trust_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zone { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub account_id: &'a Output, - pub name: &'a Output, - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("account-id", &self.account_id) - .field("name", &self.name) - .field("zone-id", &self.zone_id) - .finish() - } - } - pub struct Res { - pub account_id: Output, - pub id: Output, - pub name: Output, - pub name_servers: Output, - pub paused: Output, - pub plan: Output, - pub status: Output, - pub vanity_name_servers: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("account-id", &self.account_id) - .field("id", &self.id) - .field("name", &self.name) - .field("name-servers", &self.name_servers) - .field("paused", &self.paused) - .field("plan", &self.plan) - .field("status", &self.status) - .field("vanity-name-servers", &self.vanity_name_servers) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let result3 = T::invoke(Args { - account_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - name: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - zone_id: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - }); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - account_id: account_id5, - id: id5, - name: name5, - name_servers: name_servers5, - paused: paused5, - plan: plan5, - status: status5, - vanity_name_servers: vanity_name_servers5, - zone_id: zone_id5, - } = result3; - *ptr4.add(0).cast::() = (account_id5).take_handle() as i32; - *ptr4.add(4).cast::() = (id5).take_handle() as i32; - *ptr4.add(8).cast::() = (name5).take_handle() as i32; - *ptr4.add(12).cast::() = (name_servers5).take_handle() as i32; - *ptr4.add(16).cast::() = (paused5).take_handle() as i32; - *ptr4.add(20).cast::() = (plan5).take_handle() as i32; - *ptr4.add(24).cast::() = (status5).take_handle() as i32; - *ptr4.add(28).cast::() = (vanity_name_servers5).take_handle() - as i32; - *ptr4.add(32).cast::() = (zone_id5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zone_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zone@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : i32,) - -> * mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > - (arg0, arg1, arg2) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zone_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 36]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 36], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zone_cache_reserve { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("zone-id", &self.zone_id).finish() - } - } - pub struct Res { - pub enabled: Output, - pub id: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("enabled", &self.enabled) - .field("id", &self.id) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - zone_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { enabled: enabled3, id: id3, zone_id: zone_id3 } = result1; - *ptr2.add(0).cast::() = (enabled3).take_handle() as i32; - *ptr2.add(4).cast::() = (id3).take_handle() as i32; - *ptr2.add(8).cast::() = (zone_id3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zone_cache_reserve_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zone-cache-reserve@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zone_cache_reserve_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zone_dnssec { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub zone_id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("zone-id", &self.zone_id).finish() - } - } - pub struct Res { - pub algorithm: Output, - pub digest: Output, - pub digest_algorithm: Output, - pub digest_type: Output, - pub ds: Output, - pub flags: Output, - pub id: Output, - pub key_tag: Output, - pub key_type: Output, - pub public_key: Output, - pub status: Output, - pub zone_id: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("algorithm", &self.algorithm) - .field("digest", &self.digest) - .field("digest-algorithm", &self.digest_algorithm) - .field("digest-type", &self.digest_type) - .field("ds", &self.ds) - .field("flags", &self.flags) - .field("id", &self.id) - .field("key-tag", &self.key_tag) - .field("key-type", &self.key_type) - .field("public-key", &self.public_key) - .field("status", &self.status) - .field("zone-id", &self.zone_id) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - zone_id: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - algorithm: algorithm3, - digest: digest3, - digest_algorithm: digest_algorithm3, - digest_type: digest_type3, - ds: ds3, - flags: flags3, - id: id3, - key_tag: key_tag3, - key_type: key_type3, - public_key: public_key3, - status: status3, - zone_id: zone_id3, - } = result1; - *ptr2.add(0).cast::() = (algorithm3).take_handle() as i32; - *ptr2.add(4).cast::() = (digest3).take_handle() as i32; - *ptr2.add(8).cast::() = (digest_algorithm3).take_handle() - as i32; - *ptr2.add(12).cast::() = (digest_type3).take_handle() as i32; - *ptr2.add(16).cast::() = (ds3).take_handle() as i32; - *ptr2.add(20).cast::() = (flags3).take_handle() as i32; - *ptr2.add(24).cast::() = (id3).take_handle() as i32; - *ptr2.add(28).cast::() = (key_tag3).take_handle() as i32; - *ptr2.add(32).cast::() = (key_type3).take_handle() as i32; - *ptr2.add(36).cast::() = (public_key3).take_handle() as i32; - *ptr2.add(40).cast::() = (status3).take_handle() as i32; - *ptr2.add(44).cast::() = (zone_id3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zone_dnssec_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zone-dnssec@5.43.1--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zone_dnssec_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 48]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 48], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_zones { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub filter: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("filter", &self.filter).finish() - } - } - pub struct Res { - pub filter: Output, - pub id: Output, - pub zones: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("filter", &self.filter) - .field("id", &self.id) - .field("zones", &self.zones) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - filter: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { filter: filter3, id: id3, zones: zones3 } = result1; - *ptr2.add(0).cast::() = (filter3).take_handle() as i32; - *ptr2.add(4).cast::() = (id3).take_handle() as i32; - *ptr2.add(8).cast::() = (zones3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_cloudflare_get_zones_5_43_1_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:cloudflare/get-zones@5.43.1--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_cloudflare_get_zones_5_43_1_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - } - } -} -mod _rt { - use core::fmt; - use core::marker; - use core::sync::atomic::{AtomicU32, Ordering::Relaxed}; - /// A type which represents a component model resource, either imported or - /// exported into this component. - /// - /// This is a low-level wrapper which handles the lifetime of the resource - /// (namely this has a destructor). The `T` provided defines the component model - /// intrinsics that this wrapper uses. - /// - /// One of the chief purposes of this type is to provide `Deref` implementations - /// to access the underlying data when it is owned. - /// - /// This type is primarily used in generated code for exported and imported - /// resources. - #[repr(transparent)] - pub struct Resource { - handle: AtomicU32, - _marker: marker::PhantomData, - } - /// A trait which all wasm resources implement, namely providing the ability to - /// drop a resource. - /// - /// This generally is implemented by generated code, not user-facing code. - #[allow(clippy::missing_safety_doc)] - pub unsafe trait WasmResource { - /// Invokes the `[resource-drop]...` intrinsic. - unsafe fn drop(handle: u32); - } - impl Resource { - #[doc(hidden)] - pub unsafe fn from_handle(handle: u32) -> Self { - debug_assert!(handle != u32::MAX); - Self { - handle: AtomicU32::new(handle), - _marker: marker::PhantomData, - } - } - /// Takes ownership of the handle owned by `resource`. - /// - /// Note that this ideally would be `into_handle` taking `Resource` by - /// ownership. The code generator does not enable that in all situations, - /// unfortunately, so this is provided instead. - /// - /// Also note that `take_handle` is in theory only ever called on values - /// owned by a generated function. For example a generated function might - /// take `Resource` as an argument but then call `take_handle` on a - /// reference to that argument. In that sense the dynamic nature of - /// `take_handle` should only be exposed internally to generated code, not - /// to user code. - #[doc(hidden)] - pub fn take_handle(resource: &Resource) -> u32 { - resource.handle.swap(u32::MAX, Relaxed) - } - #[doc(hidden)] - pub fn handle(resource: &Resource) -> u32 { - resource.handle.load(Relaxed) - } - } - impl fmt::Debug for Resource { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.debug_struct("Resource").field("handle", &self.handle).finish() - } - } - impl Drop for Resource { - fn drop(&mut self) { - unsafe { - match self.handle.load(Relaxed) { - u32::MAX => {} - other => T::drop(other), - } - } - } - } - pub use alloc_crate::alloc; - pub use alloc_crate::string::String; - pub use alloc_crate::vec::Vec; - pub unsafe fn string_lift(bytes: Vec) -> String { - if cfg!(debug_assertions) { - String::from_utf8(bytes).unwrap() - } else { - String::from_utf8_unchecked(bytes) - } - } - pub unsafe fn cabi_dealloc(ptr: *mut u8, size: usize, align: usize) { - if size == 0 { - return; - } - let layout = alloc::Layout::from_size_align_unchecked(size, align); - alloc::dealloc(ptr, layout); - } - #[cfg(target_arch = "wasm32")] - pub fn run_ctors_once() { - wit_bindgen_rt::run_ctors_once(); - } - extern crate alloc as alloc_crate; -} -/// Generates `#[no_mangle]` functions to export the specified type as the -/// root implementation of all generated traits. -/// -/// For more information see the documentation of `wit_bindgen::generate!`. -/// -/// ```rust -/// # macro_rules! export{ ($($t:tt)*) => (); } -/// # trait Guest {} -/// struct MyType; -/// -/// impl Guest for MyType { -/// // ... -/// } -/// -/// export!(MyType); -/// ``` -#[allow(unused_macros)] -#[doc(hidden)] -macro_rules! __export_cloudflare_pulumi_impl { - ($ty:ident) => { - self::export!($ty with_types_in self); - }; - ($ty:ident with_types_in $($path_to_types_root:tt)*) => { - $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_application::__export_pulumi_cloudflare_access_application_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_application); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_ca_certificate::__export_pulumi_cloudflare_access_ca_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_ca_certificate); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_custom_page::__export_pulumi_cloudflare_access_custom_page_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_custom_page); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_group::__export_pulumi_cloudflare_access_group_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_group); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_identity_provider::__export_pulumi_cloudflare_access_identity_provider_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_identity_provider); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_keys_configuration::__export_pulumi_cloudflare_access_keys_configuration_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_keys_configuration); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_mutual_tls_certificate::__export_pulumi_cloudflare_access_mutual_tls_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_mutual_tls_certificate); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_mutual_tls_hostname_settings::__export_pulumi_cloudflare_access_mutual_tls_hostname_settings_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_mutual_tls_hostname_settings); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_organization::__export_pulumi_cloudflare_access_organization_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_organization); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_policy::__export_pulumi_cloudflare_access_policy_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_policy); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_rule::__export_pulumi_cloudflare_access_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_rule); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_service_token::__export_pulumi_cloudflare_access_service_token_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_service_token); $($path_to_types_root)*:: - exports::pulumi::cloudflare::access_tag::__export_pulumi_cloudflare_access_tag_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::access_tag); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::account::__export_pulumi_cloudflare_account_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::account); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::account_member::__export_pulumi_cloudflare_account_member_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::account_member); $($path_to_types_root)*:: - exports::pulumi::cloudflare::address_map::__export_pulumi_cloudflare_address_map_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::address_map); $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield::__export_pulumi_cloudflare_api_shield_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::api_shield); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield_operation::__export_pulumi_cloudflare_api_shield_operation_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield_operation); $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield_operation_schema_validation_settings::__export_pulumi_cloudflare_api_shield_operation_schema_validation_settings_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield_operation_schema_validation_settings); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield_schema::__export_pulumi_cloudflare_api_shield_schema_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield_schema); $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield_schema_validation_settings::__export_pulumi_cloudflare_api_shield_schema_validation_settings_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_shield_schema_validation_settings); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::api_token::__export_pulumi_cloudflare_api_token_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::api_token); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::argo::__export_pulumi_cloudflare_argo_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::argo); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::authenticated_origin_pulls::__export_pulumi_cloudflare_authenticated_origin_pulls_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::authenticated_origin_pulls); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::authenticated_origin_pulls_certificate::__export_pulumi_cloudflare_authenticated_origin_pulls_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::authenticated_origin_pulls_certificate); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::bot_management::__export_pulumi_cloudflare_bot_management_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::bot_management); $($path_to_types_root)*:: - exports::pulumi::cloudflare::byo_ip_prefix::__export_pulumi_cloudflare_byo_ip_prefix_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::byo_ip_prefix); $($path_to_types_root)*:: - exports::pulumi::cloudflare::certificate_pack::__export_pulumi_cloudflare_certificate_pack_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::certificate_pack); $($path_to_types_root)*:: - exports::pulumi::cloudflare::cloud_connector_rules::__export_pulumi_cloudflare_cloud_connector_rules_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::cloud_connector_rules); $($path_to_types_root)*:: - exports::pulumi::cloudflare::custom_hostname::__export_pulumi_cloudflare_custom_hostname_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::custom_hostname); $($path_to_types_root)*:: - exports::pulumi::cloudflare::custom_hostname_fallback_origin::__export_pulumi_cloudflare_custom_hostname_fallback_origin_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::custom_hostname_fallback_origin); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::custom_pages::__export_pulumi_cloudflare_custom_pages_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::custom_pages); $($path_to_types_root)*:: - exports::pulumi::cloudflare::custom_ssl::__export_pulumi_cloudflare_custom_ssl_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::custom_ssl); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::d1_database::__export_pulumi_cloudflare_d1_database_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::d1_database); $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_dex_test::__export_pulumi_cloudflare_device_dex_test_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_dex_test); $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_managed_networks::__export_pulumi_cloudflare_device_managed_networks_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_managed_networks); $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_policy_certificates::__export_pulumi_cloudflare_device_policy_certificates_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_policy_certificates); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_posture_integration::__export_pulumi_cloudflare_device_posture_integration_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_posture_integration); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_posture_rule::__export_pulumi_cloudflare_device_posture_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_posture_rule); $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_settings_policy::__export_pulumi_cloudflare_device_settings_policy_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::device_settings_policy); $($path_to_types_root)*:: - exports::pulumi::cloudflare::dlp_profile::__export_pulumi_cloudflare_dlp_profile_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::dlp_profile); $($path_to_types_root)*:: - exports::pulumi::cloudflare::email_routing_address::__export_pulumi_cloudflare_email_routing_address_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::email_routing_address); $($path_to_types_root)*:: - exports::pulumi::cloudflare::email_routing_catch_all::__export_pulumi_cloudflare_email_routing_catch_all_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::email_routing_catch_all); $($path_to_types_root)*:: - exports::pulumi::cloudflare::email_routing_rule::__export_pulumi_cloudflare_email_routing_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::email_routing_rule); $($path_to_types_root)*:: - exports::pulumi::cloudflare::email_routing_settings::__export_pulumi_cloudflare_email_routing_settings_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::email_routing_settings); $($path_to_types_root)*:: - exports::pulumi::cloudflare::fallback_domain::__export_pulumi_cloudflare_fallback_domain_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::fallback_domain); $($path_to_types_root)*:: - exports::pulumi::cloudflare::filter::__export_pulumi_cloudflare_filter_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::filter); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::firewall_rule::__export_pulumi_cloudflare_firewall_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::firewall_rule); $($path_to_types_root)*:: - exports::pulumi::cloudflare::gre_tunnel::__export_pulumi_cloudflare_gre_tunnel_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::gre_tunnel); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::healthcheck::__export_pulumi_cloudflare_healthcheck_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::healthcheck); $($path_to_types_root)*:: - exports::pulumi::cloudflare::hostname_tls_setting::__export_pulumi_cloudflare_hostname_tls_setting_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::hostname_tls_setting); $($path_to_types_root)*:: - exports::pulumi::cloudflare::hostname_tls_setting_ciphers::__export_pulumi_cloudflare_hostname_tls_setting_ciphers_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::hostname_tls_setting_ciphers); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::hyperdrive_config::__export_pulumi_cloudflare_hyperdrive_config_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::hyperdrive_config); $($path_to_types_root)*:: - exports::pulumi::cloudflare::infrastructure_access_target::__export_pulumi_cloudflare_infrastructure_access_target_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::infrastructure_access_target); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::ipsec_tunnel::__export_pulumi_cloudflare_ipsec_tunnel_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::ipsec_tunnel); $($path_to_types_root)*:: - exports::pulumi::cloudflare::keyless_certificate::__export_pulumi_cloudflare_keyless_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::keyless_certificate); $($path_to_types_root)*:: - exports::pulumi::cloudflare::list::__export_pulumi_cloudflare_list_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::list); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::list_item::__export_pulumi_cloudflare_list_item_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::list_item); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::load_balancer::__export_pulumi_cloudflare_load_balancer_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::load_balancer); $($path_to_types_root)*:: - exports::pulumi::cloudflare::load_balancer_monitor::__export_pulumi_cloudflare_load_balancer_monitor_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::load_balancer_monitor); $($path_to_types_root)*:: - exports::pulumi::cloudflare::load_balancer_pool::__export_pulumi_cloudflare_load_balancer_pool_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::load_balancer_pool); $($path_to_types_root)*:: - exports::pulumi::cloudflare::logpull_retention::__export_pulumi_cloudflare_logpull_retention_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::logpull_retention); $($path_to_types_root)*:: - exports::pulumi::cloudflare::logpush_job::__export_pulumi_cloudflare_logpush_job_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::logpush_job); $($path_to_types_root)*:: - exports::pulumi::cloudflare::logpush_ownership_challenge::__export_pulumi_cloudflare_logpush_ownership_challenge_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::logpush_ownership_challenge); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::magic_firewall_ruleset::__export_pulumi_cloudflare_magic_firewall_ruleset_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::magic_firewall_ruleset); $($path_to_types_root)*:: - exports::pulumi::cloudflare::magic_wan_gre_tunnel::__export_pulumi_cloudflare_magic_wan_gre_tunnel_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::magic_wan_gre_tunnel); $($path_to_types_root)*:: - exports::pulumi::cloudflare::magic_wan_ipsec_tunnel::__export_pulumi_cloudflare_magic_wan_ipsec_tunnel_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::magic_wan_ipsec_tunnel); $($path_to_types_root)*:: - exports::pulumi::cloudflare::magic_wan_static_route::__export_pulumi_cloudflare_magic_wan_static_route_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::magic_wan_static_route); $($path_to_types_root)*:: - exports::pulumi::cloudflare::managed_headers::__export_pulumi_cloudflare_managed_headers_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::managed_headers); $($path_to_types_root)*:: - exports::pulumi::cloudflare::mtls_certificate::__export_pulumi_cloudflare_mtls_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::mtls_certificate); $($path_to_types_root)*:: - exports::pulumi::cloudflare::notification_policy::__export_pulumi_cloudflare_notification_policy_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::notification_policy); $($path_to_types_root)*:: - exports::pulumi::cloudflare::notification_policy_webhooks::__export_pulumi_cloudflare_notification_policy_webhooks_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::notification_policy_webhooks); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::observatory_scheduled_test::__export_pulumi_cloudflare_observatory_scheduled_test_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::observatory_scheduled_test); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::origin_ca_certificate::__export_pulumi_cloudflare_origin_ca_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::origin_ca_certificate); $($path_to_types_root)*:: - exports::pulumi::cloudflare::page_rule::__export_pulumi_cloudflare_page_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::page_rule); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::pages_domain::__export_pulumi_cloudflare_pages_domain_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::pages_domain); $($path_to_types_root)*:: - exports::pulumi::cloudflare::pages_project::__export_pulumi_cloudflare_pages_project_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::pages_project); $($path_to_types_root)*:: - exports::pulumi::cloudflare::queue::__export_pulumi_cloudflare_queue_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::queue); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::r2_bucket::__export_pulumi_cloudflare_r2_bucket_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::r2_bucket); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::rate_limit::__export_pulumi_cloudflare_rate_limit_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::rate_limit); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::record::__export_pulumi_cloudflare_record_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::record); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::regional_hostname::__export_pulumi_cloudflare_regional_hostname_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::regional_hostname); $($path_to_types_root)*:: - exports::pulumi::cloudflare::regional_tiered_cache::__export_pulumi_cloudflare_regional_tiered_cache_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::regional_tiered_cache); $($path_to_types_root)*:: - exports::pulumi::cloudflare::risk_behavior::__export_pulumi_cloudflare_risk_behavior_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::risk_behavior); $($path_to_types_root)*:: - exports::pulumi::cloudflare::ruleset::__export_pulumi_cloudflare_ruleset_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::ruleset); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::spectrum_application::__export_pulumi_cloudflare_spectrum_application_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::spectrum_application); $($path_to_types_root)*:: - exports::pulumi::cloudflare::split_tunnel::__export_pulumi_cloudflare_split_tunnel_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::split_tunnel); $($path_to_types_root)*:: - exports::pulumi::cloudflare::static_route::__export_pulumi_cloudflare_static_route_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::static_route); $($path_to_types_root)*:: - exports::pulumi::cloudflare::teams_account::__export_pulumi_cloudflare_teams_account_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::teams_account); $($path_to_types_root)*:: - exports::pulumi::cloudflare::teams_list::__export_pulumi_cloudflare_teams_list_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::teams_list); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::teams_location::__export_pulumi_cloudflare_teams_location_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::teams_location); $($path_to_types_root)*:: - exports::pulumi::cloudflare::teams_proxy_endpoint::__export_pulumi_cloudflare_teams_proxy_endpoint_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::teams_proxy_endpoint); $($path_to_types_root)*:: - exports::pulumi::cloudflare::teams_rule::__export_pulumi_cloudflare_teams_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::teams_rule); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::tiered_cache::__export_pulumi_cloudflare_tiered_cache_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::tiered_cache); $($path_to_types_root)*:: - exports::pulumi::cloudflare::total_tls::__export_pulumi_cloudflare_total_tls_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::total_tls); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::tunnel::__export_pulumi_cloudflare_tunnel_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::tunnel); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::tunnel_config::__export_pulumi_cloudflare_tunnel_config_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::tunnel_config); $($path_to_types_root)*:: - exports::pulumi::cloudflare::tunnel_route::__export_pulumi_cloudflare_tunnel_route_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::tunnel_route); $($path_to_types_root)*:: - exports::pulumi::cloudflare::tunnel_virtual_network::__export_pulumi_cloudflare_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::tunnel_virtual_network); $($path_to_types_root)*:: - exports::pulumi::cloudflare::turnstile_widget::__export_pulumi_cloudflare_turnstile_widget_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::turnstile_widget); $($path_to_types_root)*:: - exports::pulumi::cloudflare::url_normalization_settings::__export_pulumi_cloudflare_url_normalization_settings_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::url_normalization_settings); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::user_agent_blocking_rule::__export_pulumi_cloudflare_user_agent_blocking_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::user_agent_blocking_rule); $($path_to_types_root)*:: - exports::pulumi::cloudflare::waiting_room::__export_pulumi_cloudflare_waiting_room_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::waiting_room); $($path_to_types_root)*:: - exports::pulumi::cloudflare::waiting_room_event::__export_pulumi_cloudflare_waiting_room_event_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::waiting_room_event); $($path_to_types_root)*:: - exports::pulumi::cloudflare::waiting_room_rules::__export_pulumi_cloudflare_waiting_room_rules_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::waiting_room_rules); $($path_to_types_root)*:: - exports::pulumi::cloudflare::waiting_room_settings::__export_pulumi_cloudflare_waiting_room_settings_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::waiting_room_settings); $($path_to_types_root)*:: - exports::pulumi::cloudflare::web3_hostname::__export_pulumi_cloudflare_web3_hostname_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::web3_hostname); $($path_to_types_root)*:: - exports::pulumi::cloudflare::web_analytics_rule::__export_pulumi_cloudflare_web_analytics_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::web_analytics_rule); $($path_to_types_root)*:: - exports::pulumi::cloudflare::web_analytics_site::__export_pulumi_cloudflare_web_analytics_site_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::web_analytics_site); $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_cron_trigger::__export_pulumi_cloudflare_worker_cron_trigger_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_cron_trigger); $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_domain::__export_pulumi_cloudflare_worker_domain_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_domain); $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_route::__export_pulumi_cloudflare_worker_route_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_route); $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_script::__export_pulumi_cloudflare_worker_script_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_script); $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_secret::__export_pulumi_cloudflare_worker_secret_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::worker_secret); $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_cron_trigger::__export_pulumi_cloudflare_workers_cron_trigger_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_cron_trigger); $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_domain::__export_pulumi_cloudflare_workers_domain_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_domain); $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_for_platforms_dispatch_namespace::__export_pulumi_cloudflare_workers_for_platforms_dispatch_namespace_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_for_platforms_dispatch_namespace); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_for_platforms_namespace::__export_pulumi_cloudflare_workers_for_platforms_namespace_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_for_platforms_namespace); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_kv::__export_pulumi_cloudflare_workers_kv_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::workers_kv); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_kv_namespace::__export_pulumi_cloudflare_workers_kv_namespace_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_kv_namespace); $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_route::__export_pulumi_cloudflare_workers_route_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_route); $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_script::__export_pulumi_cloudflare_workers_script_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_script); $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_secret::__export_pulumi_cloudflare_workers_secret_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::workers_secret); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_application::__export_pulumi_cloudflare_zero_trust_access_application_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_application); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_custom_page::__export_pulumi_cloudflare_zero_trust_access_custom_page_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_custom_page); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_group::__export_pulumi_cloudflare_zero_trust_access_group_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_group); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_identity_provider::__export_pulumi_cloudflare_zero_trust_access_identity_provider_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_identity_provider); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_mtls_certificate::__export_pulumi_cloudflare_zero_trust_access_mtls_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_mtls_certificate); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_mtls_hostname_settings::__export_pulumi_cloudflare_zero_trust_access_mtls_hostname_settings_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_mtls_hostname_settings); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_organization::__export_pulumi_cloudflare_zero_trust_access_organization_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_organization); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_policy::__export_pulumi_cloudflare_zero_trust_access_policy_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_policy); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_service_token::__export_pulumi_cloudflare_zero_trust_access_service_token_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_service_token); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_short_lived_certificate::__export_pulumi_cloudflare_zero_trust_access_short_lived_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_short_lived_certificate); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_tag::__export_pulumi_cloudflare_zero_trust_access_tag_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_access_tag); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_certificates::__export_pulumi_cloudflare_zero_trust_device_certificates_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_certificates); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_managed_networks::__export_pulumi_cloudflare_zero_trust_device_managed_networks_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_managed_networks); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_posture_integration::__export_pulumi_cloudflare_zero_trust_device_posture_integration_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_posture_integration); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_posture_rule::__export_pulumi_cloudflare_zero_trust_device_posture_rule_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_posture_rule); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_profiles::__export_pulumi_cloudflare_zero_trust_device_profiles_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_device_profiles); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_dex_test::__export_pulumi_cloudflare_zero_trust_dex_test_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_dex_test); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_dlp_profile::__export_pulumi_cloudflare_zero_trust_dlp_profile_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_dlp_profile); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_dns_location::__export_pulumi_cloudflare_zero_trust_dns_location_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_dns_location); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_gateway_certificate::__export_pulumi_cloudflare_zero_trust_gateway_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_gateway_certificate); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_gateway_policy::__export_pulumi_cloudflare_zero_trust_gateway_policy_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_gateway_policy); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_gateway_proxy_endpoint::__export_pulumi_cloudflare_zero_trust_gateway_proxy_endpoint_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_gateway_proxy_endpoint); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_gateway_settings::__export_pulumi_cloudflare_zero_trust_gateway_settings_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_gateway_settings); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_infrastructure_access_target::__export_pulumi_cloudflare_zero_trust_infrastructure_access_target_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_infrastructure_access_target); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_key_access_key_configuration::__export_pulumi_cloudflare_zero_trust_key_access_key_configuration_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_key_access_key_configuration); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_list::__export_pulumi_cloudflare_zero_trust_list_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_list); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_local_fallback_domain::__export_pulumi_cloudflare_zero_trust_local_fallback_domain_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_local_fallback_domain); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_risk_behavior::__export_pulumi_cloudflare_zero_trust_risk_behavior_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_risk_behavior); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_risk_score_integration::__export_pulumi_cloudflare_zero_trust_risk_score_integration_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_risk_score_integration); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_split_tunnel::__export_pulumi_cloudflare_zero_trust_split_tunnel_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_split_tunnel); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_tunnel_cloudflared::__export_pulumi_cloudflare_zero_trust_tunnel_cloudflared_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_tunnel_cloudflared); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_tunnel_cloudflared_config::__export_pulumi_cloudflare_zero_trust_tunnel_cloudflared_config_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_tunnel_cloudflared_config); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_tunnel_route::__export_pulumi_cloudflare_zero_trust_tunnel_route_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_tunnel_route); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_tunnel_virtual_network::__export_pulumi_cloudflare_zero_trust_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zero_trust_tunnel_virtual_network); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone::__export_pulumi_cloudflare_zone_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::zone); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_cache_reserve::__export_pulumi_cloudflare_zone_cache_reserve_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_cache_reserve); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_cache_variants::__export_pulumi_cloudflare_zone_cache_variants_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_cache_variants); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_dnssec::__export_pulumi_cloudflare_zone_dnssec_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_dnssec); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_hold::__export_pulumi_cloudflare_zone_hold_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::zone_hold); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_lockdown::__export_pulumi_cloudflare_zone_lockdown_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_lockdown); $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_settings_override::__export_pulumi_cloudflare_zone_settings_override_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::zone_settings_override); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_access_application::__export_pulumi_cloudflare_get_access_application_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_access_application); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_access_identity_provider::__export_pulumi_cloudflare_get_access_identity_provider_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_access_identity_provider); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_account_roles::__export_pulumi_cloudflare_get_account_roles_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_account_roles); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_accounts::__export_pulumi_cloudflare_get_accounts_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_accounts); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_api_token_permission_groups::__export_pulumi_cloudflare_get_api_token_permission_groups_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_api_token_permission_groups); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_dcv_delegation::__export_pulumi_cloudflare_get_dcv_delegation_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_dcv_delegation); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_device_posture_rules::__export_pulumi_cloudflare_get_device_posture_rules_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_device_posture_rules); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_devices::__export_pulumi_cloudflare_get_devices_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_devices); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_dlp_datasets::__export_pulumi_cloudflare_get_dlp_datasets_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_dlp_datasets); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_gateway_app_types::__export_pulumi_cloudflare_get_gateway_app_types_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_gateway_app_types); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_gateway_categories::__export_pulumi_cloudflare_get_gateway_categories_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_gateway_categories); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_infrastructure_access_targets::__export_pulumi_cloudflare_get_infrastructure_access_targets_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_infrastructure_access_targets); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_ip_ranges::__export_pulumi_cloudflare_get_ip_ranges_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_ip_ranges); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_list::__export_pulumi_cloudflare_get_list_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::get_list); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_lists::__export_pulumi_cloudflare_get_lists_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::get_lists); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_load_balancer_pools::__export_pulumi_cloudflare_get_load_balancer_pools_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_load_balancer_pools); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_origin_ca_certificate::__export_pulumi_cloudflare_get_origin_ca_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_origin_ca_certificate); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_origin_ca_root_certificate::__export_pulumi_cloudflare_get_origin_ca_root_certificate_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_origin_ca_root_certificate); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_record::__export_pulumi_cloudflare_get_record_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::get_record); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_rulesets::__export_pulumi_cloudflare_get_rulesets_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_rulesets); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_tunnel::__export_pulumi_cloudflare_get_tunnel_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::get_tunnel); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_tunnel_virtual_network::__export_pulumi_cloudflare_get_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_tunnel_virtual_network); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_user::__export_pulumi_cloudflare_get_user_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::get_user); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_access_application::__export_pulumi_cloudflare_get_zero_trust_access_application_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_access_application); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_access_identity_provider::__export_pulumi_cloudflare_get_zero_trust_access_identity_provider_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_access_identity_provider); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_infrastructure_access_targets::__export_pulumi_cloudflare_get_zero_trust_infrastructure_access_targets_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_infrastructure_access_targets); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_tunnel_cloudflared::__export_pulumi_cloudflare_get_zero_trust_tunnel_cloudflared_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_tunnel_cloudflared); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_tunnel_virtual_network::__export_pulumi_cloudflare_get_zero_trust_tunnel_virtual_network_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zero_trust_tunnel_virtual_network); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zone::__export_pulumi_cloudflare_get_zone_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::get_zone); - $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zone_cache_reserve::__export_pulumi_cloudflare_get_zone_cache_reserve_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zone_cache_reserve); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zone_dnssec::__export_pulumi_cloudflare_get_zone_dnssec_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zone_dnssec); $($path_to_types_root)*:: - exports::pulumi::cloudflare::get_zones::__export_pulumi_cloudflare_get_zones_5_43_1_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::cloudflare::get_zones); - }; -} -#[doc(inline)] -pub(crate) use __export_cloudflare_pulumi_impl as export; -#[cfg(target_arch = "wasm32")] -#[link_section = "component-type:wit-bindgen:0.35.0:pulumi:cloudflare@5.43.1--0.0.0-DEV:cloudflare-pulumi:encoded world"] -#[doc(hidden)] -pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 59642] = *b"\ -\0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xf1\xd0\x03\x01A\x02\ -\x01A\x8d\x03\x01B\x0a\x04\0\x06output\x03\x01\x01i\0\x01@\x01\x05values\0\x01\x04\ -\0\x13[constructor]output\x01\x02\x01h\0\x01@\x02\x04self\x03\x0dfunction-names\0\ -\x01\x04\0\x12[method]output.map\x01\x04\x01p\x03\x01@\x01\x07outputs\x05\0\x01\x04\ -\0\x07combine\x01\x06\x03\00component:pulumi-wasm/output-interface@0.0.0-DEV\x05\ -\0\x02\x03\0\0\x06output\x01B\x1c\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01\ -h\x01\x01r\x02\x04names\x05value\x02\x04\0\x0cobject-field\x03\0\x03\x01r\x01\x04\ -names\x04\0\x0cresult-field\x03\0\x05\x01i\x01\x01r\x02\x04names\x06output\x07\x04\ -\0\x1eregister-resource-result-field\x03\0\x08\x01p\x04\x01p\x06\x01r\x04\x04typ\ -es\x04names\x06object\x0a\x07results\x0b\x04\0\x19register-resource-request\x03\0\ -\x0c\x01p\x09\x01r\x01\x06fields\x0e\x04\0\x18register-resource-result\x03\0\x0f\ -\x01r\x02\x04names\x06output\x07\x04\0\x1cresource-invoke-result-field\x03\0\x11\ -\x01r\x03\x05tokens\x06object\x0a\x07results\x0b\x04\0\x17resource-invoke-reques\ -t\x03\0\x13\x01p\x12\x01r\x01\x06fields\x15\x04\0\x16resource-invoke-result\x03\0\ -\x16\x01@\x01\x07request\x0d\0\x10\x04\0\x08register\x01\x18\x01@\x01\x07request\ -\x14\0\x17\x04\0\x06invoke\x01\x19\x03\02component:pulumi-wasm/register-interfac\ -e@0.0.0-DEV\x05\x02\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\"\x0aaccount-id\x02\x1ballow-authenticate-via-warp\x02\x0callowed-idps\x02\ -\x15app-launcher-logo-url\x02\x14app-launcher-visible\x02\x19auto-redirect-to-id\ -entity\x02\x08bg-color\x02\x0ccors-headers\x02\x13custom-deny-message\x02\x0fcus\ -tom-deny-url\x02\x1ccustom-non-identity-deny-url\x02\x0ccustom-pages\x02\x06doma\ -in\x02\x15enable-binding-cookie\x02\x0cfooter-links\x02\x0fheader-bg-color\x02\x1a\ -http-only-cookie-attribute\x02\x13landing-page-design\x02\x08logo-url\x02\x04nam\ -e\x02\x18options-preflight-bypass\x02\x08policies\x02\x08saas-app\x02\x1asame-si\ -te-cookie-attribute\x02\x0bscim-config\x02\x13self-hosted-domains\x02\x18service\ --auth401-redirect\x02\x10session-duration\x02\x1cskip-app-launcher-login-page\x02\ -\x11skip-interstitial\x02\x04tags\x02\x10target-criterias\x02\x04type\x02\x07zon\ -e-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r#\x0aaccount-id\x05\x1ballow-authe\ -nticate-via-warp\x05\x0callowed-idps\x05\x15app-launcher-logo-url\x05\x14app-lau\ -ncher-visible\x05\x03aud\x05\x19auto-redirect-to-identity\x05\x08bg-color\x05\x0c\ -cors-headers\x05\x13custom-deny-message\x05\x0fcustom-deny-url\x05\x1ccustom-non\ --identity-deny-url\x05\x0ccustom-pages\x05\x06domain\x05\x15enable-binding-cooki\ -e\x05\x0cfooter-links\x05\x0fheader-bg-color\x05\x1ahttp-only-cookie-attribute\x05\ -\x13landing-page-design\x05\x08logo-url\x05\x04name\x05\x18options-preflight-byp\ -ass\x05\x08policies\x05\x08saas-app\x05\x1asame-site-cookie-attribute\x05\x0bsci\ -m-config\x05\x13self-hosted-domains\x05\x18service-auth401-redirect\x05\x10sessi\ -on-duration\x05\x1cskip-app-launcher-login-page\x05\x11skip-interstitial\x05\x04\ -tags\x05\x10target-criterias\x05\x04type\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\06pulumi:cloudf\ -lare/access-application@5.43.1--0.0.0-DEV\x05\x03\x01B\x0a\x02\x03\x02\x01\x01\x04\ -\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0aaccount-id\x02\x0eapplication-id\x02\x07\ -zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x05\x0aaccount-id\x05\x0eappli\ -cation-id\x05\x03aud\x05\x0apublic-key\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\09pulumi:cloudf\ -lare/access-ca-certificate@5.43.1--0.0.0-DEV\x05\x04\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x06\x0aaccount-id\x02\x09app-count\x02\x0b\ -custom-html\x02\x04name\x02\x04type\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x06\x0aaccount-id\x05\x09app-count\x05\x0bcustom-html\x05\x04name\x05\ -\x04type\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\ -\0\x07\x04\0\x06invoke\x01\x08\x04\06pulumi:cloudflare/access-custom-page@5.43.1\ ---0.0.0-DEV\x05\x05\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x06\x0aaccount-id\x02\x08excludes\x02\x08includes\x02\x04name\x02\x08requi\ -res\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x06\x0aaccount-id\x05\ -\x08excludes\x05\x08includes\x05\x04name\x05\x08requires\x05\x07zone-id\x05\x04\0\ -\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\00pulumi:cloudflare/access-group@5.43.1--0.0.0-DEV\x05\x06\x01B\x0a\x02\x03\x02\ -\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x06\x0aaccount-id\x02\x07configs\x02\ -\x04name\x02\x0cscim-configs\x02\x04type\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\ -\x01i\x01\x01r\x06\x0aaccount-id\x05\x07configs\x05\x04name\x05\x0cscim-configs\x05\ -\x04type\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\ -\0\x07\x04\0\x06invoke\x01\x08\x04\0\ -pulumi:cloudflare/authenticated-origin-pulls@5.43.1--0.0.0-DEV\x05\x1a\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x04\x0bcertificate\x02\x0b\ -private-key\x02\x04type\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\ -\x0a\x0bcertificate\x05\x0aexpires-on\x05\x06issuer\x05\x0bprivate-key\x05\x0dse\ -rial-number\x05\x09signature\x05\x06status\x05\x04type\x05\x0buploaded-on\x05\x07\ -zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06\ -invoke\x01\x08\x04\0Jpulumi:cloudflare/authenticated-origin-pulls-certificate@5.\ -43.1--0.0.0-DEV\x05\x1b\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01\ -h\x01\x01r\x0b\x12ai-bots-protection\x02\x11auto-update-model\x02\x09enable-js\x02\ -\x0afight-mode\x02\x12optimize-wordpress\x02\x19sbfm-definitely-automated\x02\x15\ -sbfm-likely-automated\x02\x1fsbfm-static-resource-protection\x02\x12sbfm-verifie\ -d-bots\x02\x16suppress-session-score\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x0c\x12ai-bots-protection\x05\x11auto-update-model\x05\x09enable-js\x05\ -\x0afight-mode\x05\x12optimize-wordpress\x05\x19sbfm-definitely-automated\x05\x15\ -sbfm-likely-automated\x05\x1fsbfm-static-resource-protection\x05\x12sbfm-verifie\ -d-bots\x05\x16suppress-session-score\x05\x12using-latest-model\x05\x07zone-id\x05\ -\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\ -\x04\02pulumi:cloudflare/bot-management@5.43.1--0.0.0-DEV\x05\x1c\x01B\x0a\x02\x03\ -\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x04\x0aaccount-id\x02\x0dadve\ -rtisement\x02\x0bdescription\x02\x09prefix-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x04\x0aaccount-id\x05\x0dadvertisement\x05\x0bdescription\x05\x09prefix-id\ -\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\ -\x08\x04\01pulumi:cloudflare/byo-ip-prefix@5.43.1--0.0.0-DEV\x05\x1d\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x0a\x15certificate-author\ -ity\x02\x13cloudflare-branding\x02\x05hosts\x02\x04type\x02\x11validation-errors\ -\x02\x11validation-method\x02\x12validation-records\x02\x0dvalidity-days\x02\x16\ -wait-for-active-status\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0a\ -\x15certificate-authority\x05\x13cloudflare-branding\x05\x05hosts\x05\x04type\x05\ -\x11validation-errors\x05\x11validation-method\x05\x12validation-records\x05\x0d\ -validity-days\x05\x16wait-for-active-status\x05\x07zone-id\x05\x04\0\x03res\x03\0\ -\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\04pulumi:cl\ -oudflare/certificate-pack@5.43.1--0.0.0-DEV\x05\x1e\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x02\x05rules\x02\x07zone-id\x02\x04\0\x04\ -args\x03\0\x03\x01i\x01\x01r\x02\x05rules\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\09pulumi:cloudf\ -lare/cloud-connector-rules@5.43.1--0.0.0-DEV\x05\x1f\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x07\x0fcustom-metadata\x02\x14custom-orig\ -in-server\x02\x11custom-origin-sni\x02\x08hostname\x02\x04ssls\x02\x1fwait-for-s\ -sl-pending-validation\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0a\ -\x0fcustom-metadata\x05\x14custom-origin-server\x05\x11custom-origin-sni\x05\x08\ -hostname\x05\x16ownership-verification\x05\x1bownership-verification-http\x05\x04\ -ssls\x05\x06status\x05\x1fwait-for-ssl-pending-validation\x05\x07zone-id\x05\x04\ -\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\03pulumi:cloudflare/custom-hostname@5.43.1--0.0.0-DEV\x05\x20\x01B\x0a\x02\x03\x02\ -\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x02\x06origin\x02\x07zone-id\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x03\x06origin\x05\x06status\x05\x07zone-id\x05\ -\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\ -\x04\0Cpulumi:cloudflare/custom-hostname-fallback-origin@5.43.1--0.0.0-DEV\x05!\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x05\x0aaccount-i\ -d\x02\x05state\x02\x04type\x02\x03url\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\ -\x01i\x01\x01r\x05\x0aaccount-id\x05\x05state\x05\x04type\x05\x03url\x05\x07zone\ --id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invo\ -ke\x01\x08\x04\00pulumi:cloudflare/custom-pages@5.43.1--0.0.0-DEV\x05\"\x01B\x0a\ -\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x12custom-ssl-opt\ -ions\x02\x15custom-ssl-priorities\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x0b\x12custom-ssl-options\x05\x15custom-ssl-priorities\x05\x0aexpires\ --on\x05\x05hosts\x05\x06issuer\x05\x0bmodified-on\x05\x08priority\x05\x09signatu\ -re\x05\x06status\x05\x0buploaded-on\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01\ -@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0.pulumi:cloudflare\ -/custom-ssl@5.43.1--0.0.0-DEV\x05#\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\ -\0\0\x01h\x01\x01r\x02\x0aaccount-id\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x03\x0aaccount-id\x05\x04name\x05\x07version\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0/pulumi:cloudf\ -lare/d1-database@5.43.1--0.0.0-DEV\x05$\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06ou\ -tput\x03\0\0\x01h\x01\x01r\x06\x0aaccount-id\x02\x04data\x02\x0bdescription\x02\x07\ -enabled\x02\x08interval\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x08\ -\x0aaccount-id\x05\x07created\x05\x04data\x05\x0bdescription\x05\x07enabled\x05\x08\ -interval\x05\x04name\x05\x07updated\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\ -\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\03pulumi:cloudflare/device-dex-te\ -st@5.43.1--0.0.0-DEV\x05%\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01\ -h\x01\x01r\x04\x0aaccount-id\x02\x06config\x02\x04name\x02\x04type\x02\x04\0\x04\ -args\x03\0\x03\x01i\x01\x01r\x04\x0aaccount-id\x05\x06config\x05\x04name\x05\x04\ -type\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06inv\ -oke\x01\x08\x04\0;pulumi:cloudflare/device-managed-networks@5.43.1--0.0.0-DEV\x05\ -&\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x02\x07enab\ -led\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x02\x07enabled\x05\x07\ -zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06\ -invoke\x01\x08\x04\0>pulumi:cloudflare/device-policy-certificates@5.43.1--0.0.0-\ -DEV\x05'\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x06\x0a\ -account-id\x02\x07configs\x02\x0aidentifier\x02\x08interval\x02\x04name\x02\x04t\ -ype\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x06\x0aaccount-id\x05\x07configs\x05\ -\x0aidentifier\x05\x08interval\x05\x04name\x05\x04type\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0>pulumi:cloudf\ -lare/device-posture-integration@5.43.1--0.0.0-DEV\x05(\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x08\x0aaccount-id\x02\x0bdescription\x02\x0a\ -expiration\x02\x06inputs\x02\x07matches\x02\x04name\x02\x08schedule\x02\x04type\x02\ -\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x08\x0aaccount-id\x05\x0bdescription\x05\x0a\ -expiration\x05\x06inputs\x05\x07matches\x05\x04name\x05\x08schedule\x05\x04type\x05\ -\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\ -\x04\07pulumi:cloudflare/device-posture-rule@5.43.1--0.0.0-DEV\x05)\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x13\x0aaccount-id\x02\x11\ -allow-mode-switch\x02\x0dallow-updates\x02\x10allowed-to-leave\x02\x0cauto-conne\ -ct\x02\x0ecaptive-portal\x02\x07default\x02\x0bdescription\x02\x15disable-auto-f\ -allback\x02\x07enabled\x02\x12exclude-office-ips\x02\x05match\x02\x04name\x02\x0a\ -precedence\x02\x14service-mode-v2-mode\x02\x14service-mode-v2-port\x02\x0bsuppor\ -t-url\x02\x0dswitch-locked\x02\x0ftunnel-protocol\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x13\x0aaccount-id\x05\x11allow-mode-switch\x05\x0dallow-updates\x05\x10\ -allowed-to-leave\x05\x0cauto-connect\x05\x0ecaptive-portal\x05\x07default\x05\x0b\ -description\x05\x15disable-auto-fallback\x05\x07enabled\x05\x12exclude-office-ip\ -s\x05\x05match\x05\x04name\x05\x0aprecedence\x05\x14service-mode-v2-mode\x05\x14\ -service-mode-v2-port\x05\x0bsupport-url\x05\x0dswitch-locked\x05\x0ftunnel-proto\ -col\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invo\ -ke\x01\x08\x04\0:pulumi:cloudflare/device-settings-policy@5.43.1--0.0.0-DEV\x05*\ -\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x08\x0aaccou\ -nt-id\x02\x13allowed-match-count\x02\x11context-awareness\x02\x0bdescription\x02\ -\x07entries\x02\x04name\x02\x0bocr-enabled\x02\x04type\x02\x04\0\x04args\x03\0\x03\ -\x01i\x01\x01r\x08\x0aaccount-id\x05\x13allowed-match-count\x05\x11context-aware\ -ness\x05\x0bdescription\x05\x07entries\x05\x04name\x05\x0bocr-enabled\x05\x04typ\ -e\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\ -\x01\x08\x04\0/pulumi:cloudflare/dlp-profile@5.43.1--0.0.0-DEV\x05+\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x02\x0aaccount-id\x02\x05\ -email\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x06\x0aaccount-id\x05\x07created\ -\x05\x05email\x05\x08modified\x05\x03tag\x05\x08verified\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\09pulumi:cloudf\ -lare/email-routing-address@5.43.1--0.0.0-DEV\x05,\x01B\x0a\x02\x03\x02\x01\x01\x04\ -\0\x06output\x03\0\0\x01h\x01\x01r\x05\x07actions\x02\x07enabled\x02\x08matchers\ -\x02\x04name\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x06\x07act\ -ions\x05\x07enabled\x05\x08matchers\x05\x04name\x05\x03tag\x05\x07zone-id\x05\x04\ -\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\0;pulumi:cloudflare/email-routing-catch-all@5.43.1--0.0.0-DEV\x05-\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x06\x07actions\x02\x07ena\ -bled\x02\x08matchers\x02\x04name\x02\x08priority\x02\x07zone-id\x02\x04\0\x04arg\ -s\x03\0\x03\x01i\x01\x01r\x07\x07actions\x05\x07enabled\x05\x08matchers\x05\x04n\ -ame\x05\x08priority\x05\x03tag\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\ -\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\06pulumi:cloudflare/emai\ -l-routing-rule@5.43.1--0.0.0-DEV\x05.\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06outp\ -ut\x03\0\0\x01h\x01\x01r\x03\x07enabled\x02\x0bskip-wizard\x02\x07zone-id\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x08\x07created\x05\x07enabled\x05\x08modified\ -\x05\x04name\x05\x0bskip-wizard\x05\x06status\x05\x03tag\x05\x07zone-id\x05\x04\0\ -\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\0:pulumi:cloudflare/email-routing-settings@5.43.1--0.0.0-DEV\x05/\x01B\x0a\x02\x03\ -\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0aaccount-id\x02\x07doma\ -ins\x02\x09policy-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x03\x0aaccount-id\ -\x05\x07domains\x05\x09policy-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04\ -args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\03pulumi:cloudflare/fallback-domain@5\ -.43.1--0.0.0-DEV\x050\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x05\x0bdescription\x02\x0aexpression\x02\x06paused\x02\x03ref\x02\x07zone-\ -id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x05\x0bdescription\x05\x0aexpressio\ -n\x05\x06paused\x05\x03ref\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04\ -names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0*pulumi:cloudflare/filter@5\ -.43.1--0.0.0-DEV\x051\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x07\x06action\x02\x0bdescription\x02\x09filter-id\x02\x06paused\x02\x08pri\ -ority\x02\x08products\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x07\ -\x06action\x05\x0bdescription\x05\x09filter-id\x05\x06paused\x05\x08priority\x05\ -\x08products\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\ -\x04\0\x07\x04\0\x06invoke\x01\x08\x04\01pulumi:cloudflare/firewall-rule@5.43.1-\ --0.0.0-DEV\x052\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01\ -r\x0b\x0aaccount-id\x02\x17cloudflare-gre-endpoint\x02\x15customer-gre-endpoint\x02\ -\x0bdescription\x02\x14health-check-enabled\x02\x13health-check-target\x02\x11he\ -alth-check-type\x02\x11interface-address\x02\x03mtu\x02\x04name\x02\x03ttl\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x0b\x0aaccount-id\x05\x17cloudflare-gre-endpo\ -int\x05\x15customer-gre-endpoint\x05\x0bdescription\x05\x14health-check-enabled\x05\ -\x13health-check-target\x05\x11health-check-type\x05\x11interface-address\x05\x03\ -mtu\x05\x04name\x05\x03ttl\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\ -\0\x07\x04\0\x06invoke\x01\x08\x04\0.pulumi:cloudflare/gre-tunnel@5.43.1--0.0.0-\ -DEV\x053\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x14\x07\ -address\x02\x0eallow-insecure\x02\x0dcheck-regions\x02\x11consecutive-fails\x02\x15\ -consecutive-successes\x02\x0bdescription\x02\x0dexpected-body\x02\x0eexpected-co\ -des\x02\x10follow-redirects\x02\x07headers\x02\x08interval\x02\x06method\x02\x04\ -name\x02\x04path\x02\x04port\x02\x07retries\x02\x09suspended\x02\x07timeout\x02\x04\ -type\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x16\x07address\x05\ -\x0eallow-insecure\x05\x0dcheck-regions\x05\x11consecutive-fails\x05\x15consecut\ -ive-successes\x05\x0acreated-on\x05\x0bdescription\x05\x0dexpected-body\x05\x0ee\ -xpected-codes\x05\x10follow-redirects\x05\x07headers\x05\x08interval\x05\x06meth\ -od\x05\x0bmodified-on\x05\x04name\x05\x04path\x05\x04port\x05\x07retries\x05\x09\ -suspended\x05\x07timeout\x05\x04type\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01\ -@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0/pulumi:cloudflare\ -/healthcheck@5.43.1--0.0.0-DEV\x054\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\ -\x03\0\0\x01h\x01\x01r\x04\x08hostname\x02\x07setting\x02\x05value\x02\x07zone-i\ -d\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x06\x0acreated-at\x05\x08hostname\x05\ -\x07setting\x05\x0aupdated-at\x05\x05value\x05\x07zone-id\x05\x04\0\x03res\x03\0\ -\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\08pulumi:cl\ -oudflare/hostname-tls-setting@5.43.1--0.0.0-DEV\x055\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x04\x08hostname\x02\x05ports\x02\x06value\ -s\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x06\x0acreated-at\x05\ -\x08hostname\x05\x05ports\x05\x0aupdated-at\x05\x06values\x05\x07zone-id\x05\x04\ -\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\0@pulumi:cloudflare/hostname-tls-setting-ciphers@5.43.1--0.0.0-DEV\x056\x01B\x0a\ -\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x05\x0aaccount-id\x02\ -\x07caching\x02\x04name\x02\x06origin\x02\x0bresource-id\x02\x04\0\x04args\x03\0\ -\x03\x01i\x01\x01r\x05\x0aaccount-id\x05\x07caching\x05\x04name\x05\x06origin\x05\ -\x0bresource-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\ -\0\x06invoke\x01\x08\x04\05pulumi:cloudflare/hyperdrive-config@5.43.1--0.0.0-DEV\ -\x057\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0a\ -account-id\x02\x08hostname\x02\x02ip\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x05\ -\x0aaccount-id\x05\x0acreated-at\x05\x08hostname\x05\x02ip\x05\x0bmodified-at\x05\ -\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\ -\x04\0@pulumi:cloudflare/infrastructure-access-target@5.43.1--0.0.0-DEV\x058\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x12\x0aaccount-i\ -d\x02\x11allow-null-cipher\x02\x13cloudflare-endpoint\x02\x11customer-endpoint\x02\ -\x0bdescription\x02\x07fqdn-id\x02\x16health-check-direction\x02\x14health-check\ --enabled\x02\x11health-check-rate\x02\x13health-check-target\x02\x11health-check\ --type\x02\x06hex-id\x02\x11interface-address\x02\x04name\x02\x03psk\x02\x09remot\ -e-id\x02\x11replay-protection\x02\x07user-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x12\x0aaccount-id\x05\x11allow-null-cipher\x05\x13cloudflare-endpoint\x05\x11\ -customer-endpoint\x05\x0bdescription\x05\x07fqdn-id\x05\x16health-check-directio\ -n\x05\x14health-check-enabled\x05\x11health-check-rate\x05\x13health-check-targe\ -t\x05\x11health-check-type\x05\x06hex-id\x05\x11interface-address\x05\x04name\x05\ -\x03psk\x05\x09remote-id\x05\x11replay-protection\x05\x07user-id\x05\x04\0\x03re\ -s\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\00pu\ -lumi:cloudflare/ipsec-tunnel@5.43.1--0.0.0-DEV\x059\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x07\x0dbundle-method\x02\x0bcertificate\x02\ -\x07enabled\x02\x04host\x02\x04name\x02\x04port\x02\x07zone-id\x02\x04\0\x04args\ -\x03\0\x03\x01i\x01\x01r\x08\x0dbundle-method\x05\x0bcertificate\x05\x07enabled\x05\ -\x04host\x05\x04name\x05\x04port\x05\x06status\x05\x07zone-id\x05\x04\0\x03res\x03\ -\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\07pulumi:\ -cloudflare/keyless-certificate@5.43.1--0.0.0-DEV\x05:\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x05\x0aaccount-id\x02\x0bdescription\x02\x05\ -items\x02\x04kind\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x05\x0aa\ -ccount-id\x05\x0bdescription\x05\x05items\x05\x04kind\x05\x04name\x05\x04\0\x03r\ -es\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0(p\ -ulumi:cloudflare/list@5.43.1--0.0.0-DEV\x05;\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06\ -output\x03\0\0\x01h\x01\x01r\x07\x0aaccount-id\x02\x03asn\x02\x07comment\x02\x08\ -hostname\x02\x02ip\x02\x07list-id\x02\x08redirect\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x07\x0aaccount-id\x05\x03asn\x05\x07comment\x05\x08hostname\x05\x02ip\ -\x05\x07list-id\x05\x08redirect\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04\ -args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0-pulumi:cloudflare/list-item@5.43.1-\ --0.0.0-DEV\x05<\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01\ -r\x13\x11adaptive-routings\x02\x0dcountry-pools\x02\x10default-pool-ids\x02\x0bd\ -escription\x02\x07enabled\x02\x10fallback-pool-id\x02\x13location-strategies\x02\ -\x04name\x02\x09pop-pools\x02\x07proxied\x02\x10random-steerings\x02\x0cregion-p\ -ools\x02\x05rules\x02\x10session-affinity\x02\x1bsession-affinity-attributes\x02\ -\x14session-affinity-ttl\x02\x0fsteering-policy\x02\x03ttl\x02\x07zone-id\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x15\x11adaptive-routings\x05\x0dcountry-pools\ -\x05\x0acreated-on\x05\x10default-pool-ids\x05\x0bdescription\x05\x07enabled\x05\ -\x10fallback-pool-id\x05\x13location-strategies\x05\x0bmodified-on\x05\x04name\x05\ -\x09pop-pools\x05\x07proxied\x05\x10random-steerings\x05\x0cregion-pools\x05\x05\ -rules\x05\x10session-affinity\x05\x1bsession-affinity-attributes\x05\x14session-\ -affinity-ttl\x05\x0fsteering-policy\x05\x03ttl\x05\x07zone-id\x05\x04\0\x03res\x03\ -\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\01pulumi:\ -cloudflare/load-balancer@5.43.1--0.0.0-DEV\x05=\x01B\x0a\x02\x03\x02\x01\x01\x04\ -\0\x06output\x03\0\0\x01h\x01\x01r\x11\x0aaccount-id\x02\x0eallow-insecure\x02\x10\ -consecutive-down\x02\x0econsecutive-up\x02\x0bdescription\x02\x0dexpected-body\x02\ -\x0eexpected-codes\x02\x10follow-redirects\x02\x07headers\x02\x08interval\x02\x06\ -method\x02\x04path\x02\x04port\x02\x0aprobe-zone\x02\x07retries\x02\x07timeout\x02\ -\x04type\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x13\x0aaccount-id\x05\x0eallo\ -w-insecure\x05\x10consecutive-down\x05\x0econsecutive-up\x05\x0acreated-on\x05\x0b\ -description\x05\x0dexpected-body\x05\x0eexpected-codes\x05\x10follow-redirects\x05\ -\x07headers\x05\x08interval\x05\x06method\x05\x0bmodified-on\x05\x04path\x05\x04\ -port\x05\x0aprobe-zone\x05\x07retries\x05\x07timeout\x05\x04type\x05\x04\0\x03re\ -s\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\09pu\ -lumi:cloudflare/load-balancer-monitor@5.43.1--0.0.0-DEV\x05>\x01B\x0a\x02\x03\x02\ -\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x0d\x0aaccount-id\x02\x0dcheck-re\ -gions\x02\x0bdescription\x02\x07enabled\x02\x08latitude\x02\x0eload-sheddings\x02\ -\x09longitude\x02\x0fminimum-origins\x02\x07monitor\x02\x04name\x02\x12notificat\ -ion-email\x02\x10origin-steerings\x02\x07origins\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x0f\x0aaccount-id\x05\x0dcheck-regions\x05\x0acreated-on\x05\x0bdescr\ -iption\x05\x07enabled\x05\x08latitude\x05\x0eload-sheddings\x05\x09longitude\x05\ -\x0fminimum-origins\x05\x0bmodified-on\x05\x07monitor\x05\x04name\x05\x12notific\ -ation-email\x05\x10origin-steerings\x05\x07origins\x05\x04\0\x03res\x03\0\x06\x01\ -@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\06pulumi:cloudflare\ -/load-balancer-pool@5.43.1--0.0.0-DEV\x05?\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06\ -output\x03\0\0\x01h\x01\x01r\x02\x07enabled\x02\x07zone-id\x02\x04\0\x04args\x03\ -\0\x03\x01i\x01\x01r\x02\x07enabled\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01\ -@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\05pulumi:cloudflare\ -/logpull-retention@5.43.1--0.0.0-DEV\x05@\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06\ -output\x03\0\0\x01h\x01\x01r\x0f\x0aaccount-id\x02\x07dataset\x02\x10destination\ --conf\x02\x07enabled\x02\x06filter\x02\x09frequency\x02\x04kind\x02\x0flogpull-o\ -ptions\x02\x10max-upload-bytes\x02\x1bmax-upload-interval-seconds\x02\x12max-upl\ -oad-records\x02\x04name\x02\x0eoutput-options\x02\x13ownership-challenge\x02\x07\ -zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0f\x0aaccount-id\x05\x07datas\ -et\x05\x10destination-conf\x05\x07enabled\x05\x06filter\x05\x09frequency\x05\x04\ -kind\x05\x0flogpull-options\x05\x10max-upload-bytes\x05\x1bmax-upload-interval-s\ -econds\x05\x12max-upload-records\x05\x04name\x05\x0eoutput-options\x05\x13owners\ -hip-challenge\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04arg\ -s\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0/pulumi:cloudflare/logpush-job@5.43.1--\ -0.0.0-DEV\x05A\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01\ -r\x03\x0aaccount-id\x02\x10destination-conf\x02\x07zone-id\x02\x04\0\x04args\x03\ -\0\x03\x01i\x01\x01r\x04\x0aaccount-id\x05\x10destination-conf\x05\x1cownership-\ -challenge-filename\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04\ -args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0?pulumi:cloudflare/logpush-ownership\ --challenge@5.43.1--0.0.0-DEV\x05B\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\ -\0\0\x01h\x01\x01r\x04\x0aaccount-id\x02\x0bdescription\x02\x04name\x02\x05rules\ -\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x04\x0aaccount-id\x05\x0bdescription\x05\ -\x04name\x05\x05rules\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\ -\x07\x04\0\x06invoke\x01\x08\x04\0:pulumi:cloudflare/magic-firewall-ruleset@5.43\ -.1--0.0.0-DEV\x05C\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x0b\x0aaccount-id\x02\x17cloudflare-gre-endpoint\x02\x15customer-gre-endpo\ -int\x02\x0bdescription\x02\x14health-check-enabled\x02\x13health-check-target\x02\ -\x11health-check-type\x02\x11interface-address\x02\x03mtu\x02\x04name\x02\x03ttl\ -\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0b\x0aaccount-id\x05\x17cloudflare-g\ -re-endpoint\x05\x15customer-gre-endpoint\x05\x0bdescription\x05\x14health-check-\ -enabled\x05\x13health-check-target\x05\x11health-check-type\x05\x11interface-add\ -ress\x05\x03mtu\x05\x04name\x05\x03ttl\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04na\ -mes\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\08pulumi:cloudflare/magic-wan-\ -gre-tunnel@5.43.1--0.0.0-DEV\x05D\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\ -\0\0\x01h\x01\x01r\x12\x0aaccount-id\x02\x11allow-null-cipher\x02\x13cloudflare-\ -endpoint\x02\x11customer-endpoint\x02\x0bdescription\x02\x07fqdn-id\x02\x16healt\ -h-check-direction\x02\x14health-check-enabled\x02\x11health-check-rate\x02\x13he\ -alth-check-target\x02\x11health-check-type\x02\x06hex-id\x02\x11interface-addres\ -s\x02\x04name\x02\x03psk\x02\x09remote-id\x02\x11replay-protection\x02\x07user-i\ -d\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x12\x0aaccount-id\x05\x11allow-null-\ -cipher\x05\x13cloudflare-endpoint\x05\x11customer-endpoint\x05\x0bdescription\x05\ -\x07fqdn-id\x05\x16health-check-direction\x05\x14health-check-enabled\x05\x11hea\ -lth-check-rate\x05\x13health-check-target\x05\x11health-check-type\x05\x06hex-id\ -\x05\x11interface-address\x05\x04name\x05\x03psk\x05\x09remote-id\x05\x11replay-\ -protection\x05\x07user-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\ -\0\x07\x04\0\x06invoke\x01\x08\x04\0:pulumi:cloudflare/magic-wan-ipsec-tunnel@5.\ -43.1--0.0.0-DEV\x05E\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x08\x0aaccount-id\x02\x0acolo-names\x02\x0ccolo-regions\x02\x0bdescription\ -\x02\x07nexthop\x02\x06prefix\x02\x08priority\x02\x06weight\x02\x04\0\x04args\x03\ -\0\x03\x01i\x01\x01r\x08\x0aaccount-id\x05\x0acolo-names\x05\x0ccolo-regions\x05\ -\x0bdescription\x05\x07nexthop\x05\x06prefix\x05\x08priority\x05\x06weight\x05\x04\ -\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\0:pulumi:cloudflare/magic-wan-static-route@5.43.1--0.0.0-DEV\x05F\x01B\x0a\x02\x03\ -\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x17managed-request-header\ -s\x02\x18managed-response-headers\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x03\x17managed-request-headers\x05\x18managed-response-headers\x05\x07\ -zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06\ -invoke\x01\x08\x04\03pulumi:cloudflare/managed-headers@5.43.1--0.0.0-DEV\x05G\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x05\x0aaccount-i\ -d\x02\x02ca\x02\x0ccertificates\x02\x04name\x02\x0bprivate-key\x02\x04\0\x04args\ -\x03\0\x03\x01i\x01\x01r\x0a\x0aaccount-id\x05\x02ca\x05\x0ccertificates\x05\x0a\ -expires-on\x05\x06issuer\x05\x04name\x05\x0bprivate-key\x05\x0dserial-number\x05\ -\x09signature\x05\x0buploaded-on\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04\ -args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\04pulumi:cloudflare/mtls-certificate@\ -5.43.1--0.0.0-DEV\x05H\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\ -\x01\x01r\x09\x0aaccount-id\x02\x0aalert-type\x02\x0bdescription\x02\x12email-in\ -tegrations\x02\x07enabled\x02\x07filters\x02\x04name\x02\x16pagerduty-integratio\ -ns\x02\x15webhooks-integrations\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0b\x0a\ -account-id\x05\x0aalert-type\x05\x07created\x05\x0bdescription\x05\x12email-inte\ -grations\x05\x07enabled\x05\x07filters\x05\x08modified\x05\x04name\x05\x16pagerd\ -uty-integrations\x05\x15webhooks-integrations\x05\x04\0\x03res\x03\0\x06\x01@\x02\ -\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\07pulumi:cloudflare/noti\ -fication-policy@5.43.1--0.0.0-DEV\x05I\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06out\ -put\x03\0\0\x01h\x01\x01r\x04\x0aaccount-id\x02\x04name\x02\x06secret\x02\x03url\ -\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x08\x0aaccount-id\x05\x0acreated-at\x05\ -\x0clast-failure\x05\x0clast-success\x05\x04name\x05\x06secret\x05\x04type\x05\x03\ -url\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invo\ -ke\x01\x08\x04\0@pulumi:cloudflare/notification-policy-webhooks@5.43.1--0.0.0-DE\ -V\x05J\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x04\x09\ -frequency\x02\x06region\x02\x03url\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x04\x09frequency\x05\x06region\x05\x03url\x05\x07zone-id\x05\x04\0\x03\ -res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0>\ -pulumi:cloudflare/observatory-scheduled-test@5.43.1--0.0.0-DEV\x05K\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x05\x03csr\x02\x09hostnam\ -es\x02\x14min-days-for-renewal\x02\x0crequest-type\x02\x12requested-validity\x02\ -\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x07\x0bcertificate\x05\x03csr\x05\x0aexpi\ -res-on\x05\x09hostnames\x05\x14min-days-for-renewal\x05\x0crequest-type\x05\x12r\ -equested-validity\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\ -\x04\0\x06invoke\x01\x08\x04\09pulumi:cloudflare/origin-ca-certificate@5.43.1--0\ -.0.0-DEV\x05L\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\ -\x05\x07actions\x02\x08priority\x02\x06status\x02\x06target\x02\x07zone-id\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x05\x07actions\x05\x08priority\x05\x06status\x05\ -\x06target\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\ -\0\x07\x04\0\x06invoke\x01\x08\x04\0-pulumi:cloudflare/page-rule@5.43.1--0.0.0-D\ -EV\x05M\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0a\ -account-id\x02\x06domain\x02\x0cproject-name\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x04\x0aaccount-id\x05\x06domain\x05\x0cproject-name\x05\x06status\x05\x04\0\ -\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\00pulumi:cloudflare/pages-domain@5.43.1--0.0.0-DEV\x05N\x01B\x0a\x02\x03\x02\x01\ -\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x06\x0aaccount-id\x02\x0cbuild-config\ -\x02\x12deployment-configs\x02\x04name\x02\x11production-branch\x02\x06source\x02\ -\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x09\x0aaccount-id\x05\x0cbuild-config\x05\ -\x0acreated-on\x05\x12deployment-configs\x05\x07domains\x05\x04name\x05\x11produ\ -ction-branch\x05\x06source\x05\x09subdomain\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04\ -names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\01pulumi:cloudflare/pages-pr\ -oject@5.43.1--0.0.0-DEV\x05O\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\ -\x01h\x01\x01r\x02\x0aaccount-id\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x02\x0aaccount-id\x05\x04name\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\ -\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0)pulumi:cloudflare/queue@5.43.1-\ --0.0.0-DEV\x05P\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01\ -r\x03\x0aaccount-id\x02\x08location\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\ -\x01\x01r\x03\x0aaccount-id\x05\x08location\x05\x04name\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0-pulumi:cloudf\ -lare/r2-bucket@5.43.1--0.0.0-DEV\x05Q\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06outp\ -ut\x03\0\0\x01h\x01\x01r\x09\x06action\x02\x13bypass-url-patterns\x02\x09correla\ -te\x02\x0bdescription\x02\x08disabled\x02\x05match\x02\x06period\x02\x09threshol\ -d\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x09\x06action\x05\x13\ -bypass-url-patterns\x05\x09correlate\x05\x0bdescription\x05\x08disabled\x05\x05m\ -atch\x05\x06period\x05\x09threshold\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01\ -@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0.pulumi:cloudflare\ -/rate-limit@5.43.1--0.0.0-DEV\x05R\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\ -\0\0\x01h\x01\x01r\x0c\x0fallow-overwrite\x02\x07comment\x02\x07content\x02\x04d\ -ata\x02\x04name\x02\x08priority\x02\x07proxied\x02\x04tags\x02\x03ttl\x02\x04typ\ -e\x02\x05value\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x11\x0fa\ -llow-overwrite\x05\x07comment\x05\x07content\x05\x0acreated-on\x05\x04data\x05\x08\ -hostname\x05\x08metadata\x05\x0bmodified-on\x05\x04name\x05\x08priority\x05\x09p\ -roxiable\x05\x07proxied\x05\x04tags\x05\x03ttl\x05\x04type\x05\x05value\x05\x07z\ -one-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06i\ -nvoke\x01\x08\x04\0*pulumi:cloudflare/record@5.43.1--0.0.0-DEV\x05S\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x08hostname\x02\x0are\ -gion-key\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x04\x0acreated\ --on\x05\x08hostname\x05\x0aregion-key\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01\ -@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\05pulumi:cloudflare\ -/regional-hostname@5.43.1--0.0.0-DEV\x05T\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06\ -output\x03\0\0\x01h\x01\x01r\x02\x05value\x02\x07zone-id\x02\x04\0\x04args\x03\0\ -\x03\x01i\x01\x01r\x02\x05value\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\ -\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\09pulumi:cloudflare/regi\ -onal-tiered-cache@5.43.1--0.0.0-DEV\x05U\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06o\ -utput\x03\0\0\x01h\x01\x01r\x02\x0aaccount-id\x02\x09behaviors\x02\x04\0\x04args\ -\x03\0\x03\x01i\x01\x01r\x02\x0aaccount-id\x05\x09behaviors\x05\x04\0\x03res\x03\ -\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\01pulumi:\ -cloudflare/risk-behavior@5.43.1--0.0.0-DEV\x05V\x01B\x0a\x02\x03\x02\x01\x01\x04\ -\0\x06output\x03\0\0\x01h\x01\x01r\x07\x0aaccount-id\x02\x0bdescription\x02\x04k\ -ind\x02\x04name\x02\x05phase\x02\x05rules\x02\x07zone-id\x02\x04\0\x04args\x03\0\ -\x03\x01i\x01\x01r\x07\x0aaccount-id\x05\x0bdescription\x05\x04kind\x05\x04name\x05\ -\x05phase\x05\x05rules\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04nam\ -es\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0+pulumi:cloudflare/ruleset@5.4\ -3.1--0.0.0-DEV\x05W\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x0d\x12argo-smart-routing\x02\x03dns\x02\x08edge-ips\x02\x0bip-firewall\x02\ -\x0eorigin-directs\x02\x0aorigin-dns\x02\x0borigin-port\x02\x11origin-port-range\ -\x02\x08protocol\x02\x0eproxy-protocol\x02\x03tls\x02\x0ctraffic-type\x02\x07zon\ -e-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0d\x12argo-smart-routing\x05\x03\ -dns\x05\x08edge-ips\x05\x0bip-firewall\x05\x0eorigin-directs\x05\x0aorigin-dns\x05\ -\x0borigin-port\x05\x11origin-port-range\x05\x08protocol\x05\x0eproxy-protocol\x05\ -\x03tls\x05\x0ctraffic-type\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04\ -names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\08pulumi:cloudflare/spectrum\ --application@5.43.1--0.0.0-DEV\x05X\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\ -\x03\0\0\x01h\x01\x01r\x04\x0aaccount-id\x02\x04mode\x02\x09policy-id\x02\x07tun\ -nels\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x04\x0aaccount-id\x05\x04mode\x05\ -\x09policy-id\x05\x07tunnels\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04arg\ -s\x04\0\x07\x04\0\x06invoke\x01\x08\x04\00pulumi:cloudflare/split-tunnel@5.43.1-\ --0.0.0-DEV\x05Y\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01\ -r\x08\x0aaccount-id\x02\x0acolo-names\x02\x0ccolo-regions\x02\x0bdescription\x02\ -\x07nexthop\x02\x06prefix\x02\x08priority\x02\x06weight\x02\x04\0\x04args\x03\0\x03\ -\x01i\x01\x01r\x08\x0aaccount-id\x05\x0acolo-names\x05\x0ccolo-regions\x05\x0bde\ -scription\x05\x07nexthop\x05\x06prefix\x05\x08priority\x05\x06weight\x05\x04\0\x03\ -res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\00\ -pulumi:cloudflare/static-route@5.43.1--0.0.0-DEV\x05Z\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x11\x0aaccount-id\x02\x14activity-log-ena\ -bled\x02\x09antivirus\x02\x0ablock-page\x02\x0dbody-scanning\x02\x0bcertificate\x02\ -\x12custom-certificate\x02\x17extended-email-matching\x02\x04fips\x02\x07logging\ -\x02&non-identity-browser-isolation-enabled\x02\x0bpayload-log\x02\x1aprotocol-d\ -etection-enabled\x02\x05proxy\x02\x0fssh-session-log\x02\x13tls-decrypt-enabled\x02\ -\x1durl-browser-isolation-enabled\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x11\x0a\ -account-id\x05\x14activity-log-enabled\x05\x09antivirus\x05\x0ablock-page\x05\x0d\ -body-scanning\x05\x0bcertificate\x05\x12custom-certificate\x05\x17extended-email\ --matching\x05\x04fips\x05\x07logging\x05&non-identity-browser-isolation-enabled\x05\ -\x0bpayload-log\x05\x1aprotocol-detection-enabled\x05\x05proxy\x05\x0fssh-sessio\ -n-log\x05\x13tls-decrypt-enabled\x05\x1durl-browser-isolation-enabled\x05\x04\0\x03\ -res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\01\ -pulumi:cloudflare/teams-account@5.43.1--0.0.0-DEV\x05[\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x06\x0aaccount-id\x02\x0bdescription\x02\x05\ -items\x02\x17items-with-descriptions\x02\x04name\x02\x04type\x02\x04\0\x04args\x03\ -\0\x03\x01i\x01\x01r\x06\x0aaccount-id\x05\x0bdescription\x05\x05items\x05\x17it\ -ems-with-descriptions\x05\x04name\x05\x04type\x05\x04\0\x03res\x03\0\x06\x01@\x02\ -\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0.pulumi:cloudflare/team\ -s-list@5.43.1--0.0.0-DEV\x05\\\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\ -\0\x01h\x01\x01r\x05\x0aaccount-id\x02\x0eclient-default\x02\x0becs-support\x02\x04\ -name\x02\x08networks\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0a\x0aaccount-id\ -\x05\x17anonymized-logs-enabled\x05\x0eclient-default\x05\x0ddoh-subdomain\x05\x0b\ -ecs-support\x05\x02ip\x05\x10ipv4-destination\x05\x04name\x05\x08networks\x05\x0a\ -policy-ids\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06\ -invoke\x01\x08\x04\02pulumi:cloudflare/teams-location@5.43.1--0.0.0-DEV\x05]\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0aaccount-i\ -d\x02\x03ips\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x04\x0aaccoun\ -t-id\x05\x03ips\x05\x04name\x05\x09subdomain\x05\x04\0\x03res\x03\0\x06\x01@\x02\ -\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\08pulumi:cloudflare/team\ -s-proxy-endpoint@5.43.1--0.0.0-DEV\x05^\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06ou\ -tput\x03\0\0\x01h\x01\x01r\x0b\x0aaccount-id\x02\x06action\x02\x0bdescription\x02\ -\x0edevice-posture\x02\x07enabled\x02\x07filters\x02\x08identity\x02\x04name\x02\ -\x0aprecedence\x02\x0drule-settings\x02\x07traffic\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x0c\x0aaccount-id\x05\x06action\x05\x0bdescription\x05\x0edevice-post\ -ure\x05\x07enabled\x05\x07filters\x05\x08identity\x05\x04name\x05\x0aprecedence\x05\ -\x0drule-settings\x05\x07traffic\x05\x07version\x05\x04\0\x03res\x03\0\x06\x01@\x02\ -\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0.pulumi:cloudflare/team\ -s-rule@5.43.1--0.0.0-DEV\x05_\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\ -\0\x01h\x01\x01r\x02\x0acache-type\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x02\x0acache-type\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04\ -names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\00pulumi:cloudflare/tiered-c\ -ache@5.43.1--0.0.0-DEV\x05`\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\ -\x01h\x01\x01r\x03\x15certificate-authority\x02\x07enabled\x02\x07zone-id\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x03\x15certificate-authority\x05\x07enabled\x05\ -\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\ -\x06invoke\x01\x08\x04\0-pulumi:cloudflare/total-tls@5.43.1--0.0.0-DEV\x05a\x01B\ -\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x04\x0aaccount-id\ -\x02\x0aconfig-src\x02\x04name\x02\x06secret\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x06\x0aaccount-id\x05\x05cname\x05\x0aconfig-src\x05\x04name\x05\x06secret\ -\x05\x0ctunnel-token\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\ -\x04\0\x06invoke\x01\x08\x04\0*pulumi:cloudflare/tunnel@5.43.1--0.0.0-DEV\x05b\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0aaccount-i\ -d\x02\x06config\x02\x09tunnel-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x03\x0a\ -account-id\x05\x06config\x05\x09tunnel-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04\ -names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\01pulumi:cloudflare/tunnel-c\ -onfig@5.43.1--0.0.0-DEV\x05c\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\ -\x01h\x01\x01r\x05\x0aaccount-id\x02\x07comment\x02\x07network\x02\x09tunnel-id\x02\ -\x12virtual-network-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x05\x0aaccount-\ -id\x05\x07comment\x05\x07network\x05\x09tunnel-id\x05\x12virtual-network-id\x05\x04\ -\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\00pulumi:cloudflare/tunnel-route@5.43.1--0.0.0-DEV\x05d\x01B\x0a\x02\x03\x02\x01\ -\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x04\x0aaccount-id\x02\x07comment\x02\x12\ -is-default-network\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x04\x0a\ -account-id\x05\x07comment\x05\x12is-default-network\x05\x04name\x05\x04\0\x03res\ -\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0:pul\ -umi:cloudflare/tunnel-virtual-network@5.43.1--0.0.0-DEV\x05e\x01B\x0a\x02\x03\x02\ -\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x07\x0aaccount-id\x02\x0ebot-figh\ -t-mode\x02\x07domains\x02\x04mode\x02\x04name\x02\x08offlabel\x02\x06region\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x08\x0aaccount-id\x05\x0ebot-fight-mode\x05\x07\ -domains\x05\x04mode\x05\x04name\x05\x08offlabel\x05\x06region\x05\x06secret\x05\x04\ -\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\ -\04pulumi:cloudflare/turnstile-widget@5.43.1--0.0.0-DEV\x05f\x01B\x0a\x02\x03\x02\ -\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x05scope\x02\x04type\x02\x07z\ -one-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x03\x05scope\x05\x04type\x05\x07\ -zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06\ -invoke\x01\x08\x04\0>pulumi:cloudflare/url-normalization-settings@5.43.1--0.0.0-\ -DEV\x05g\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x05\x0d\ -configuration\x02\x0bdescription\x02\x04mode\x02\x06paused\x02\x07zone-id\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x05\x0dconfiguration\x05\x0bdescription\x05\x04\ -mode\x05\x06paused\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04\ -args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0pulumi:cloudflare\ -/zero-trust-device-profiles@5.43.1--0.0.0-DEV\x05\x8d\x01\x01B\x0a\x02\x03\x02\x01\ -\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x06\x0aaccount-id\x02\x04data\x02\x0b\ -description\x02\x07enabled\x02\x08interval\x02\x04name\x02\x04\0\x04args\x03\0\x03\ -\x01i\x01\x01r\x08\x0aaccount-id\x05\x07created\x05\x04data\x05\x0bdescription\x05\ -\x07enabled\x05\x08interval\x05\x04name\x05\x07updated\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\07pulumi:cloudf\ -lare/zero-trust-dex-test@5.43.1--0.0.0-DEV\x05\x8e\x01\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x08\x0aaccount-id\x02\x13allowed-match-co\ -unt\x02\x11context-awareness\x02\x0bdescription\x02\x07entries\x02\x04name\x02\x0b\ -ocr-enabled\x02\x04type\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x08\x0aaccount\ --id\x05\x13allowed-match-count\x05\x11context-awareness\x05\x0bdescription\x05\x07\ -entries\x05\x04name\x05\x0bocr-enabled\x05\x04type\x05\x04\0\x03res\x03\0\x06\x01\ -@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0:pulumi:cloudflare\ -/zero-trust-dlp-profile@5.43.1--0.0.0-DEV\x05\x8f\x01\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x05\x0aaccount-id\x02\x0eclient-default\x02\ -\x0becs-support\x02\x04name\x02\x08networks\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x0a\x0aaccount-id\x05\x17anonymized-logs-enabled\x05\x0eclient-default\x05\ -\x0ddoh-subdomain\x05\x0becs-support\x05\x02ip\x05\x10ipv4-destination\x05\x04na\ -me\x05\x08networks\x05\x0apolicy-ids\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04name\ -s\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0;pulumi:cloudflare/zero-trust-d\ -ns-location@5.43.1--0.0.0-DEV\x05\x90\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06\ -output\x03\0\0\x01h\x01\x01r\x05\x0aaccount-id\x02\x08activate\x02\x06custom\x02\ -\x0fgateway-managed\x02\x14validity-period-days\x02\x04\0\x04args\x03\0\x03\x01i\ -\x01\x01r\x0b\x0aaccount-id\x05\x08activate\x05\x0ebinding-status\x05\x0acreated\ --at\x05\x06custom\x05\x0aexpires-on\x05\x0fgateway-managed\x05\x06in-use\x05\x0a\ -qs-pack-id\x05\x0buploaded-on\x05\x14validity-period-days\x05\x04\0\x03res\x03\0\ -\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0Bpulumi:cl\ -oudflare/zero-trust-gateway-certificate@5.43.1--0.0.0-DEV\x05\x91\x01\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x0b\x0aaccount-id\x02\x06\ -action\x02\x0bdescription\x02\x0edevice-posture\x02\x07enabled\x02\x07filters\x02\ -\x08identity\x02\x04name\x02\x0aprecedence\x02\x0drule-settings\x02\x07traffic\x02\ -\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0c\x0aaccount-id\x05\x06action\x05\x0bde\ -scription\x05\x0edevice-posture\x05\x07enabled\x05\x07filters\x05\x08identity\x05\ -\x04name\x05\x0aprecedence\x05\x0drule-settings\x05\x07traffic\x05\x07version\x05\ -\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\ -\x04\0=pulumi:cloudflare/zero-trust-gateway-policy@5.43.1--0.0.0-DEV\x05\x92\x01\ -\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0aaccou\ -nt-id\x02\x03ips\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x04\x0aac\ -count-id\x05\x03ips\x05\x04name\x05\x09subdomain\x05\x04\0\x03res\x03\0\x06\x01@\ -\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0Epulumi:cloudflare/\ -zero-trust-gateway-proxy-endpoint@5.43.1--0.0.0-DEV\x05\x93\x01\x01B\x0a\x02\x03\ -\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x11\x0aaccount-id\x02\x14acti\ -vity-log-enabled\x02\x09antivirus\x02\x0ablock-page\x02\x0dbody-scanning\x02\x0b\ -certificate\x02\x12custom-certificate\x02\x17extended-email-matching\x02\x04fips\ -\x02\x07logging\x02&non-identity-browser-isolation-enabled\x02\x0bpayload-log\x02\ -\x1aprotocol-detection-enabled\x02\x05proxy\x02\x0fssh-session-log\x02\x13tls-de\ -crypt-enabled\x02\x1durl-browser-isolation-enabled\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x11\x0aaccount-id\x05\x14activity-log-enabled\x05\x09antivirus\x05\x0a\ -block-page\x05\x0dbody-scanning\x05\x0bcertificate\x05\x12custom-certificate\x05\ -\x17extended-email-matching\x05\x04fips\x05\x07logging\x05&non-identity-browser-\ -isolation-enabled\x05\x0bpayload-log\x05\x1aprotocol-detection-enabled\x05\x05pr\ -oxy\x05\x0fssh-session-log\x05\x13tls-decrypt-enabled\x05\x1durl-browser-isolati\ -on-enabled\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06\ -invoke\x01\x08\x04\0?pulumi:cloudflare/zero-trust-gateway-settings@5.43.1--0.0.0\ --DEV\x05\x94\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01\ -r\x03\x0aaccount-id\x02\x08hostname\x02\x02ip\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x05\x0aaccount-id\x05\x0acreated-at\x05\x08hostname\x05\x02ip\x05\x0bmodif\ -ied-at\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06i\ -nvoke\x01\x08\x04\0Kpulumi:cloudflare/zero-trust-infrastructure-access-target@5.\ -43.1--0.0.0-DEV\x05\x95\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\ -\x01h\x01\x01r\x02\x0aaccount-id\x02\x1akey-rotation-interval-days\x02\x04\0\x04\ -args\x03\0\x03\x01i\x01\x01r\x02\x0aaccount-id\x05\x1akey-rotation-interval-days\ -\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\ -\x08\x04\0Kpulumi:cloudflare/zero-trust-key-access-key-configuration@5.43.1--0.0\ -.0-DEV\x05\x96\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x06\x0aaccount-id\x02\x0bdescription\x02\x05items\x02\x17items-with-descri\ -ptions\x02\x04name\x02\x04type\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x06\x0a\ -account-id\x05\x0bdescription\x05\x05items\x05\x17items-with-descriptions\x05\x04\ -name\x05\x04type\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\ -\0\x06invoke\x01\x08\x04\03pulumi:cloudflare/zero-trust-list@5.43.1--0.0.0-DEV\x05\ -\x97\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0a\ -account-id\x02\x07domains\x02\x09policy-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01\ -r\x03\x0aaccount-id\x05\x07domains\x05\x09policy-id\x05\x04\0\x03res\x03\0\x06\x01\ -@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0Dpulumi:cloudflare\ -/zero-trust-local-fallback-domain@5.43.1--0.0.0-DEV\x05\x98\x01\x01B\x0a\x02\x03\ -\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x02\x0aaccount-id\x02\x09beha\ -viors\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x02\x0aaccount-id\x05\x09behavio\ -rs\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invok\ -e\x01\x08\x04\0pulumi:cloudflare/get-\ -tunnel-virtual-network@5.43.1--0.0.0-DEV\x05\xbc\x01\x01B\x07\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01i\x01\x01r\x03\x05email\x02\x02id\x02\x08username\x02\ -\x04\0\x03res\x03\0\x03\x01@\0\0\x04\x04\0\x06invoke\x01\x05\x04\0,pulumi:cloudf\ -lare/get-user@5.43.1--0.0.0-DEV\x05\xbd\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06\ -output\x03\0\0\x01h\x01\x01r\x04\x0aaccount-id\x02\x06domain\x02\x04name\x02\x07\ -zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x06\x0aaccount-id\x05\x03aud\x05\ -\x06domain\x05\x02id\x05\x04name\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x01\ -\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0Epulumi:cloudflare/get-zero-trus\ -t-access-application@5.43.1--0.0.0-DEV\x05\xbe\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\ -\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0aaccount-id\x02\x04name\x02\x07zone-id\x02\ -\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x05\x0aaccount-id\x05\x02id\x05\x04name\x05\ -\x04type\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\ -\0\x06invoke\x01\x08\x04\0Kpulumi:cloudflare/get-zero-trust-access-identity-prov\ -ider@5.43.1--0.0.0-DEV\x05\xbf\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\ -\0\0\x01h\x01\x01r\x08\x0aaccount-id\x02\x0dcreated-after\x02\x08hostname\x02\x11\ -hostname-contains\x02\x04ipv4\x02\x04ipv6\x02\x0emodified-after\x02\x12virtual-n\ -etwork-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0a\x0aaccount-id\x05\x0dcre\ -ated-after\x05\x08hostname\x05\x11hostname-contains\x05\x02id\x05\x04ipv4\x05\x04\ -ipv6\x05\x0emodified-after\x05\x07targets\x05\x12virtual-network-id\x05\x04\0\x03\ -res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0Ppulumi:cl\ -oudflare/get-zero-trust-infrastructure-access-targets@5.43.1--0.0.0-DEV\x05\xc0\x01\ -\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0aaccou\ -nt-id\x02\x0ais-deleted\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x07\ -\x0aaccount-id\x05\x02id\x05\x0ais-deleted\x05\x04name\x05\x0dremote-config\x05\x06\ -status\x05\x0btunnel-type\x05\x04\0\x03res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\ -\0\x06invoke\x01\x08\x04\0Epulumi:cloudflare/get-zero-trust-tunnel-cloudflared@5\ -.43.1--0.0.0-DEV\x05\xc1\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\ -\x01h\x01\x01r\x02\x0aaccount-id\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x05\x0aaccount-id\x05\x07comment\x05\x02id\x05\x0ais-default\x05\x04name\x05\ -\x04\0\x03res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0\ -Ipulumi:cloudflare/get-zero-trust-tunnel-virtual-network@5.43.1--0.0.0-DEV\x05\xc2\ -\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x03\x0aa\ -ccount-id\x02\x04name\x02\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x09\ -\x0aaccount-id\x05\x02id\x05\x04name\x05\x0cname-servers\x05\x06paused\x05\x04pl\ -an\x05\x06status\x05\x13vanity-name-servers\x05\x07zone-id\x05\x04\0\x03res\x03\0\ -\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0,pulumi:cloudflare/\ -get-zone@5.43.1--0.0.0-DEV\x05\xc3\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06out\ -put\x03\0\0\x01h\x01\x01r\x01\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01\ -r\x03\x07enabled\x05\x02id\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x01\x04\ -args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0:pulumi:cloudflare/get-zone-cache-re\ -serve@5.43.1--0.0.0-DEV\x05\xc4\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\ -\x03\0\0\x01h\x01\x01r\x01\x07zone-id\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0c\ -\x09algorithm\x05\x06digest\x05\x10digest-algorithm\x05\x0bdigest-type\x05\x02ds\ -\x05\x05flags\x05\x02id\x05\x07key-tag\x05\x08key-type\x05\x0apublic-key\x05\x06\ -status\x05\x07zone-id\x05\x04\0\x03res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\ -\x06invoke\x01\x08\x04\03pulumi:cloudflare/get-zone-dnssec@5.43.1--0.0.0-DEV\x05\ -\xc5\x01\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x01\x06\ -filter\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x03\x06filter\x05\x02id\x05\x05\ -zones\x05\x04\0\x03res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\ -\x04\0-pulumi:cloudflare/get-zones@5.43.1--0.0.0-DEV\x05\xc6\x01\x04\05pulumi:cl\ -oudflare/cloudflare-pulumi@5.43.1--0.0.0-DEV\x04\0\x0b\x17\x01\0\x11cloudflare-p\ -ulumi\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.\ -0\x10wit-bindgen-rust\x060.35.0"; -#[inline(never)] -#[doc(hidden)] -pub fn __link_custom_section_describing_imports() { - wit_bindgen_rt::maybe_link_cabi_realloc(); -} diff --git a/providers/pulumi_wasm_provider_cloudflare/src/lib.rs b/providers/pulumi_wasm_provider_cloudflare/src/lib.rs index 04bc47418..e47c7f1e8 100644 --- a/providers/pulumi_wasm_provider_cloudflare/src/lib.rs +++ b/providers/pulumi_wasm_provider_cloudflare/src/lib.rs @@ -1,9 +1,13 @@ mod resource; mod function; -#[allow(unused_braces)] -#[allow(unused_imports)] -mod bindings; +mod bindings { + wit_bindgen::generate!({ + // the name of the world in the `*.wit` input file + world: "cloudflare-pulumi", + generate_all, + }); +} bindings::export!(Component with_types_in bindings); struct Component {} diff --git a/providers/pulumi_wasm_provider_docker/Cargo.toml b/providers/pulumi_wasm_provider_docker/Cargo.toml index 6670936e7..e7347a817 100644 --- a/providers/pulumi_wasm_provider_docker/Cargo.toml +++ b/providers/pulumi_wasm_provider_docker/Cargo.toml @@ -9,15 +9,5 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -wit-bindgen-rt.workspace = true +wit-bindgen.workspace = true pulumi_wasm_common.workspace = true - -[package.metadata.component] -package = "pulumi:docker" - -[package.metadata.component.target] -path = "wit" -world = "docker-pulumi" - -[package.metadata.component.target.dependencies] -"component:pulumi-wasm" = { path = "wit/deps/pulumi-wasm.wit" } diff --git a/providers/pulumi_wasm_provider_docker/src/bindings.rs b/providers/pulumi_wasm_provider_docker/src/bindings.rs deleted file mode 100644 index cf2f44015..000000000 --- a/providers/pulumi_wasm_provider_docker/src/bindings.rs +++ /dev/null @@ -1,4036 +0,0 @@ -#[allow(dead_code)] -pub mod component { - #[allow(dead_code)] - pub mod pulumi_wasm { - #[allow(dead_code, clippy::all)] - pub mod output_interface { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::__link_custom_section_describing_imports; - use super::super::super::_rt; - #[derive(Debug)] - #[repr(transparent)] - pub struct Output { - handle: _rt::Resource, - } - impl Output { - #[doc(hidden)] - pub unsafe fn from_handle(handle: u32) -> Self { - Self { - handle: _rt::Resource::from_handle(handle), - } - } - #[doc(hidden)] - pub fn take_handle(&self) -> u32 { - _rt::Resource::take_handle(&self.handle) - } - #[doc(hidden)] - pub fn handle(&self) -> u32 { - _rt::Resource::handle(&self.handle) - } - } - unsafe impl _rt::WasmResource for Output { - #[inline] - unsafe fn drop(_handle: u32) { - #[cfg(not(target_arch = "wasm32"))] - unreachable!(); - #[cfg(target_arch = "wasm32")] - { - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[resource-drop]output"] - fn drop(_: u32); - } - drop(_handle); - } - } - } - impl Output { - #[allow(unused_unsafe, clippy::all)] - pub fn new(value: &str) -> Self { - unsafe { - let vec0 = value; - let ptr0 = vec0.as_ptr().cast::(); - let len0 = vec0.len(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[constructor]output"] - fn wit_import(_: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import(ptr0.cast_mut(), len0); - Output::from_handle(ret as u32) - } - } - } - impl Output { - #[allow(unused_unsafe, clippy::all)] - pub fn map(&self, function_name: &str) -> Output { - unsafe { - let vec0 = function_name; - let ptr0 = vec0.as_ptr().cast::(); - let len0 = vec0.len(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[method]output.map"] - fn wit_import(_: i32, _: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: i32, _: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import( - (self).handle() as i32, - ptr0.cast_mut(), - len0, - ); - Output::from_handle(ret as u32) - } - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn combine(outputs: &[&Output]) -> Output { - unsafe { - let vec0 = outputs; - let len0 = vec0.len(); - let layout0 = _rt::alloc::Layout::from_size_align_unchecked( - vec0.len() * 4, - 4, - ); - let result0 = if layout0.size() != 0 { - let ptr = _rt::alloc::alloc(layout0).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout0); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec0.into_iter().enumerate() { - let base = result0.add(i * 4); - { - *base.add(0).cast::() = (e).handle() as i32; - } - } - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "combine"] - fn wit_import(_: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import(result0, len0); - if layout0.size() != 0 { - _rt::alloc::dealloc(result0.cast(), layout0); - } - Output::from_handle(ret as u32) - } - } - } - #[allow(dead_code, clippy::all)] - pub mod register_interface { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::__link_custom_section_describing_imports; - use super::super::super::_rt; - pub type Output = super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct ObjectField<'a> { - pub name: _rt::String, - pub value: &'a Output, - } - impl<'a> ::core::fmt::Debug for ObjectField<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ObjectField") - .field("name", &self.name) - .field("value", &self.value) - .finish() - } - } - #[derive(Clone)] - pub struct ResultField { - pub name: _rt::String, - } - impl ::core::fmt::Debug for ResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResultField").field("name", &self.name).finish() - } - } - pub struct RegisterResourceResultField { - pub name: _rt::String, - pub output: Output, - } - impl ::core::fmt::Debug for RegisterResourceResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceResultField") - .field("name", &self.name) - .field("output", &self.output) - .finish() - } - } - pub struct RegisterResourceRequest<'a> { - pub type_: _rt::String, - pub name: _rt::String, - pub object: _rt::Vec>, - pub results: _rt::Vec, - } - impl<'a> ::core::fmt::Debug for RegisterResourceRequest<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceRequest") - .field("type", &self.type_) - .field("name", &self.name) - .field("object", &self.object) - .field("results", &self.results) - .finish() - } - } - pub struct RegisterResourceResult { - pub fields: _rt::Vec, - } - impl ::core::fmt::Debug for RegisterResourceResult { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceResult") - .field("fields", &self.fields) - .finish() - } - } - pub struct ResourceInvokeResultField { - pub name: _rt::String, - pub output: Output, - } - impl ::core::fmt::Debug for ResourceInvokeResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeResultField") - .field("name", &self.name) - .field("output", &self.output) - .finish() - } - } - pub struct ResourceInvokeRequest<'a> { - pub token: _rt::String, - pub object: _rt::Vec>, - pub results: _rt::Vec, - } - impl<'a> ::core::fmt::Debug for ResourceInvokeRequest<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeRequest") - .field("token", &self.token) - .field("object", &self.object) - .field("results", &self.results) - .finish() - } - } - pub struct ResourceInvokeResult { - pub fields: _rt::Vec, - } - impl ::core::fmt::Debug for ResourceInvokeResult { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeResult") - .field("fields", &self.fields) - .finish() - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn register( - request: &RegisterResourceRequest<'_>, - ) -> RegisterResourceResult { - unsafe { - #[repr(align(4))] - struct RetArea([::core::mem::MaybeUninit; 8]); - let mut ret_area = RetArea([::core::mem::MaybeUninit::uninit(); 8]); - let RegisterResourceRequest { - type_: type_0, - name: name0, - object: object0, - results: results0, - } = request; - let vec1 = type_0; - let ptr1 = vec1.as_ptr().cast::(); - let len1 = vec1.len(); - let vec2 = name0; - let ptr2 = vec2.as_ptr().cast::(); - let len2 = vec2.len(); - let vec5 = object0; - let len5 = vec5.len(); - let layout5 = _rt::alloc::Layout::from_size_align_unchecked( - vec5.len() * 12, - 4, - ); - let result5 = if layout5.size() != 0 { - let ptr = _rt::alloc::alloc(layout5).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout5); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec5.into_iter().enumerate() { - let base = result5.add(i * 12); - { - let ObjectField { name: name3, value: value3 } = e; - let vec4 = name3; - let ptr4 = vec4.as_ptr().cast::(); - let len4 = vec4.len(); - *base.add(4).cast::() = len4; - *base.add(0).cast::<*mut u8>() = ptr4.cast_mut(); - *base.add(8).cast::() = (value3).handle() as i32; - } - } - let vec8 = results0; - let len8 = vec8.len(); - let layout8 = _rt::alloc::Layout::from_size_align_unchecked( - vec8.len() * 8, - 4, - ); - let result8 = if layout8.size() != 0 { - let ptr = _rt::alloc::alloc(layout8).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout8); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec8.into_iter().enumerate() { - let base = result8.add(i * 8); - { - let ResultField { name: name6 } = e; - let vec7 = name6; - let ptr7 = vec7.as_ptr().cast::(); - let len7 = vec7.len(); - *base.add(4).cast::() = len7; - *base.add(0).cast::<*mut u8>() = ptr7.cast_mut(); - } - } - let ptr9 = ret_area.0.as_mut_ptr().cast::(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/register-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "register"] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ); - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ) { - unreachable!() - } - wit_import( - ptr1.cast_mut(), - len1, - ptr2.cast_mut(), - len2, - result5, - len5, - result8, - len8, - ptr9, - ); - let l10 = *ptr9.add(0).cast::<*mut u8>(); - let l11 = *ptr9.add(4).cast::(); - let base16 = l10; - let len16 = l11; - let mut result16 = _rt::Vec::with_capacity(len16); - for i in 0..len16 { - let base = base16.add(i * 12); - let e16 = { - let l12 = *base.add(0).cast::<*mut u8>(); - let l13 = *base.add(4).cast::(); - let len14 = l13; - let bytes14 = _rt::Vec::from_raw_parts( - l12.cast(), - len14, - len14, - ); - let l15 = *base.add(8).cast::(); - RegisterResourceResultField { - name: _rt::string_lift(bytes14), - output: super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ), - } - }; - result16.push(e16); - } - _rt::cabi_dealloc(base16, len16 * 12, 4); - if layout5.size() != 0 { - _rt::alloc::dealloc(result5.cast(), layout5); - } - if layout8.size() != 0 { - _rt::alloc::dealloc(result8.cast(), layout8); - } - RegisterResourceResult { - fields: result16, - } - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn invoke(request: &ResourceInvokeRequest<'_>) -> ResourceInvokeResult { - unsafe { - #[repr(align(4))] - struct RetArea([::core::mem::MaybeUninit; 8]); - let mut ret_area = RetArea([::core::mem::MaybeUninit::uninit(); 8]); - let ResourceInvokeRequest { - token: token0, - object: object0, - results: results0, - } = request; - let vec1 = token0; - let ptr1 = vec1.as_ptr().cast::(); - let len1 = vec1.len(); - let vec4 = object0; - let len4 = vec4.len(); - let layout4 = _rt::alloc::Layout::from_size_align_unchecked( - vec4.len() * 12, - 4, - ); - let result4 = if layout4.size() != 0 { - let ptr = _rt::alloc::alloc(layout4).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout4); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec4.into_iter().enumerate() { - let base = result4.add(i * 12); - { - let ObjectField { name: name2, value: value2 } = e; - let vec3 = name2; - let ptr3 = vec3.as_ptr().cast::(); - let len3 = vec3.len(); - *base.add(4).cast::() = len3; - *base.add(0).cast::<*mut u8>() = ptr3.cast_mut(); - *base.add(8).cast::() = (value2).handle() as i32; - } - } - let vec7 = results0; - let len7 = vec7.len(); - let layout7 = _rt::alloc::Layout::from_size_align_unchecked( - vec7.len() * 8, - 4, - ); - let result7 = if layout7.size() != 0 { - let ptr = _rt::alloc::alloc(layout7).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout7); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec7.into_iter().enumerate() { - let base = result7.add(i * 8); - { - let ResultField { name: name5 } = e; - let vec6 = name5; - let ptr6 = vec6.as_ptr().cast::(); - let len6 = vec6.len(); - *base.add(4).cast::() = len6; - *base.add(0).cast::<*mut u8>() = ptr6.cast_mut(); - } - } - let ptr8 = ret_area.0.as_mut_ptr().cast::(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/register-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "invoke"] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ); - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ) { - unreachable!() - } - wit_import( - ptr1.cast_mut(), - len1, - result4, - len4, - result7, - len7, - ptr8, - ); - let l9 = *ptr8.add(0).cast::<*mut u8>(); - let l10 = *ptr8.add(4).cast::(); - let base15 = l9; - let len15 = l10; - let mut result15 = _rt::Vec::with_capacity(len15); - for i in 0..len15 { - let base = base15.add(i * 12); - let e15 = { - let l11 = *base.add(0).cast::<*mut u8>(); - let l12 = *base.add(4).cast::(); - let len13 = l12; - let bytes13 = _rt::Vec::from_raw_parts( - l11.cast(), - len13, - len13, - ); - let l14 = *base.add(8).cast::(); - ResourceInvokeResultField { - name: _rt::string_lift(bytes13), - output: super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l14 as u32, - ), - } - }; - result15.push(e15); - } - _rt::cabi_dealloc(base15, len15 * 12, 4); - if layout4.size() != 0 { - _rt::alloc::dealloc(result4.cast(), layout4); - } - if layout7.size() != 0 { - _rt::alloc::dealloc(result7.cast(), layout7); - } - ResourceInvokeResult { - fields: result15, - } - } - } - } - } -} -#[allow(dead_code)] -pub mod exports { - #[allow(dead_code)] - pub mod pulumi { - #[allow(dead_code)] - pub mod docker { - #[allow(dead_code, clippy::all)] - pub mod container { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub attach: &'a Output, - pub capabilities: &'a Output, - pub cgroupns_mode: &'a Output, - pub command: &'a Output, - pub container_read_refresh_timeout_milliseconds: &'a Output, - pub cpu_set: &'a Output, - pub cpu_shares: &'a Output, - pub destroy_grace_seconds: &'a Output, - pub devices: &'a Output, - pub dns: &'a Output, - pub dns_opts: &'a Output, - pub dns_searches: &'a Output, - pub domainname: &'a Output, - pub entrypoints: &'a Output, - pub envs: &'a Output, - pub gpus: &'a Output, - pub group_adds: &'a Output, - pub healthcheck: &'a Output, - pub hostname: &'a Output, - pub hosts: &'a Output, - pub image: &'a Output, - pub init: &'a Output, - pub ipc_mode: &'a Output, - pub labels: &'a Output, - pub log_driver: &'a Output, - pub log_opts: &'a Output, - pub logs: &'a Output, - pub max_retry_count: &'a Output, - pub memory: &'a Output, - pub memory_swap: &'a Output, - pub mounts: &'a Output, - pub must_run: &'a Output, - pub name: &'a Output, - pub network_mode: &'a Output, - pub networks_advanced: &'a Output, - pub pid_mode: &'a Output, - pub ports: &'a Output, - pub privileged: &'a Output, - pub publish_all_ports: &'a Output, - pub read_only: &'a Output, - pub remove_volumes: &'a Output, - pub restart: &'a Output, - pub rm: &'a Output, - pub runtime: &'a Output, - pub security_opts: &'a Output, - pub shm_size: &'a Output, - pub start: &'a Output, - pub stdin_open: &'a Output, - pub stop_signal: &'a Output, - pub stop_timeout: &'a Output, - pub storage_opts: &'a Output, - pub sysctls: &'a Output, - pub tmpfs: &'a Output, - pub tty: &'a Output, - pub ulimits: &'a Output, - pub uploads: &'a Output, - pub user: &'a Output, - pub userns_mode: &'a Output, - pub volumes: &'a Output, - pub wait: &'a Output, - pub wait_timeout: &'a Output, - pub working_dir: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("attach", &self.attach) - .field("capabilities", &self.capabilities) - .field("cgroupns-mode", &self.cgroupns_mode) - .field("command", &self.command) - .field( - "container-read-refresh-timeout-milliseconds", - &self.container_read_refresh_timeout_milliseconds, - ) - .field("cpu-set", &self.cpu_set) - .field("cpu-shares", &self.cpu_shares) - .field("destroy-grace-seconds", &self.destroy_grace_seconds) - .field("devices", &self.devices) - .field("dns", &self.dns) - .field("dns-opts", &self.dns_opts) - .field("dns-searches", &self.dns_searches) - .field("domainname", &self.domainname) - .field("entrypoints", &self.entrypoints) - .field("envs", &self.envs) - .field("gpus", &self.gpus) - .field("group-adds", &self.group_adds) - .field("healthcheck", &self.healthcheck) - .field("hostname", &self.hostname) - .field("hosts", &self.hosts) - .field("image", &self.image) - .field("init", &self.init) - .field("ipc-mode", &self.ipc_mode) - .field("labels", &self.labels) - .field("log-driver", &self.log_driver) - .field("log-opts", &self.log_opts) - .field("logs", &self.logs) - .field("max-retry-count", &self.max_retry_count) - .field("memory", &self.memory) - .field("memory-swap", &self.memory_swap) - .field("mounts", &self.mounts) - .field("must-run", &self.must_run) - .field("name", &self.name) - .field("network-mode", &self.network_mode) - .field("networks-advanced", &self.networks_advanced) - .field("pid-mode", &self.pid_mode) - .field("ports", &self.ports) - .field("privileged", &self.privileged) - .field("publish-all-ports", &self.publish_all_ports) - .field("read-only", &self.read_only) - .field("remove-volumes", &self.remove_volumes) - .field("restart", &self.restart) - .field("rm", &self.rm) - .field("runtime", &self.runtime) - .field("security-opts", &self.security_opts) - .field("shm-size", &self.shm_size) - .field("start", &self.start) - .field("stdin-open", &self.stdin_open) - .field("stop-signal", &self.stop_signal) - .field("stop-timeout", &self.stop_timeout) - .field("storage-opts", &self.storage_opts) - .field("sysctls", &self.sysctls) - .field("tmpfs", &self.tmpfs) - .field("tty", &self.tty) - .field("ulimits", &self.ulimits) - .field("uploads", &self.uploads) - .field("user", &self.user) - .field("userns-mode", &self.userns_mode) - .field("volumes", &self.volumes) - .field("wait", &self.wait) - .field("wait-timeout", &self.wait_timeout) - .field("working-dir", &self.working_dir) - .finish() - } - } - pub struct Res { - pub attach: Output, - pub bridge: Output, - pub capabilities: Output, - pub cgroupns_mode: Output, - pub command: Output, - pub container_logs: Output, - pub container_read_refresh_timeout_milliseconds: Output, - pub cpu_set: Output, - pub cpu_shares: Output, - pub destroy_grace_seconds: Output, - pub devices: Output, - pub dns: Output, - pub dns_opts: Output, - pub dns_searches: Output, - pub domainname: Output, - pub entrypoints: Output, - pub envs: Output, - pub exit_code: Output, - pub gpus: Output, - pub group_adds: Output, - pub healthcheck: Output, - pub hostname: Output, - pub hosts: Output, - pub image: Output, - pub init: Output, - pub ipc_mode: Output, - pub labels: Output, - pub log_driver: Output, - pub log_opts: Output, - pub logs: Output, - pub max_retry_count: Output, - pub memory: Output, - pub memory_swap: Output, - pub mounts: Output, - pub must_run: Output, - pub name: Output, - pub network_datas: Output, - pub network_mode: Output, - pub networks_advanced: Output, - pub pid_mode: Output, - pub ports: Output, - pub privileged: Output, - pub publish_all_ports: Output, - pub read_only: Output, - pub remove_volumes: Output, - pub restart: Output, - pub rm: Output, - pub runtime: Output, - pub security_opts: Output, - pub shm_size: Output, - pub start: Output, - pub stdin_open: Output, - pub stop_signal: Output, - pub stop_timeout: Output, - pub storage_opts: Output, - pub sysctls: Output, - pub tmpfs: Output, - pub tty: Output, - pub ulimits: Output, - pub uploads: Output, - pub user: Output, - pub userns_mode: Output, - pub volumes: Output, - pub wait: Output, - pub wait_timeout: Output, - pub working_dir: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("attach", &self.attach) - .field("bridge", &self.bridge) - .field("capabilities", &self.capabilities) - .field("cgroupns-mode", &self.cgroupns_mode) - .field("command", &self.command) - .field("container-logs", &self.container_logs) - .field( - "container-read-refresh-timeout-milliseconds", - &self.container_read_refresh_timeout_milliseconds, - ) - .field("cpu-set", &self.cpu_set) - .field("cpu-shares", &self.cpu_shares) - .field("destroy-grace-seconds", &self.destroy_grace_seconds) - .field("devices", &self.devices) - .field("dns", &self.dns) - .field("dns-opts", &self.dns_opts) - .field("dns-searches", &self.dns_searches) - .field("domainname", &self.domainname) - .field("entrypoints", &self.entrypoints) - .field("envs", &self.envs) - .field("exit-code", &self.exit_code) - .field("gpus", &self.gpus) - .field("group-adds", &self.group_adds) - .field("healthcheck", &self.healthcheck) - .field("hostname", &self.hostname) - .field("hosts", &self.hosts) - .field("image", &self.image) - .field("init", &self.init) - .field("ipc-mode", &self.ipc_mode) - .field("labels", &self.labels) - .field("log-driver", &self.log_driver) - .field("log-opts", &self.log_opts) - .field("logs", &self.logs) - .field("max-retry-count", &self.max_retry_count) - .field("memory", &self.memory) - .field("memory-swap", &self.memory_swap) - .field("mounts", &self.mounts) - .field("must-run", &self.must_run) - .field("name", &self.name) - .field("network-datas", &self.network_datas) - .field("network-mode", &self.network_mode) - .field("networks-advanced", &self.networks_advanced) - .field("pid-mode", &self.pid_mode) - .field("ports", &self.ports) - .field("privileged", &self.privileged) - .field("publish-all-ports", &self.publish_all_ports) - .field("read-only", &self.read_only) - .field("remove-volumes", &self.remove_volumes) - .field("restart", &self.restart) - .field("rm", &self.rm) - .field("runtime", &self.runtime) - .field("security-opts", &self.security_opts) - .field("shm-size", &self.shm_size) - .field("start", &self.start) - .field("stdin-open", &self.stdin_open) - .field("stop-signal", &self.stop_signal) - .field("stop-timeout", &self.stop_timeout) - .field("storage-opts", &self.storage_opts) - .field("sysctls", &self.sysctls) - .field("tmpfs", &self.tmpfs) - .field("tty", &self.tty) - .field("ulimits", &self.ulimits) - .field("uploads", &self.uploads) - .field("user", &self.user) - .field("userns-mode", &self.userns_mode) - .field("volumes", &self.volumes) - .field("wait", &self.wait) - .field("wait-timeout", &self.wait_timeout) - .field("working-dir", &self.working_dir) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: *mut u8) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle4; - let handle6; - let handle8; - let handle10; - let handle12; - let handle14; - let handle16; - let handle18; - let handle20; - let handle22; - let handle24; - let handle26; - let handle28; - let handle30; - let handle32; - let handle34; - let handle36; - let handle38; - let handle40; - let handle42; - let handle44; - let handle46; - let handle48; - let handle50; - let handle52; - let handle54; - let handle56; - let handle58; - let handle60; - let handle62; - let handle64; - let handle66; - let handle68; - let handle70; - let handle72; - let handle74; - let handle76; - let handle78; - let handle80; - let handle82; - let handle84; - let handle86; - let handle88; - let handle90; - let handle92; - let handle94; - let handle96; - let handle98; - let handle100; - let handle102; - let handle104; - let handle106; - let handle108; - let handle110; - let handle112; - let handle114; - let handle116; - let handle118; - let handle120; - let handle122; - let handle124; - let handle126; - let l0 = *arg0.add(0).cast::<*mut u8>(); - let l1 = *arg0.add(4).cast::(); - let len2 = l1; - let bytes2 = _rt::Vec::from_raw_parts(l0.cast(), len2, len2); - let l3 = *arg0.add(8).cast::(); - let l5 = *arg0.add(12).cast::(); - let l7 = *arg0.add(16).cast::(); - let l9 = *arg0.add(20).cast::(); - let l11 = *arg0.add(24).cast::(); - let l13 = *arg0.add(28).cast::(); - let l15 = *arg0.add(32).cast::(); - let l17 = *arg0.add(36).cast::(); - let l19 = *arg0.add(40).cast::(); - let l21 = *arg0.add(44).cast::(); - let l23 = *arg0.add(48).cast::(); - let l25 = *arg0.add(52).cast::(); - let l27 = *arg0.add(56).cast::(); - let l29 = *arg0.add(60).cast::(); - let l31 = *arg0.add(64).cast::(); - let l33 = *arg0.add(68).cast::(); - let l35 = *arg0.add(72).cast::(); - let l37 = *arg0.add(76).cast::(); - let l39 = *arg0.add(80).cast::(); - let l41 = *arg0.add(84).cast::(); - let l43 = *arg0.add(88).cast::(); - let l45 = *arg0.add(92).cast::(); - let l47 = *arg0.add(96).cast::(); - let l49 = *arg0.add(100).cast::(); - let l51 = *arg0.add(104).cast::(); - let l53 = *arg0.add(108).cast::(); - let l55 = *arg0.add(112).cast::(); - let l57 = *arg0.add(116).cast::(); - let l59 = *arg0.add(120).cast::(); - let l61 = *arg0.add(124).cast::(); - let l63 = *arg0.add(128).cast::(); - let l65 = *arg0.add(132).cast::(); - let l67 = *arg0.add(136).cast::(); - let l69 = *arg0.add(140).cast::(); - let l71 = *arg0.add(144).cast::(); - let l73 = *arg0.add(148).cast::(); - let l75 = *arg0.add(152).cast::(); - let l77 = *arg0.add(156).cast::(); - let l79 = *arg0.add(160).cast::(); - let l81 = *arg0.add(164).cast::(); - let l83 = *arg0.add(168).cast::(); - let l85 = *arg0.add(172).cast::(); - let l87 = *arg0.add(176).cast::(); - let l89 = *arg0.add(180).cast::(); - let l91 = *arg0.add(184).cast::(); - let l93 = *arg0.add(188).cast::(); - let l95 = *arg0.add(192).cast::(); - let l97 = *arg0.add(196).cast::(); - let l99 = *arg0.add(200).cast::(); - let l101 = *arg0.add(204).cast::(); - let l103 = *arg0.add(208).cast::(); - let l105 = *arg0.add(212).cast::(); - let l107 = *arg0.add(216).cast::(); - let l109 = *arg0.add(220).cast::(); - let l111 = *arg0.add(224).cast::(); - let l113 = *arg0.add(228).cast::(); - let l115 = *arg0.add(232).cast::(); - let l117 = *arg0.add(236).cast::(); - let l119 = *arg0.add(240).cast::(); - let l121 = *arg0.add(244).cast::(); - let l123 = *arg0.add(248).cast::(); - let l125 = *arg0.add(252).cast::(); - let result127 = T::invoke( - _rt::string_lift(bytes2), - Args { - attach: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l3 as u32, - ); - &handle4 - }, - capabilities: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l5 as u32, - ); - &handle6 - }, - cgroupns_mode: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l7 as u32, - ); - &handle8 - }, - command: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l9 as u32, - ); - &handle10 - }, - container_read_refresh_timeout_milliseconds: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l11 as u32, - ); - &handle12 - }, - cpu_set: { - handle14 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l13 as u32, - ); - &handle14 - }, - cpu_shares: { - handle16 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ); - &handle16 - }, - destroy_grace_seconds: { - handle18 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l17 as u32, - ); - &handle18 - }, - devices: { - handle20 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l19 as u32, - ); - &handle20 - }, - dns: { - handle22 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l21 as u32, - ); - &handle22 - }, - dns_opts: { - handle24 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l23 as u32, - ); - &handle24 - }, - dns_searches: { - handle26 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l25 as u32, - ); - &handle26 - }, - domainname: { - handle28 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l27 as u32, - ); - &handle28 - }, - entrypoints: { - handle30 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l29 as u32, - ); - &handle30 - }, - envs: { - handle32 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l31 as u32, - ); - &handle32 - }, - gpus: { - handle34 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l33 as u32, - ); - &handle34 - }, - group_adds: { - handle36 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l35 as u32, - ); - &handle36 - }, - healthcheck: { - handle38 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l37 as u32, - ); - &handle38 - }, - hostname: { - handle40 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l39 as u32, - ); - &handle40 - }, - hosts: { - handle42 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l41 as u32, - ); - &handle42 - }, - image: { - handle44 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l43 as u32, - ); - &handle44 - }, - init: { - handle46 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l45 as u32, - ); - &handle46 - }, - ipc_mode: { - handle48 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l47 as u32, - ); - &handle48 - }, - labels: { - handle50 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l49 as u32, - ); - &handle50 - }, - log_driver: { - handle52 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l51 as u32, - ); - &handle52 - }, - log_opts: { - handle54 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l53 as u32, - ); - &handle54 - }, - logs: { - handle56 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l55 as u32, - ); - &handle56 - }, - max_retry_count: { - handle58 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l57 as u32, - ); - &handle58 - }, - memory: { - handle60 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l59 as u32, - ); - &handle60 - }, - memory_swap: { - handle62 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l61 as u32, - ); - &handle62 - }, - mounts: { - handle64 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l63 as u32, - ); - &handle64 - }, - must_run: { - handle66 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l65 as u32, - ); - &handle66 - }, - name: { - handle68 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l67 as u32, - ); - &handle68 - }, - network_mode: { - handle70 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l69 as u32, - ); - &handle70 - }, - networks_advanced: { - handle72 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l71 as u32, - ); - &handle72 - }, - pid_mode: { - handle74 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l73 as u32, - ); - &handle74 - }, - ports: { - handle76 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l75 as u32, - ); - &handle76 - }, - privileged: { - handle78 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l77 as u32, - ); - &handle78 - }, - publish_all_ports: { - handle80 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l79 as u32, - ); - &handle80 - }, - read_only: { - handle82 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l81 as u32, - ); - &handle82 - }, - remove_volumes: { - handle84 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l83 as u32, - ); - &handle84 - }, - restart: { - handle86 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l85 as u32, - ); - &handle86 - }, - rm: { - handle88 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l87 as u32, - ); - &handle88 - }, - runtime: { - handle90 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l89 as u32, - ); - &handle90 - }, - security_opts: { - handle92 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l91 as u32, - ); - &handle92 - }, - shm_size: { - handle94 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l93 as u32, - ); - &handle94 - }, - start: { - handle96 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l95 as u32, - ); - &handle96 - }, - stdin_open: { - handle98 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l97 as u32, - ); - &handle98 - }, - stop_signal: { - handle100 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l99 as u32, - ); - &handle100 - }, - stop_timeout: { - handle102 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l101 as u32, - ); - &handle102 - }, - storage_opts: { - handle104 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l103 as u32, - ); - &handle104 - }, - sysctls: { - handle106 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l105 as u32, - ); - &handle106 - }, - tmpfs: { - handle108 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l107 as u32, - ); - &handle108 - }, - tty: { - handle110 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l109 as u32, - ); - &handle110 - }, - ulimits: { - handle112 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l111 as u32, - ); - &handle112 - }, - uploads: { - handle114 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l113 as u32, - ); - &handle114 - }, - user: { - handle116 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l115 as u32, - ); - &handle116 - }, - userns_mode: { - handle118 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l117 as u32, - ); - &handle118 - }, - volumes: { - handle120 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l119 as u32, - ); - &handle120 - }, - wait: { - handle122 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l121 as u32, - ); - &handle122 - }, - wait_timeout: { - handle124 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l123 as u32, - ); - &handle124 - }, - working_dir: { - handle126 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l125 as u32, - ); - &handle126 - }, - }, - ); - _rt::cabi_dealloc(arg0, 256, 4); - let ptr128 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - attach: attach129, - bridge: bridge129, - capabilities: capabilities129, - cgroupns_mode: cgroupns_mode129, - command: command129, - container_logs: container_logs129, - container_read_refresh_timeout_milliseconds: container_read_refresh_timeout_milliseconds129, - cpu_set: cpu_set129, - cpu_shares: cpu_shares129, - destroy_grace_seconds: destroy_grace_seconds129, - devices: devices129, - dns: dns129, - dns_opts: dns_opts129, - dns_searches: dns_searches129, - domainname: domainname129, - entrypoints: entrypoints129, - envs: envs129, - exit_code: exit_code129, - gpus: gpus129, - group_adds: group_adds129, - healthcheck: healthcheck129, - hostname: hostname129, - hosts: hosts129, - image: image129, - init: init129, - ipc_mode: ipc_mode129, - labels: labels129, - log_driver: log_driver129, - log_opts: log_opts129, - logs: logs129, - max_retry_count: max_retry_count129, - memory: memory129, - memory_swap: memory_swap129, - mounts: mounts129, - must_run: must_run129, - name: name129, - network_datas: network_datas129, - network_mode: network_mode129, - networks_advanced: networks_advanced129, - pid_mode: pid_mode129, - ports: ports129, - privileged: privileged129, - publish_all_ports: publish_all_ports129, - read_only: read_only129, - remove_volumes: remove_volumes129, - restart: restart129, - rm: rm129, - runtime: runtime129, - security_opts: security_opts129, - shm_size: shm_size129, - start: start129, - stdin_open: stdin_open129, - stop_signal: stop_signal129, - stop_timeout: stop_timeout129, - storage_opts: storage_opts129, - sysctls: sysctls129, - tmpfs: tmpfs129, - tty: tty129, - ulimits: ulimits129, - uploads: uploads129, - user: user129, - userns_mode: userns_mode129, - volumes: volumes129, - wait: wait129, - wait_timeout: wait_timeout129, - working_dir: working_dir129, - } = result127; - *ptr128.add(0).cast::() = (attach129).take_handle() as i32; - *ptr128.add(4).cast::() = (bridge129).take_handle() as i32; - *ptr128.add(8).cast::() = (capabilities129).take_handle() - as i32; - *ptr128.add(12).cast::() = (cgroupns_mode129).take_handle() - as i32; - *ptr128.add(16).cast::() = (command129).take_handle() as i32; - *ptr128.add(20).cast::() = (container_logs129).take_handle() - as i32; - *ptr128.add(24).cast::() = (container_read_refresh_timeout_milliseconds129) - .take_handle() as i32; - *ptr128.add(28).cast::() = (cpu_set129).take_handle() as i32; - *ptr128.add(32).cast::() = (cpu_shares129).take_handle() as i32; - *ptr128.add(36).cast::() = (destroy_grace_seconds129) - .take_handle() as i32; - *ptr128.add(40).cast::() = (devices129).take_handle() as i32; - *ptr128.add(44).cast::() = (dns129).take_handle() as i32; - *ptr128.add(48).cast::() = (dns_opts129).take_handle() as i32; - *ptr128.add(52).cast::() = (dns_searches129).take_handle() - as i32; - *ptr128.add(56).cast::() = (domainname129).take_handle() as i32; - *ptr128.add(60).cast::() = (entrypoints129).take_handle() - as i32; - *ptr128.add(64).cast::() = (envs129).take_handle() as i32; - *ptr128.add(68).cast::() = (exit_code129).take_handle() as i32; - *ptr128.add(72).cast::() = (gpus129).take_handle() as i32; - *ptr128.add(76).cast::() = (group_adds129).take_handle() as i32; - *ptr128.add(80).cast::() = (healthcheck129).take_handle() - as i32; - *ptr128.add(84).cast::() = (hostname129).take_handle() as i32; - *ptr128.add(88).cast::() = (hosts129).take_handle() as i32; - *ptr128.add(92).cast::() = (image129).take_handle() as i32; - *ptr128.add(96).cast::() = (init129).take_handle() as i32; - *ptr128.add(100).cast::() = (ipc_mode129).take_handle() as i32; - *ptr128.add(104).cast::() = (labels129).take_handle() as i32; - *ptr128.add(108).cast::() = (log_driver129).take_handle() - as i32; - *ptr128.add(112).cast::() = (log_opts129).take_handle() as i32; - *ptr128.add(116).cast::() = (logs129).take_handle() as i32; - *ptr128.add(120).cast::() = (max_retry_count129).take_handle() - as i32; - *ptr128.add(124).cast::() = (memory129).take_handle() as i32; - *ptr128.add(128).cast::() = (memory_swap129).take_handle() - as i32; - *ptr128.add(132).cast::() = (mounts129).take_handle() as i32; - *ptr128.add(136).cast::() = (must_run129).take_handle() as i32; - *ptr128.add(140).cast::() = (name129).take_handle() as i32; - *ptr128.add(144).cast::() = (network_datas129).take_handle() - as i32; - *ptr128.add(148).cast::() = (network_mode129).take_handle() - as i32; - *ptr128.add(152).cast::() = (networks_advanced129).take_handle() - as i32; - *ptr128.add(156).cast::() = (pid_mode129).take_handle() as i32; - *ptr128.add(160).cast::() = (ports129).take_handle() as i32; - *ptr128.add(164).cast::() = (privileged129).take_handle() - as i32; - *ptr128.add(168).cast::() = (publish_all_ports129).take_handle() - as i32; - *ptr128.add(172).cast::() = (read_only129).take_handle() as i32; - *ptr128.add(176).cast::() = (remove_volumes129).take_handle() - as i32; - *ptr128.add(180).cast::() = (restart129).take_handle() as i32; - *ptr128.add(184).cast::() = (rm129).take_handle() as i32; - *ptr128.add(188).cast::() = (runtime129).take_handle() as i32; - *ptr128.add(192).cast::() = (security_opts129).take_handle() - as i32; - *ptr128.add(196).cast::() = (shm_size129).take_handle() as i32; - *ptr128.add(200).cast::() = (start129).take_handle() as i32; - *ptr128.add(204).cast::() = (stdin_open129).take_handle() - as i32; - *ptr128.add(208).cast::() = (stop_signal129).take_handle() - as i32; - *ptr128.add(212).cast::() = (stop_timeout129).take_handle() - as i32; - *ptr128.add(216).cast::() = (storage_opts129).take_handle() - as i32; - *ptr128.add(220).cast::() = (sysctls129).take_handle() as i32; - *ptr128.add(224).cast::() = (tmpfs129).take_handle() as i32; - *ptr128.add(228).cast::() = (tty129).take_handle() as i32; - *ptr128.add(232).cast::() = (ulimits129).take_handle() as i32; - *ptr128.add(236).cast::() = (uploads129).take_handle() as i32; - *ptr128.add(240).cast::() = (user129).take_handle() as i32; - *ptr128.add(244).cast::() = (userns_mode129).take_handle() - as i32; - *ptr128.add(248).cast::() = (volumes129).take_handle() as i32; - *ptr128.add(252).cast::() = (wait129).take_handle() as i32; - *ptr128.add(256).cast::() = (wait_timeout129).take_handle() - as i32; - *ptr128.add(260).cast::() = (working_dir129).take_handle() - as i32; - ptr128 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_container_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/container@4.5.3--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : * mut u8,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_container_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 264]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 264], - ); - } - #[allow(dead_code, clippy::all)] - pub mod image { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub build: &'a Output, - pub build_on_preview: &'a Output, - pub image_name: &'a Output, - pub registry: &'a Output, - pub skip_push: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("build", &self.build) - .field("build-on-preview", &self.build_on_preview) - .field("image-name", &self.image_name) - .field("registry", &self.registry) - .field("skip-push", &self.skip_push) - .finish() - } - } - pub struct Res { - pub base_image_name: Output, - pub context: Output, - pub dockerfile: Output, - pub image_name: Output, - pub platform: Output, - pub registry_server: Output, - pub repo_digest: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("base-image-name", &self.base_image_name) - .field("context", &self.context) - .field("dockerfile", &self.dockerfile) - .field("image-name", &self.image_name) - .field("platform", &self.platform) - .field("registry-server", &self.registry_server) - .field("repo-digest", &self.repo_digest) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result6 = T::invoke( - _rt::string_lift(bytes0), - Args { - build: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - build_on_preview: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - image_name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - registry: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - skip_push: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - }, - ); - let ptr7 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - base_image_name: base_image_name8, - context: context8, - dockerfile: dockerfile8, - image_name: image_name8, - platform: platform8, - registry_server: registry_server8, - repo_digest: repo_digest8, - } = result6; - *ptr7.add(0).cast::() = (base_image_name8).take_handle() as i32; - *ptr7.add(4).cast::() = (context8).take_handle() as i32; - *ptr7.add(8).cast::() = (dockerfile8).take_handle() as i32; - *ptr7.add(12).cast::() = (image_name8).take_handle() as i32; - *ptr7.add(16).cast::() = (platform8).take_handle() as i32; - *ptr7.add(20).cast::() = (registry_server8).take_handle() - as i32; - *ptr7.add(24).cast::() = (repo_digest8).take_handle() as i32; - ptr7 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_image_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/image@4.5.3--0.0.0-DEV#invoke"] unsafe extern "C" - fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, arg3 - : i32, arg4 : i32, arg5 : i32, arg6 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_image_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod network { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub attachable: &'a Output, - pub check_duplicate: &'a Output, - pub driver: &'a Output, - pub ingress: &'a Output, - pub internal: &'a Output, - pub ipam_configs: &'a Output, - pub ipam_driver: &'a Output, - pub ipam_options: &'a Output, - pub ipv6: &'a Output, - pub labels: &'a Output, - pub name: &'a Output, - pub options: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("attachable", &self.attachable) - .field("check-duplicate", &self.check_duplicate) - .field("driver", &self.driver) - .field("ingress", &self.ingress) - .field("internal", &self.internal) - .field("ipam-configs", &self.ipam_configs) - .field("ipam-driver", &self.ipam_driver) - .field("ipam-options", &self.ipam_options) - .field("ipv6", &self.ipv6) - .field("labels", &self.labels) - .field("name", &self.name) - .field("options", &self.options) - .finish() - } - } - pub struct Res { - pub attachable: Output, - pub check_duplicate: Output, - pub driver: Output, - pub ingress: Output, - pub internal: Output, - pub ipam_configs: Output, - pub ipam_driver: Output, - pub ipam_options: Output, - pub ipv6: Output, - pub labels: Output, - pub name: Output, - pub options: Output, - pub scope: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("attachable", &self.attachable) - .field("check-duplicate", &self.check_duplicate) - .field("driver", &self.driver) - .field("ingress", &self.ingress) - .field("internal", &self.internal) - .field("ipam-configs", &self.ipam_configs) - .field("ipam-driver", &self.ipam_driver) - .field("ipam-options", &self.ipam_options) - .field("ipv6", &self.ipv6) - .field("labels", &self.labels) - .field("name", &self.name) - .field("options", &self.options) - .field("scope", &self.scope) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result13 = T::invoke( - _rt::string_lift(bytes0), - Args { - attachable: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - check_duplicate: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - driver: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - ingress: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - internal: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - ipam_configs: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - ipam_driver: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - ipam_options: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - ipv6: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - labels: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - name: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - options: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - }, - ); - let ptr14 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - attachable: attachable15, - check_duplicate: check_duplicate15, - driver: driver15, - ingress: ingress15, - internal: internal15, - ipam_configs: ipam_configs15, - ipam_driver: ipam_driver15, - ipam_options: ipam_options15, - ipv6: ipv615, - labels: labels15, - name: name15, - options: options15, - scope: scope15, - } = result13; - *ptr14.add(0).cast::() = (attachable15).take_handle() as i32; - *ptr14.add(4).cast::() = (check_duplicate15).take_handle() - as i32; - *ptr14.add(8).cast::() = (driver15).take_handle() as i32; - *ptr14.add(12).cast::() = (ingress15).take_handle() as i32; - *ptr14.add(16).cast::() = (internal15).take_handle() as i32; - *ptr14.add(20).cast::() = (ipam_configs15).take_handle() as i32; - *ptr14.add(24).cast::() = (ipam_driver15).take_handle() as i32; - *ptr14.add(28).cast::() = (ipam_options15).take_handle() as i32; - *ptr14.add(32).cast::() = (ipv615).take_handle() as i32; - *ptr14.add(36).cast::() = (labels15).take_handle() as i32; - *ptr14.add(40).cast::() = (name15).take_handle() as i32; - *ptr14.add(44).cast::() = (options15).take_handle() as i32; - *ptr14.add(48).cast::() = (scope15).take_handle() as i32; - ptr14 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_network_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/network@4.5.3--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, - arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, arg8 - : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : i32, arg13 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_network_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 52]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 52], - ); - } - #[allow(dead_code, clippy::all)] - pub mod plugin { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub alias: &'a Output, - pub enable_timeout: &'a Output, - pub enabled: &'a Output, - pub envs: &'a Output, - pub force_destroy: &'a Output, - pub force_disable: &'a Output, - pub grant_all_permissions: &'a Output, - pub grant_permissions: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("alias", &self.alias) - .field("enable-timeout", &self.enable_timeout) - .field("enabled", &self.enabled) - .field("envs", &self.envs) - .field("force-destroy", &self.force_destroy) - .field("force-disable", &self.force_disable) - .field("grant-all-permissions", &self.grant_all_permissions) - .field("grant-permissions", &self.grant_permissions) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub alias: Output, - pub enable_timeout: Output, - pub enabled: Output, - pub envs: Output, - pub force_destroy: Output, - pub force_disable: Output, - pub grant_all_permissions: Output, - pub grant_permissions: Output, - pub name: Output, - pub plugin_reference: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("alias", &self.alias) - .field("enable-timeout", &self.enable_timeout) - .field("enabled", &self.enabled) - .field("envs", &self.envs) - .field("force-destroy", &self.force_destroy) - .field("force-disable", &self.force_disable) - .field("grant-all-permissions", &self.grant_all_permissions) - .field("grant-permissions", &self.grant_permissions) - .field("name", &self.name) - .field("plugin-reference", &self.plugin_reference) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result10 = T::invoke( - _rt::string_lift(bytes0), - Args { - alias: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - enable_timeout: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - enabled: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - envs: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - force_destroy: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - force_disable: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - grant_all_permissions: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - grant_permissions: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - name: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - }, - ); - let ptr11 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - alias: alias12, - enable_timeout: enable_timeout12, - enabled: enabled12, - envs: envs12, - force_destroy: force_destroy12, - force_disable: force_disable12, - grant_all_permissions: grant_all_permissions12, - grant_permissions: grant_permissions12, - name: name12, - plugin_reference: plugin_reference12, - } = result10; - *ptr11.add(0).cast::() = (alias12).take_handle() as i32; - *ptr11.add(4).cast::() = (enable_timeout12).take_handle() - as i32; - *ptr11.add(8).cast::() = (enabled12).take_handle() as i32; - *ptr11.add(12).cast::() = (envs12).take_handle() as i32; - *ptr11.add(16).cast::() = (force_destroy12).take_handle() - as i32; - *ptr11.add(20).cast::() = (force_disable12).take_handle() - as i32; - *ptr11.add(24).cast::() = (grant_all_permissions12) - .take_handle() as i32; - *ptr11.add(28).cast::() = (grant_permissions12).take_handle() - as i32; - *ptr11.add(32).cast::() = (name12).take_handle() as i32; - *ptr11.add(36).cast::() = (plugin_reference12).take_handle() - as i32; - ptr11 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_plugin_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/plugin@4.5.3--0.0.0-DEV#invoke"] unsafe extern "C" - fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, arg3 - : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, arg8 : - i32, arg9 : i32, arg10 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_plugin_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 40]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 40], - ); - } - #[allow(dead_code, clippy::all)] - pub mod registry_image { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub insecure_skip_verify: &'a Output, - pub keep_remotely: &'a Output, - pub name: &'a Output, - pub triggers: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("insecure-skip-verify", &self.insecure_skip_verify) - .field("keep-remotely", &self.keep_remotely) - .field("name", &self.name) - .field("triggers", &self.triggers) - .finish() - } - } - pub struct Res { - pub insecure_skip_verify: Output, - pub keep_remotely: Output, - pub name: Output, - pub sha256_digest: Output, - pub triggers: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("insecure-skip-verify", &self.insecure_skip_verify) - .field("keep-remotely", &self.keep_remotely) - .field("name", &self.name) - .field("sha256-digest", &self.sha256_digest) - .field("triggers", &self.triggers) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - insecure_skip_verify: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - keep_remotely: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - triggers: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - insecure_skip_verify: insecure_skip_verify7, - keep_remotely: keep_remotely7, - name: name7, - sha256_digest: sha256_digest7, - triggers: triggers7, - } = result5; - *ptr6.add(0).cast::() = (insecure_skip_verify7).take_handle() - as i32; - *ptr6.add(4).cast::() = (keep_remotely7).take_handle() as i32; - *ptr6.add(8).cast::() = (name7).take_handle() as i32; - *ptr6.add(12).cast::() = (sha256_digest7).take_handle() as i32; - *ptr6.add(16).cast::() = (triggers7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_registry_image_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/registry-image@4.5.3--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_registry_image_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod remote_image { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub build: &'a Output, - pub force_remove: &'a Output, - pub keep_locally: &'a Output, - pub name: &'a Output, - pub platform: &'a Output, - pub pull_triggers: &'a Output, - pub triggers: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("build", &self.build) - .field("force-remove", &self.force_remove) - .field("keep-locally", &self.keep_locally) - .field("name", &self.name) - .field("platform", &self.platform) - .field("pull-triggers", &self.pull_triggers) - .field("triggers", &self.triggers) - .finish() - } - } - pub struct Res { - pub build: Output, - pub force_remove: Output, - pub image_id: Output, - pub keep_locally: Output, - pub name: Output, - pub platform: Output, - pub pull_triggers: Output, - pub repo_digest: Output, - pub triggers: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("build", &self.build) - .field("force-remove", &self.force_remove) - .field("image-id", &self.image_id) - .field("keep-locally", &self.keep_locally) - .field("name", &self.name) - .field("platform", &self.platform) - .field("pull-triggers", &self.pull_triggers) - .field("repo-digest", &self.repo_digest) - .field("triggers", &self.triggers) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result8 = T::invoke( - _rt::string_lift(bytes0), - Args { - build: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - force_remove: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - keep_locally: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - platform: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - pull_triggers: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - triggers: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - }, - ); - let ptr9 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - build: build10, - force_remove: force_remove10, - image_id: image_id10, - keep_locally: keep_locally10, - name: name10, - platform: platform10, - pull_triggers: pull_triggers10, - repo_digest: repo_digest10, - triggers: triggers10, - } = result8; - *ptr9.add(0).cast::() = (build10).take_handle() as i32; - *ptr9.add(4).cast::() = (force_remove10).take_handle() as i32; - *ptr9.add(8).cast::() = (image_id10).take_handle() as i32; - *ptr9.add(12).cast::() = (keep_locally10).take_handle() as i32; - *ptr9.add(16).cast::() = (name10).take_handle() as i32; - *ptr9.add(20).cast::() = (platform10).take_handle() as i32; - *ptr9.add(24).cast::() = (pull_triggers10).take_handle() as i32; - *ptr9.add(28).cast::() = (repo_digest10).take_handle() as i32; - *ptr9.add(32).cast::() = (triggers10).take_handle() as i32; - ptr9 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_remote_image_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/remote-image@4.5.3--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_remote_image_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 36]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 36], - ); - } - #[allow(dead_code, clippy::all)] - pub mod secret { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub data: &'a Output, - pub labels: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("data", &self.data) - .field("labels", &self.labels) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub data: Output, - pub labels: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("data", &self.data) - .field("labels", &self.labels) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - data: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - labels: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - name: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { data: data6, labels: labels6, name: name6 } = result4; - *ptr5.add(0).cast::() = (data6).take_handle() as i32; - *ptr5.add(4).cast::() = (labels6).take_handle() as i32; - *ptr5.add(8).cast::() = (name6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_secret_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/secret@4.5.3--0.0.0-DEV#invoke"] unsafe extern "C" - fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, arg3 - : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_secret_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod service { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub auth: &'a Output, - pub converge_config: &'a Output, - pub endpoint_spec: &'a Output, - pub labels: &'a Output, - pub mode: &'a Output, - pub name: &'a Output, - pub rollback_config: &'a Output, - pub task_spec: &'a Output, - pub update_config: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("auth", &self.auth) - .field("converge-config", &self.converge_config) - .field("endpoint-spec", &self.endpoint_spec) - .field("labels", &self.labels) - .field("mode", &self.mode) - .field("name", &self.name) - .field("rollback-config", &self.rollback_config) - .field("task-spec", &self.task_spec) - .field("update-config", &self.update_config) - .finish() - } - } - pub struct Res { - pub auth: Output, - pub converge_config: Output, - pub endpoint_spec: Output, - pub labels: Output, - pub mode: Output, - pub name: Output, - pub rollback_config: Output, - pub task_spec: Output, - pub update_config: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("auth", &self.auth) - .field("converge-config", &self.converge_config) - .field("endpoint-spec", &self.endpoint_spec) - .field("labels", &self.labels) - .field("mode", &self.mode) - .field("name", &self.name) - .field("rollback-config", &self.rollback_config) - .field("task-spec", &self.task_spec) - .field("update-config", &self.update_config) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result10 = T::invoke( - _rt::string_lift(bytes0), - Args { - auth: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - converge_config: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - endpoint_spec: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - labels: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - mode: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - name: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - rollback_config: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - task_spec: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - update_config: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - }, - ); - let ptr11 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - auth: auth12, - converge_config: converge_config12, - endpoint_spec: endpoint_spec12, - labels: labels12, - mode: mode12, - name: name12, - rollback_config: rollback_config12, - task_spec: task_spec12, - update_config: update_config12, - } = result10; - *ptr11.add(0).cast::() = (auth12).take_handle() as i32; - *ptr11.add(4).cast::() = (converge_config12).take_handle() - as i32; - *ptr11.add(8).cast::() = (endpoint_spec12).take_handle() as i32; - *ptr11.add(12).cast::() = (labels12).take_handle() as i32; - *ptr11.add(16).cast::() = (mode12).take_handle() as i32; - *ptr11.add(20).cast::() = (name12).take_handle() as i32; - *ptr11.add(24).cast::() = (rollback_config12).take_handle() - as i32; - *ptr11.add(28).cast::() = (task_spec12).take_handle() as i32; - *ptr11.add(32).cast::() = (update_config12).take_handle() - as i32; - ptr11 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_service_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/service@4.5.3--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, - arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, arg8 - : i32, arg9 : i32, arg10 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_service_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 36]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 36], - ); - } - #[allow(dead_code, clippy::all)] - pub mod service_config { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub data: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("data", &self.data) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub data: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("data", &self.data) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - data: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - name: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { data: data5, name: name5 } = result3; - *ptr4.add(0).cast::() = (data5).take_handle() as i32; - *ptr4.add(4).cast::() = (name5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_service_config_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/service-config@4.5.3--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_service_config_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - #[allow(dead_code, clippy::all)] - pub mod tag { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub source_image: &'a Output, - pub target_image: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("source-image", &self.source_image) - .field("target-image", &self.target_image) - .finish() - } - } - pub struct Res { - pub source_image: Output, - pub source_image_id: Output, - pub target_image: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("source-image", &self.source_image) - .field("source-image-id", &self.source_image_id) - .field("target-image", &self.target_image) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - source_image: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - target_image: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - source_image: source_image5, - source_image_id: source_image_id5, - target_image: target_image5, - } = result3; - *ptr4.add(0).cast::() = (source_image5).take_handle() as i32; - *ptr4.add(4).cast::() = (source_image_id5).take_handle() as i32; - *ptr4.add(8).cast::() = (target_image5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_tag_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/tag@4.5.3--0.0.0-DEV#invoke"] unsafe extern "C" fn - export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, arg3 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_tag_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - #[allow(dead_code, clippy::all)] - pub mod volume { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub driver: &'a Output, - pub driver_opts: &'a Output, - pub labels: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("driver", &self.driver) - .field("driver-opts", &self.driver_opts) - .field("labels", &self.labels) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub driver: Output, - pub driver_opts: Output, - pub labels: Output, - pub mountpoint: Output, - pub name: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("driver", &self.driver) - .field("driver-opts", &self.driver_opts) - .field("labels", &self.labels) - .field("mountpoint", &self.mountpoint) - .field("name", &self.name) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - driver: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - driver_opts: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - labels: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - driver: driver7, - driver_opts: driver_opts7, - labels: labels7, - mountpoint: mountpoint7, - name: name7, - } = result5; - *ptr6.add(0).cast::() = (driver7).take_handle() as i32; - *ptr6.add(4).cast::() = (driver_opts7).take_handle() as i32; - *ptr6.add(8).cast::() = (labels7).take_handle() as i32; - *ptr6.add(12).cast::() = (mountpoint7).take_handle() as i32; - *ptr6.add(16).cast::() = (name7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_volume_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/volume@4.5.3--0.0.0-DEV#invoke"] unsafe extern "C" - fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, arg3 - : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_volume_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_logs { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub details: &'a Output, - pub discard_headers: &'a Output, - pub follow: &'a Output, - pub logs_list_string_enabled: &'a Output, - pub name: &'a Output, - pub show_stderr: &'a Output, - pub show_stdout: &'a Output, - pub since: &'a Output, - pub tail: &'a Output, - pub timestamps: &'a Output, - pub until: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("details", &self.details) - .field("discard-headers", &self.discard_headers) - .field("follow", &self.follow) - .field( - "logs-list-string-enabled", - &self.logs_list_string_enabled, - ) - .field("name", &self.name) - .field("show-stderr", &self.show_stderr) - .field("show-stdout", &self.show_stdout) - .field("since", &self.since) - .field("tail", &self.tail) - .field("timestamps", &self.timestamps) - .field("until", &self.until) - .finish() - } - } - pub struct Res { - pub details: Output, - pub discard_headers: Output, - pub follow: Output, - pub id: Output, - pub logs_list_string_enabled: Output, - pub logs_list_strings: Output, - pub name: Output, - pub show_stderr: Output, - pub show_stdout: Output, - pub since: Output, - pub tail: Output, - pub timestamps: Output, - pub until: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("details", &self.details) - .field("discard-headers", &self.discard_headers) - .field("follow", &self.follow) - .field("id", &self.id) - .field( - "logs-list-string-enabled", - &self.logs_list_string_enabled, - ) - .field("logs-list-strings", &self.logs_list_strings) - .field("name", &self.name) - .field("show-stderr", &self.show_stderr) - .field("show-stdout", &self.show_stdout) - .field("since", &self.since) - .field("tail", &self.tail) - .field("timestamps", &self.timestamps) - .field("until", &self.until) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let result11 = T::invoke(Args { - details: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - discard_headers: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - follow: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle2 - }, - logs_list_string_enabled: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle3 - }, - name: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle4 - }, - show_stderr: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle5 - }, - show_stdout: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle6 - }, - since: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle7 - }, - tail: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle8 - }, - timestamps: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle9 - }, - until: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle10 - }, - }); - let ptr12 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - details: details13, - discard_headers: discard_headers13, - follow: follow13, - id: id13, - logs_list_string_enabled: logs_list_string_enabled13, - logs_list_strings: logs_list_strings13, - name: name13, - show_stderr: show_stderr13, - show_stdout: show_stdout13, - since: since13, - tail: tail13, - timestamps: timestamps13, - until: until13, - } = result11; - *ptr12.add(0).cast::() = (details13).take_handle() as i32; - *ptr12.add(4).cast::() = (discard_headers13).take_handle() - as i32; - *ptr12.add(8).cast::() = (follow13).take_handle() as i32; - *ptr12.add(12).cast::() = (id13).take_handle() as i32; - *ptr12.add(16).cast::() = (logs_list_string_enabled13) - .take_handle() as i32; - *ptr12.add(20).cast::() = (logs_list_strings13).take_handle() - as i32; - *ptr12.add(24).cast::() = (name13).take_handle() as i32; - *ptr12.add(28).cast::() = (show_stderr13).take_handle() as i32; - *ptr12.add(32).cast::() = (show_stdout13).take_handle() as i32; - *ptr12.add(36).cast::() = (since13).take_handle() as i32; - *ptr12.add(40).cast::() = (tail13).take_handle() as i32; - *ptr12.add(44).cast::() = (timestamps13).take_handle() as i32; - *ptr12.add(48).cast::() = (until13).take_handle() as i32; - ptr12 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_get_logs_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/get-logs@4.5.3--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : i32, arg1 : i32, arg2 : i32, arg3 : - i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, arg8 : i32, - arg9 : i32, arg10 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_get_logs_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 52]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 52], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_network { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("name", &self.name).finish() - } - } - pub struct Res { - pub driver: Output, - pub id: Output, - pub internal: Output, - pub ipam_configs: Output, - pub name: Output, - pub options: Output, - pub scope: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("driver", &self.driver) - .field("id", &self.id) - .field("internal", &self.internal) - .field("ipam-configs", &self.ipam_configs) - .field("name", &self.name) - .field("options", &self.options) - .field("scope", &self.scope) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - name: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - driver: driver3, - id: id3, - internal: internal3, - ipam_configs: ipam_configs3, - name: name3, - options: options3, - scope: scope3, - } = result1; - *ptr2.add(0).cast::() = (driver3).take_handle() as i32; - *ptr2.add(4).cast::() = (id3).take_handle() as i32; - *ptr2.add(8).cast::() = (internal3).take_handle() as i32; - *ptr2.add(12).cast::() = (ipam_configs3).take_handle() as i32; - *ptr2.add(16).cast::() = (name3).take_handle() as i32; - *ptr2.add(20).cast::() = (options3).take_handle() as i32; - *ptr2.add(24).cast::() = (scope3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_get_network_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/get-network@4.5.3--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_get_network_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_plugin { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub alias: &'a Output, - pub id: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("alias", &self.alias) - .field("id", &self.id) - .finish() - } - } - pub struct Res { - pub alias: Output, - pub enabled: Output, - pub envs: Output, - pub grant_all_permissions: Output, - pub id: Output, - pub name: Output, - pub plugin_reference: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("alias", &self.alias) - .field("enabled", &self.enabled) - .field("envs", &self.envs) - .field("grant-all-permissions", &self.grant_all_permissions) - .field("id", &self.id) - .field("name", &self.name) - .field("plugin-reference", &self.plugin_reference) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let result2 = T::invoke(Args { - alias: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - id: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - }); - let ptr3 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - alias: alias4, - enabled: enabled4, - envs: envs4, - grant_all_permissions: grant_all_permissions4, - id: id4, - name: name4, - plugin_reference: plugin_reference4, - } = result2; - *ptr3.add(0).cast::() = (alias4).take_handle() as i32; - *ptr3.add(4).cast::() = (enabled4).take_handle() as i32; - *ptr3.add(8).cast::() = (envs4).take_handle() as i32; - *ptr3.add(12).cast::() = (grant_all_permissions4).take_handle() - as i32; - *ptr3.add(16).cast::() = (id4).take_handle() as i32; - *ptr3.add(20).cast::() = (name4).take_handle() as i32; - *ptr3.add(24).cast::() = (plugin_reference4).take_handle() - as i32; - ptr3 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_get_plugin_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/get-plugin@4.5.3--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : i32, arg1 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1) } - }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_get_plugin_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_registry_image { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub insecure_skip_verify: &'a Output, - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("insecure-skip-verify", &self.insecure_skip_verify) - .field("name", &self.name) - .finish() - } - } - pub struct Res { - pub id: Output, - pub insecure_skip_verify: Output, - pub name: Output, - pub sha256_digest: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("id", &self.id) - .field("insecure-skip-verify", &self.insecure_skip_verify) - .field("name", &self.name) - .field("sha256-digest", &self.sha256_digest) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: i32, - arg1: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let handle1; - let result2 = T::invoke(Args { - insecure_skip_verify: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - name: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg1 as u32, - ); - &handle1 - }, - }); - let ptr3 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - id: id4, - insecure_skip_verify: insecure_skip_verify4, - name: name4, - sha256_digest: sha256_digest4, - } = result2; - *ptr3.add(0).cast::() = (id4).take_handle() as i32; - *ptr3.add(4).cast::() = (insecure_skip_verify4).take_handle() - as i32; - *ptr3.add(8).cast::() = (name4).take_handle() as i32; - *ptr3.add(12).cast::() = (sha256_digest4).take_handle() as i32; - ptr3 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_get_registry_image_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/get-registry-image@4.5.3--0.0.0-DEV#invoke"] - unsafe extern "C" fn export_invoke(arg0 : i32, arg1 : i32,) -> * - mut u8 { $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, - arg1) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_get_registry_image_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod get_remote_image { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub name: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("name", &self.name).finish() - } - } - pub struct Res { - pub id: Output, - pub name: Output, - pub repo_digest: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("id", &self.id) - .field("name", &self.name) - .field("repo-digest", &self.repo_digest) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi(arg0: i32) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle0; - let result1 = T::invoke(Args { - name: { - handle0 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg0 as u32, - ); - &handle0 - }, - }); - let ptr2 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { id: id3, name: name3, repo_digest: repo_digest3 } = result1; - *ptr2.add(0).cast::() = (id3).take_handle() as i32; - *ptr2.add(4).cast::() = (name3).take_handle() as i32; - *ptr2.add(8).cast::() = (repo_digest3).take_handle() as i32; - ptr2 - } - pub trait Guest { - fn invoke(args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_docker_get_remote_image_4_5_3_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:docker/get-remote-image@4.5.3--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_docker_get_remote_image_4_5_3_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 12]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 12], - ); - } - } - } -} -mod _rt { - use core::fmt; - use core::marker; - use core::sync::atomic::{AtomicU32, Ordering::Relaxed}; - /// A type which represents a component model resource, either imported or - /// exported into this component. - /// - /// This is a low-level wrapper which handles the lifetime of the resource - /// (namely this has a destructor). The `T` provided defines the component model - /// intrinsics that this wrapper uses. - /// - /// One of the chief purposes of this type is to provide `Deref` implementations - /// to access the underlying data when it is owned. - /// - /// This type is primarily used in generated code for exported and imported - /// resources. - #[repr(transparent)] - pub struct Resource { - handle: AtomicU32, - _marker: marker::PhantomData, - } - /// A trait which all wasm resources implement, namely providing the ability to - /// drop a resource. - /// - /// This generally is implemented by generated code, not user-facing code. - #[allow(clippy::missing_safety_doc)] - pub unsafe trait WasmResource { - /// Invokes the `[resource-drop]...` intrinsic. - unsafe fn drop(handle: u32); - } - impl Resource { - #[doc(hidden)] - pub unsafe fn from_handle(handle: u32) -> Self { - debug_assert!(handle != u32::MAX); - Self { - handle: AtomicU32::new(handle), - _marker: marker::PhantomData, - } - } - /// Takes ownership of the handle owned by `resource`. - /// - /// Note that this ideally would be `into_handle` taking `Resource` by - /// ownership. The code generator does not enable that in all situations, - /// unfortunately, so this is provided instead. - /// - /// Also note that `take_handle` is in theory only ever called on values - /// owned by a generated function. For example a generated function might - /// take `Resource` as an argument but then call `take_handle` on a - /// reference to that argument. In that sense the dynamic nature of - /// `take_handle` should only be exposed internally to generated code, not - /// to user code. - #[doc(hidden)] - pub fn take_handle(resource: &Resource) -> u32 { - resource.handle.swap(u32::MAX, Relaxed) - } - #[doc(hidden)] - pub fn handle(resource: &Resource) -> u32 { - resource.handle.load(Relaxed) - } - } - impl fmt::Debug for Resource { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.debug_struct("Resource").field("handle", &self.handle).finish() - } - } - impl Drop for Resource { - fn drop(&mut self) { - unsafe { - match self.handle.load(Relaxed) { - u32::MAX => {} - other => T::drop(other), - } - } - } - } - pub use alloc_crate::alloc; - pub use alloc_crate::string::String; - pub use alloc_crate::vec::Vec; - pub unsafe fn string_lift(bytes: Vec) -> String { - if cfg!(debug_assertions) { - String::from_utf8(bytes).unwrap() - } else { - String::from_utf8_unchecked(bytes) - } - } - pub unsafe fn cabi_dealloc(ptr: *mut u8, size: usize, align: usize) { - if size == 0 { - return; - } - let layout = alloc::Layout::from_size_align_unchecked(size, align); - alloc::dealloc(ptr, layout); - } - #[cfg(target_arch = "wasm32")] - pub fn run_ctors_once() { - wit_bindgen_rt::run_ctors_once(); - } - extern crate alloc as alloc_crate; -} -/// Generates `#[no_mangle]` functions to export the specified type as the -/// root implementation of all generated traits. -/// -/// For more information see the documentation of `wit_bindgen::generate!`. -/// -/// ```rust -/// # macro_rules! export{ ($($t:tt)*) => (); } -/// # trait Guest {} -/// struct MyType; -/// -/// impl Guest for MyType { -/// // ... -/// } -/// -/// export!(MyType); -/// ``` -#[allow(unused_macros)] -#[doc(hidden)] -macro_rules! __export_docker_pulumi_impl { - ($ty:ident) => { - self::export!($ty with_types_in self); - }; - ($ty:ident with_types_in $($path_to_types_root:tt)*) => { - $($path_to_types_root)*:: - exports::pulumi::docker::container::__export_pulumi_docker_container_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::container); - $($path_to_types_root)*:: - exports::pulumi::docker::image::__export_pulumi_docker_image_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::image); - $($path_to_types_root)*:: - exports::pulumi::docker::network::__export_pulumi_docker_network_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::network); - $($path_to_types_root)*:: - exports::pulumi::docker::plugin::__export_pulumi_docker_plugin_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::plugin); - $($path_to_types_root)*:: - exports::pulumi::docker::registry_image::__export_pulumi_docker_registry_image_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::registry_image); - $($path_to_types_root)*:: - exports::pulumi::docker::remote_image::__export_pulumi_docker_remote_image_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::remote_image); - $($path_to_types_root)*:: - exports::pulumi::docker::secret::__export_pulumi_docker_secret_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::secret); - $($path_to_types_root)*:: - exports::pulumi::docker::service::__export_pulumi_docker_service_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::service); - $($path_to_types_root)*:: - exports::pulumi::docker::service_config::__export_pulumi_docker_service_config_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::service_config); - $($path_to_types_root)*:: - exports::pulumi::docker::tag::__export_pulumi_docker_tag_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::tag); - $($path_to_types_root)*:: - exports::pulumi::docker::volume::__export_pulumi_docker_volume_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::volume); - $($path_to_types_root)*:: - exports::pulumi::docker::get_logs::__export_pulumi_docker_get_logs_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::get_logs); - $($path_to_types_root)*:: - exports::pulumi::docker::get_network::__export_pulumi_docker_get_network_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::get_network); - $($path_to_types_root)*:: - exports::pulumi::docker::get_plugin::__export_pulumi_docker_get_plugin_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::docker::get_plugin); - $($path_to_types_root)*:: - exports::pulumi::docker::get_registry_image::__export_pulumi_docker_get_registry_image_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::docker::get_registry_image); $($path_to_types_root)*:: - exports::pulumi::docker::get_remote_image::__export_pulumi_docker_get_remote_image_4_5_3_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::docker::get_remote_image); - }; -} -#[doc(inline)] -pub(crate) use __export_docker_pulumi_impl as export; -#[cfg(target_arch = "wasm32")] -#[link_section = "component-type:wit-bindgen:0.35.0:pulumi:docker@4.5.3--0.0.0-DEV:docker-pulumi:encoded world"] -#[doc(hidden)] -pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 6179] = *b"\ -\0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\x9f/\x01A\x02\x01A%\x01\ -B\x0a\x04\0\x06output\x03\x01\x01i\0\x01@\x01\x05values\0\x01\x04\0\x13[construc\ -tor]output\x01\x02\x01h\0\x01@\x02\x04self\x03\x0dfunction-names\0\x01\x04\0\x12\ -[method]output.map\x01\x04\x01p\x03\x01@\x01\x07outputs\x05\0\x01\x04\0\x07combi\ -ne\x01\x06\x03\00component:pulumi-wasm/output-interface@0.0.0-DEV\x05\0\x02\x03\0\ -\0\x06output\x01B\x1c\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x02\ -\x04names\x05value\x02\x04\0\x0cobject-field\x03\0\x03\x01r\x01\x04names\x04\0\x0c\ -result-field\x03\0\x05\x01i\x01\x01r\x02\x04names\x06output\x07\x04\0\x1eregiste\ -r-resource-result-field\x03\0\x08\x01p\x04\x01p\x06\x01r\x04\x04types\x04names\x06\ -object\x0a\x07results\x0b\x04\0\x19register-resource-request\x03\0\x0c\x01p\x09\x01\ -r\x01\x06fields\x0e\x04\0\x18register-resource-result\x03\0\x0f\x01r\x02\x04name\ -s\x06output\x07\x04\0\x1cresource-invoke-result-field\x03\0\x11\x01r\x03\x05toke\ -ns\x06object\x0a\x07results\x0b\x04\0\x17resource-invoke-request\x03\0\x13\x01p\x12\ -\x01r\x01\x06fields\x15\x04\0\x16resource-invoke-result\x03\0\x16\x01@\x01\x07re\ -quest\x0d\0\x10\x04\0\x08register\x01\x18\x01@\x01\x07request\x14\0\x17\x04\0\x06\ -invoke\x01\x19\x03\02component:pulumi-wasm/register-interface@0.0.0-DEV\x05\x02\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r>\x06attach\x02\x0c\ -capabilities\x02\x0dcgroupns-mode\x02\x07command\x02+container-read-refresh-time\ -out-milliseconds\x02\x07cpu-set\x02\x0acpu-shares\x02\x15destroy-grace-seconds\x02\ -\x07devices\x02\x03dns\x02\x08dns-opts\x02\x0cdns-searches\x02\x0adomainname\x02\ -\x0bentrypoints\x02\x04envs\x02\x04gpus\x02\x0agroup-adds\x02\x0bhealthcheck\x02\ -\x08hostname\x02\x05hosts\x02\x05image\x02\x04init\x02\x08ipc-mode\x02\x06labels\ -\x02\x0alog-driver\x02\x08log-opts\x02\x04logs\x02\x0fmax-retry-count\x02\x06mem\ -ory\x02\x0bmemory-swap\x02\x06mounts\x02\x08must-run\x02\x04name\x02\x0cnetwork-\ -mode\x02\x11networks-advanced\x02\x08pid-mode\x02\x05ports\x02\x0aprivileged\x02\ -\x11publish-all-ports\x02\x09read-only\x02\x0eremove-volumes\x02\x07restart\x02\x02\ -rm\x02\x07runtime\x02\x0dsecurity-opts\x02\x08shm-size\x02\x05start\x02\x0astdin\ --open\x02\x0bstop-signal\x02\x0cstop-timeout\x02\x0cstorage-opts\x02\x07sysctls\x02\ -\x05tmpfs\x02\x03tty\x02\x07ulimits\x02\x07uploads\x02\x04user\x02\x0buserns-mod\ -e\x02\x07volumes\x02\x04wait\x02\x0cwait-timeout\x02\x0bworking-dir\x02\x04\0\x04\ -args\x03\0\x03\x01i\x01\x01rB\x06attach\x05\x06bridge\x05\x0ccapabilities\x05\x0d\ -cgroupns-mode\x05\x07command\x05\x0econtainer-logs\x05+container-read-refresh-ti\ -meout-milliseconds\x05\x07cpu-set\x05\x0acpu-shares\x05\x15destroy-grace-seconds\ -\x05\x07devices\x05\x03dns\x05\x08dns-opts\x05\x0cdns-searches\x05\x0adomainname\ -\x05\x0bentrypoints\x05\x04envs\x05\x09exit-code\x05\x04gpus\x05\x0agroup-adds\x05\ -\x0bhealthcheck\x05\x08hostname\x05\x05hosts\x05\x05image\x05\x04init\x05\x08ipc\ --mode\x05\x06labels\x05\x0alog-driver\x05\x08log-opts\x05\x04logs\x05\x0fmax-ret\ -ry-count\x05\x06memory\x05\x0bmemory-swap\x05\x06mounts\x05\x08must-run\x05\x04n\ -ame\x05\x0dnetwork-datas\x05\x0cnetwork-mode\x05\x11networks-advanced\x05\x08pid\ --mode\x05\x05ports\x05\x0aprivileged\x05\x11publish-all-ports\x05\x09read-only\x05\ -\x0eremove-volumes\x05\x07restart\x05\x02rm\x05\x07runtime\x05\x0dsecurity-opts\x05\ -\x08shm-size\x05\x05start\x05\x0astdin-open\x05\x0bstop-signal\x05\x0cstop-timeo\ -ut\x05\x0cstorage-opts\x05\x07sysctls\x05\x05tmpfs\x05\x03tty\x05\x07ulimits\x05\ -\x07uploads\x05\x04user\x05\x0buserns-mode\x05\x07volumes\x05\x04wait\x05\x0cwai\ -t-timeout\x05\x0bworking-dir\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04arg\ -s\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0(pulumi:docker/container@4.5.3--0.0.0-D\ -EV\x05\x03\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x05\ -\x05build\x02\x10build-on-preview\x02\x0aimage-name\x02\x08registry\x02\x09skip-\ -push\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x07\x0fbase-image-name\x05\x07con\ -text\x05\x0adockerfile\x05\x0aimage-name\x05\x08platform\x05\x0fregistry-server\x05\ -\x0brepo-digest\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\ -\0\x06invoke\x01\x08\x04\0$pulumi:docker/image@4.5.3--0.0.0-DEV\x05\x04\x01B\x0a\ -\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x0c\x0aattachable\x02\ -\x0fcheck-duplicate\x02\x06driver\x02\x07ingress\x02\x08internal\x02\x0cipam-con\ -figs\x02\x0bipam-driver\x02\x0cipam-options\x02\x04ipv6\x02\x06labels\x02\x04nam\ -e\x02\x07options\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0d\x0aattachable\x05\ -\x0fcheck-duplicate\x05\x06driver\x05\x07ingress\x05\x08internal\x05\x0cipam-con\ -figs\x05\x0bipam-driver\x05\x0cipam-options\x05\x04ipv6\x05\x06labels\x05\x04nam\ -e\x05\x07options\x05\x05scope\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04ar\ -gs\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0&pulumi:docker/network@4.5.3--0.0.0-DE\ -V\x05\x05\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x09\ -\x05alias\x02\x0eenable-timeout\x02\x07enabled\x02\x04envs\x02\x0dforce-destroy\x02\ -\x0dforce-disable\x02\x15grant-all-permissions\x02\x11grant-permissions\x02\x04n\ -ame\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0a\x05alias\x05\x0eenable-timeout\ -\x05\x07enabled\x05\x04envs\x05\x0dforce-destroy\x05\x0dforce-disable\x05\x15gra\ -nt-all-permissions\x05\x11grant-permissions\x05\x04name\x05\x10plugin-reference\x05\ -\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\ -\x04\0%pulumi:docker/plugin@4.5.3--0.0.0-DEV\x05\x06\x01B\x0a\x02\x03\x02\x01\x01\ -\x04\0\x06output\x03\0\0\x01h\x01\x01r\x04\x14insecure-skip-verify\x02\x0dkeep-r\ -emotely\x02\x04name\x02\x08triggers\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x05\ -\x14insecure-skip-verify\x05\x0dkeep-remotely\x05\x04name\x05\x0dsha256-digest\x05\ -\x08triggers\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\ -\x06invoke\x01\x08\x04\0-pulumi:docker/registry-image@4.5.3--0.0.0-DEV\x05\x07\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x07\x05build\x02\ -\x0cforce-remove\x02\x0ckeep-locally\x02\x04name\x02\x08platform\x02\x0dpull-tri\ -ggers\x02\x08triggers\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x09\x05build\x05\ -\x0cforce-remove\x05\x08image-id\x05\x0ckeep-locally\x05\x04name\x05\x08platform\ -\x05\x0dpull-triggers\x05\x0brepo-digest\x05\x08triggers\x05\x04\0\x03res\x03\0\x06\ -\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0+pulumi:docker\ -/remote-image@4.5.3--0.0.0-DEV\x05\x08\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06out\ -put\x03\0\0\x01h\x01\x01r\x03\x04data\x02\x06labels\x02\x04name\x02\x04\0\x04arg\ -s\x03\0\x03\x01i\x01\x01r\x03\x04data\x05\x06labels\x05\x04name\x05\x04\0\x03res\ -\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0%pul\ -umi:docker/secret@4.5.3--0.0.0-DEV\x05\x09\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06\ -output\x03\0\0\x01h\x01\x01r\x09\x04auth\x02\x0fconverge-config\x02\x0dendpoint-\ -spec\x02\x06labels\x02\x04mode\x02\x04name\x02\x0frollback-config\x02\x09task-sp\ -ec\x02\x0dupdate-config\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x09\x04auth\x05\ -\x0fconverge-config\x05\x0dendpoint-spec\x05\x06labels\x05\x04mode\x05\x04name\x05\ -\x0frollback-config\x05\x09task-spec\x05\x0dupdate-config\x05\x04\0\x03res\x03\0\ -\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0&pulumi:do\ -cker/service@4.5.3--0.0.0-DEV\x05\x0a\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06outp\ -ut\x03\0\0\x01h\x01\x01r\x02\x04data\x02\x04name\x02\x04\0\x04args\x03\0\x03\x01\ -i\x01\x01r\x02\x04data\x05\x04name\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04\ -args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0-pulumi:docker/service-config@4.5.3-\ --0.0.0-DEV\x05\x0b\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x02\x0csource-image\x02\x0ctarget-image\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x03\x0csource-image\x05\x0fsource-image-id\x05\x0ctarget-image\x05\x04\0\x03\ -res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0\"\ -pulumi:docker/tag@4.5.3--0.0.0-DEV\x05\x0c\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06\ -output\x03\0\0\x01h\x01\x01r\x04\x06driver\x02\x0bdriver-opts\x02\x06labels\x02\x04\ -name\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x05\x06driver\x05\x0bdriver-opts\x05\ -\x06labels\x05\x0amountpoint\x05\x04name\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04\ -names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0%pulumi:docker/volume@4.5.3\ ---0.0.0-DEV\x05\x0d\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x0b\x07details\x02\x0fdiscard-headers\x02\x06follow\x02\x18logs-list-strin\ -g-enabled\x02\x04name\x02\x0bshow-stderr\x02\x0bshow-stdout\x02\x05since\x02\x04\ -tail\x02\x0atimestamps\x02\x05until\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0d\ -\x07details\x05\x0fdiscard-headers\x05\x06follow\x05\x02id\x05\x18logs-list-stri\ -ng-enabled\x05\x11logs-list-strings\x05\x04name\x05\x0bshow-stderr\x05\x0bshow-s\ -tdout\x05\x05since\x05\x04tail\x05\x0atimestamps\x05\x05until\x05\x04\0\x03res\x03\ -\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0'pulumi:docker/ge\ -t-logs@4.5.3--0.0.0-DEV\x05\x0e\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\ -\0\0\x01h\x01\x01r\x01\x04name\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x07\x06\ -driver\x05\x02id\x05\x08internal\x05\x0cipam-configs\x05\x04name\x05\x07options\x05\ -\x05scope\x05\x04\0\x03res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06invoke\x01\ -\x08\x04\0*pulumi:docker/get-network@4.5.3--0.0.0-DEV\x05\x0f\x01B\x0a\x02\x03\x02\ -\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x02\x05alias\x02\x02id\x02\x04\0\x04\ -args\x03\0\x03\x01i\x01\x01r\x07\x05alias\x05\x07enabled\x05\x04envs\x05\x15gran\ -t-all-permissions\x05\x02id\x05\x04name\x05\x10plugin-reference\x05\x04\0\x03res\ -\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0)pulumi:docke\ -r/get-plugin@4.5.3--0.0.0-DEV\x05\x10\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06outp\ -ut\x03\0\0\x01h\x01\x01r\x02\x14insecure-skip-verify\x02\x04name\x02\x04\0\x04ar\ -gs\x03\0\x03\x01i\x01\x01r\x04\x02id\x05\x14insecure-skip-verify\x05\x04name\x05\ -\x0dsha256-digest\x05\x04\0\x03res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06\ -invoke\x01\x08\x04\01pulumi:docker/get-registry-image@4.5.3--0.0.0-DEV\x05\x11\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x01\x04name\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x03\x02id\x05\x04name\x05\x0brepo-digest\x05\x04\ -\0\x03res\x03\0\x06\x01@\x01\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0/pul\ -umi:docker/get-remote-image@4.5.3--0.0.0-DEV\x05\x12\x04\0,pulumi:docker/docker-\ -pulumi@4.5.3--0.0.0-DEV\x04\0\x0b\x13\x01\0\x0ddocker-pulumi\x03\0\0\0G\x09produ\ -cers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.0\x10wit-bindgen-rust\x06\ -0.35.0"; -#[inline(never)] -#[doc(hidden)] -pub fn __link_custom_section_describing_imports() { - wit_bindgen_rt::maybe_link_cabi_realloc(); -} diff --git a/providers/pulumi_wasm_provider_docker/src/lib.rs b/providers/pulumi_wasm_provider_docker/src/lib.rs index 04bc47418..71209592a 100644 --- a/providers/pulumi_wasm_provider_docker/src/lib.rs +++ b/providers/pulumi_wasm_provider_docker/src/lib.rs @@ -1,9 +1,13 @@ mod resource; mod function; -#[allow(unused_braces)] -#[allow(unused_imports)] -mod bindings; +mod bindings { + wit_bindgen::generate!({ + // the name of the world in the `*.wit` input file + world: "docker-pulumi", + generate_all, + }); +} bindings::export!(Component with_types_in bindings); struct Component {} diff --git a/providers/pulumi_wasm_provider_random/Cargo.toml b/providers/pulumi_wasm_provider_random/Cargo.toml index 8a534a0da..404cac07c 100644 --- a/providers/pulumi_wasm_provider_random/Cargo.toml +++ b/providers/pulumi_wasm_provider_random/Cargo.toml @@ -9,15 +9,5 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -wit-bindgen-rt.workspace = true +wit-bindgen.workspace = true pulumi_wasm_common.workspace = true - -[package.metadata.component] -package = "pulumi:random" - -[package.metadata.component.target] -path = "wit" -world = "random-pulumi" - -[package.metadata.component.target.dependencies] -"component:pulumi-wasm" = { path = "wit/deps/pulumi-wasm.wit" } diff --git a/providers/pulumi_wasm_provider_random/src/bindings.rs b/providers/pulumi_wasm_provider_random/src/bindings.rs deleted file mode 100644 index 03993e965..000000000 --- a/providers/pulumi_wasm_provider_random/src/bindings.rs +++ /dev/null @@ -1,1996 +0,0 @@ -#[allow(dead_code)] -pub mod component { - #[allow(dead_code)] - pub mod pulumi_wasm { - #[allow(dead_code, clippy::all)] - pub mod output_interface { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::__link_custom_section_describing_imports; - use super::super::super::_rt; - #[derive(Debug)] - #[repr(transparent)] - pub struct Output { - handle: _rt::Resource, - } - impl Output { - #[doc(hidden)] - pub unsafe fn from_handle(handle: u32) -> Self { - Self { - handle: _rt::Resource::from_handle(handle), - } - } - #[doc(hidden)] - pub fn take_handle(&self) -> u32 { - _rt::Resource::take_handle(&self.handle) - } - #[doc(hidden)] - pub fn handle(&self) -> u32 { - _rt::Resource::handle(&self.handle) - } - } - unsafe impl _rt::WasmResource for Output { - #[inline] - unsafe fn drop(_handle: u32) { - #[cfg(not(target_arch = "wasm32"))] - unreachable!(); - #[cfg(target_arch = "wasm32")] - { - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[resource-drop]output"] - fn drop(_: u32); - } - drop(_handle); - } - } - } - impl Output { - #[allow(unused_unsafe, clippy::all)] - pub fn new(value: &str) -> Self { - unsafe { - let vec0 = value; - let ptr0 = vec0.as_ptr().cast::(); - let len0 = vec0.len(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[constructor]output"] - fn wit_import(_: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import(ptr0.cast_mut(), len0); - Output::from_handle(ret as u32) - } - } - } - impl Output { - #[allow(unused_unsafe, clippy::all)] - pub fn map(&self, function_name: &str) -> Output { - unsafe { - let vec0 = function_name; - let ptr0 = vec0.as_ptr().cast::(); - let len0 = vec0.len(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "[method]output.map"] - fn wit_import(_: i32, _: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: i32, _: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import( - (self).handle() as i32, - ptr0.cast_mut(), - len0, - ); - Output::from_handle(ret as u32) - } - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn combine(outputs: &[&Output]) -> Output { - unsafe { - let vec0 = outputs; - let len0 = vec0.len(); - let layout0 = _rt::alloc::Layout::from_size_align_unchecked( - vec0.len() * 4, - 4, - ); - let result0 = if layout0.size() != 0 { - let ptr = _rt::alloc::alloc(layout0).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout0); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec0.into_iter().enumerate() { - let base = result0.add(i * 4); - { - *base.add(0).cast::() = (e).handle() as i32; - } - } - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/output-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "combine"] - fn wit_import(_: *mut u8, _: usize) -> i32; - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import(_: *mut u8, _: usize) -> i32 { - unreachable!() - } - let ret = wit_import(result0, len0); - if layout0.size() != 0 { - _rt::alloc::dealloc(result0.cast(), layout0); - } - Output::from_handle(ret as u32) - } - } - } - #[allow(dead_code, clippy::all)] - pub mod register_interface { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::__link_custom_section_describing_imports; - use super::super::super::_rt; - pub type Output = super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct ObjectField<'a> { - pub name: _rt::String, - pub value: &'a Output, - } - impl<'a> ::core::fmt::Debug for ObjectField<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ObjectField") - .field("name", &self.name) - .field("value", &self.value) - .finish() - } - } - #[derive(Clone)] - pub struct ResultField { - pub name: _rt::String, - } - impl ::core::fmt::Debug for ResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResultField").field("name", &self.name).finish() - } - } - pub struct RegisterResourceResultField { - pub name: _rt::String, - pub output: Output, - } - impl ::core::fmt::Debug for RegisterResourceResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceResultField") - .field("name", &self.name) - .field("output", &self.output) - .finish() - } - } - pub struct RegisterResourceRequest<'a> { - pub type_: _rt::String, - pub name: _rt::String, - pub object: _rt::Vec>, - pub results: _rt::Vec, - } - impl<'a> ::core::fmt::Debug for RegisterResourceRequest<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceRequest") - .field("type", &self.type_) - .field("name", &self.name) - .field("object", &self.object) - .field("results", &self.results) - .finish() - } - } - pub struct RegisterResourceResult { - pub fields: _rt::Vec, - } - impl ::core::fmt::Debug for RegisterResourceResult { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("RegisterResourceResult") - .field("fields", &self.fields) - .finish() - } - } - pub struct ResourceInvokeResultField { - pub name: _rt::String, - pub output: Output, - } - impl ::core::fmt::Debug for ResourceInvokeResultField { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeResultField") - .field("name", &self.name) - .field("output", &self.output) - .finish() - } - } - pub struct ResourceInvokeRequest<'a> { - pub token: _rt::String, - pub object: _rt::Vec>, - pub results: _rt::Vec, - } - impl<'a> ::core::fmt::Debug for ResourceInvokeRequest<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeRequest") - .field("token", &self.token) - .field("object", &self.object) - .field("results", &self.results) - .finish() - } - } - pub struct ResourceInvokeResult { - pub fields: _rt::Vec, - } - impl ::core::fmt::Debug for ResourceInvokeResult { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("ResourceInvokeResult") - .field("fields", &self.fields) - .finish() - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn register( - request: &RegisterResourceRequest<'_>, - ) -> RegisterResourceResult { - unsafe { - #[repr(align(4))] - struct RetArea([::core::mem::MaybeUninit; 8]); - let mut ret_area = RetArea([::core::mem::MaybeUninit::uninit(); 8]); - let RegisterResourceRequest { - type_: type_0, - name: name0, - object: object0, - results: results0, - } = request; - let vec1 = type_0; - let ptr1 = vec1.as_ptr().cast::(); - let len1 = vec1.len(); - let vec2 = name0; - let ptr2 = vec2.as_ptr().cast::(); - let len2 = vec2.len(); - let vec5 = object0; - let len5 = vec5.len(); - let layout5 = _rt::alloc::Layout::from_size_align_unchecked( - vec5.len() * 12, - 4, - ); - let result5 = if layout5.size() != 0 { - let ptr = _rt::alloc::alloc(layout5).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout5); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec5.into_iter().enumerate() { - let base = result5.add(i * 12); - { - let ObjectField { name: name3, value: value3 } = e; - let vec4 = name3; - let ptr4 = vec4.as_ptr().cast::(); - let len4 = vec4.len(); - *base.add(4).cast::() = len4; - *base.add(0).cast::<*mut u8>() = ptr4.cast_mut(); - *base.add(8).cast::() = (value3).handle() as i32; - } - } - let vec8 = results0; - let len8 = vec8.len(); - let layout8 = _rt::alloc::Layout::from_size_align_unchecked( - vec8.len() * 8, - 4, - ); - let result8 = if layout8.size() != 0 { - let ptr = _rt::alloc::alloc(layout8).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout8); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec8.into_iter().enumerate() { - let base = result8.add(i * 8); - { - let ResultField { name: name6 } = e; - let vec7 = name6; - let ptr7 = vec7.as_ptr().cast::(); - let len7 = vec7.len(); - *base.add(4).cast::() = len7; - *base.add(0).cast::<*mut u8>() = ptr7.cast_mut(); - } - } - let ptr9 = ret_area.0.as_mut_ptr().cast::(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/register-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "register"] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ); - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ) { - unreachable!() - } - wit_import( - ptr1.cast_mut(), - len1, - ptr2.cast_mut(), - len2, - result5, - len5, - result8, - len8, - ptr9, - ); - let l10 = *ptr9.add(0).cast::<*mut u8>(); - let l11 = *ptr9.add(4).cast::(); - let base16 = l10; - let len16 = l11; - let mut result16 = _rt::Vec::with_capacity(len16); - for i in 0..len16 { - let base = base16.add(i * 12); - let e16 = { - let l12 = *base.add(0).cast::<*mut u8>(); - let l13 = *base.add(4).cast::(); - let len14 = l13; - let bytes14 = _rt::Vec::from_raw_parts( - l12.cast(), - len14, - len14, - ); - let l15 = *base.add(8).cast::(); - RegisterResourceResultField { - name: _rt::string_lift(bytes14), - output: super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l15 as u32, - ), - } - }; - result16.push(e16); - } - _rt::cabi_dealloc(base16, len16 * 12, 4); - if layout5.size() != 0 { - _rt::alloc::dealloc(result5.cast(), layout5); - } - if layout8.size() != 0 { - _rt::alloc::dealloc(result8.cast(), layout8); - } - RegisterResourceResult { - fields: result16, - } - } - } - #[allow(unused_unsafe, clippy::all)] - pub fn invoke(request: &ResourceInvokeRequest<'_>) -> ResourceInvokeResult { - unsafe { - #[repr(align(4))] - struct RetArea([::core::mem::MaybeUninit; 8]); - let mut ret_area = RetArea([::core::mem::MaybeUninit::uninit(); 8]); - let ResourceInvokeRequest { - token: token0, - object: object0, - results: results0, - } = request; - let vec1 = token0; - let ptr1 = vec1.as_ptr().cast::(); - let len1 = vec1.len(); - let vec4 = object0; - let len4 = vec4.len(); - let layout4 = _rt::alloc::Layout::from_size_align_unchecked( - vec4.len() * 12, - 4, - ); - let result4 = if layout4.size() != 0 { - let ptr = _rt::alloc::alloc(layout4).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout4); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec4.into_iter().enumerate() { - let base = result4.add(i * 12); - { - let ObjectField { name: name2, value: value2 } = e; - let vec3 = name2; - let ptr3 = vec3.as_ptr().cast::(); - let len3 = vec3.len(); - *base.add(4).cast::() = len3; - *base.add(0).cast::<*mut u8>() = ptr3.cast_mut(); - *base.add(8).cast::() = (value2).handle() as i32; - } - } - let vec7 = results0; - let len7 = vec7.len(); - let layout7 = _rt::alloc::Layout::from_size_align_unchecked( - vec7.len() * 8, - 4, - ); - let result7 = if layout7.size() != 0 { - let ptr = _rt::alloc::alloc(layout7).cast::(); - if ptr.is_null() { - _rt::alloc::handle_alloc_error(layout7); - } - ptr - } else { - ::core::ptr::null_mut() - }; - for (i, e) in vec7.into_iter().enumerate() { - let base = result7.add(i * 8); - { - let ResultField { name: name5 } = e; - let vec6 = name5; - let ptr6 = vec6.as_ptr().cast::(); - let len6 = vec6.len(); - *base.add(4).cast::() = len6; - *base.add(0).cast::<*mut u8>() = ptr6.cast_mut(); - } - } - let ptr8 = ret_area.0.as_mut_ptr().cast::(); - #[cfg(target_arch = "wasm32")] - #[link( - wasm_import_module = "component:pulumi-wasm/register-interface@0.0.0-DEV" - )] - extern "C" { - #[link_name = "invoke"] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ); - } - #[cfg(not(target_arch = "wasm32"))] - fn wit_import( - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - _: usize, - _: *mut u8, - ) { - unreachable!() - } - wit_import( - ptr1.cast_mut(), - len1, - result4, - len4, - result7, - len7, - ptr8, - ); - let l9 = *ptr8.add(0).cast::<*mut u8>(); - let l10 = *ptr8.add(4).cast::(); - let base15 = l9; - let len15 = l10; - let mut result15 = _rt::Vec::with_capacity(len15); - for i in 0..len15 { - let base = base15.add(i * 12); - let e15 = { - let l11 = *base.add(0).cast::<*mut u8>(); - let l12 = *base.add(4).cast::(); - let len13 = l12; - let bytes13 = _rt::Vec::from_raw_parts( - l11.cast(), - len13, - len13, - ); - let l14 = *base.add(8).cast::(); - ResourceInvokeResultField { - name: _rt::string_lift(bytes13), - output: super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - l14 as u32, - ), - } - }; - result15.push(e15); - } - _rt::cabi_dealloc(base15, len15 * 12, 4); - if layout4.size() != 0 { - _rt::alloc::dealloc(result4.cast(), layout4); - } - if layout7.size() != 0 { - _rt::alloc::dealloc(result7.cast(), layout7); - } - ResourceInvokeResult { - fields: result15, - } - } - } - } - } -} -#[allow(dead_code)] -pub mod exports { - #[allow(dead_code)] - pub mod pulumi { - #[allow(dead_code)] - pub mod random { - #[allow(dead_code, clippy::all)] - pub mod random_bytes { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub keepers: &'a Output, - pub length: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("keepers", &self.keepers) - .field("length", &self.length) - .finish() - } - } - pub struct Res { - pub base64: Output, - pub hex: Output, - pub keepers: Output, - pub length: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("base64", &self.base64) - .field("hex", &self.hex) - .field("keepers", &self.keepers) - .field("length", &self.length) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result3 = T::invoke( - _rt::string_lift(bytes0), - Args { - keepers: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - length: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - }, - ); - let ptr4 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - base64: base645, - hex: hex5, - keepers: keepers5, - length: length5, - } = result3; - *ptr4.add(0).cast::() = (base645).take_handle() as i32; - *ptr4.add(4).cast::() = (hex5).take_handle() as i32; - *ptr4.add(8).cast::() = (keepers5).take_handle() as i32; - *ptr4.add(12).cast::() = (length5).take_handle() as i32; - ptr4 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_random_random_bytes_4_15_0_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:random/random-bytes@4.15.0--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_random_random_bytes_4_15_0_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod random_id { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub byte_length: &'a Output, - pub keepers: &'a Output, - pub prefix: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("byte-length", &self.byte_length) - .field("keepers", &self.keepers) - .field("prefix", &self.prefix) - .finish() - } - } - pub struct Res { - pub b64_std: Output, - pub b64_url: Output, - pub byte_length: Output, - pub dec: Output, - pub hex: Output, - pub keepers: Output, - pub prefix: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("b64-std", &self.b64_std) - .field("b64-url", &self.b64_url) - .field("byte-length", &self.byte_length) - .field("dec", &self.dec) - .field("hex", &self.hex) - .field("keepers", &self.keepers) - .field("prefix", &self.prefix) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result4 = T::invoke( - _rt::string_lift(bytes0), - Args { - byte_length: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - keepers: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - prefix: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - }, - ); - let ptr5 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - b64_std: b64_std6, - b64_url: b64_url6, - byte_length: byte_length6, - dec: dec6, - hex: hex6, - keepers: keepers6, - prefix: prefix6, - } = result4; - *ptr5.add(0).cast::() = (b64_std6).take_handle() as i32; - *ptr5.add(4).cast::() = (b64_url6).take_handle() as i32; - *ptr5.add(8).cast::() = (byte_length6).take_handle() as i32; - *ptr5.add(12).cast::() = (dec6).take_handle() as i32; - *ptr5.add(16).cast::() = (hex6).take_handle() as i32; - *ptr5.add(20).cast::() = (keepers6).take_handle() as i32; - *ptr5.add(24).cast::() = (prefix6).take_handle() as i32; - ptr5 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_random_random_id_4_15_0_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:random/random-id@4.15.0--0.0.0-DEV#invoke"] unsafe extern - "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : i32, - arg3 : i32, arg4 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_random_random_id_4_15_0_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 28]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 28], - ); - } - #[allow(dead_code, clippy::all)] - pub mod random_integer { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub keepers: &'a Output, - pub max: &'a Output, - pub min: &'a Output, - pub seed: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("keepers", &self.keepers) - .field("max", &self.max) - .field("min", &self.min) - .field("seed", &self.seed) - .finish() - } - } - pub struct Res { - pub keepers: Output, - pub max: Output, - pub min: Output, - pub result: Output, - pub seed: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("keepers", &self.keepers) - .field("max", &self.max) - .field("min", &self.min) - .field("result", &self.result) - .field("seed", &self.seed) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - keepers: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - max: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - min: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - seed: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - keepers: keepers7, - max: max7, - min: min7, - result: result7, - seed: seed7, - } = result5; - *ptr6.add(0).cast::() = (keepers7).take_handle() as i32; - *ptr6.add(4).cast::() = (max7).take_handle() as i32; - *ptr6.add(8).cast::() = (min7).take_handle() as i32; - *ptr6.add(12).cast::() = (result7).take_handle() as i32; - *ptr6.add(16).cast::() = (seed7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_random_random_integer_4_15_0_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:random/random-integer@4.15.0--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_random_random_integer_4_15_0_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod random_password { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub keepers: &'a Output, - pub length: &'a Output, - pub lower: &'a Output, - pub min_lower: &'a Output, - pub min_numeric: &'a Output, - pub min_special: &'a Output, - pub min_upper: &'a Output, - pub number: &'a Output, - pub numeric: &'a Output, - pub override_special: &'a Output, - pub special: &'a Output, - pub upper: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("keepers", &self.keepers) - .field("length", &self.length) - .field("lower", &self.lower) - .field("min-lower", &self.min_lower) - .field("min-numeric", &self.min_numeric) - .field("min-special", &self.min_special) - .field("min-upper", &self.min_upper) - .field("number", &self.number) - .field("numeric", &self.numeric) - .field("override-special", &self.override_special) - .field("special", &self.special) - .field("upper", &self.upper) - .finish() - } - } - pub struct Res { - pub bcrypt_hash: Output, - pub keepers: Output, - pub length: Output, - pub lower: Output, - pub min_lower: Output, - pub min_numeric: Output, - pub min_special: Output, - pub min_upper: Output, - pub number: Output, - pub numeric: Output, - pub override_special: Output, - pub result: Output, - pub special: Output, - pub upper: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("bcrypt-hash", &self.bcrypt_hash) - .field("keepers", &self.keepers) - .field("length", &self.length) - .field("lower", &self.lower) - .field("min-lower", &self.min_lower) - .field("min-numeric", &self.min_numeric) - .field("min-special", &self.min_special) - .field("min-upper", &self.min_upper) - .field("number", &self.number) - .field("numeric", &self.numeric) - .field("override-special", &self.override_special) - .field("result", &self.result) - .field("special", &self.special) - .field("upper", &self.upper) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result13 = T::invoke( - _rt::string_lift(bytes0), - Args { - keepers: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - length: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - lower: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - min_lower: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - min_numeric: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - min_special: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - min_upper: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - number: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - numeric: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - override_special: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - special: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - upper: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - }, - ); - let ptr14 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - bcrypt_hash: bcrypt_hash15, - keepers: keepers15, - length: length15, - lower: lower15, - min_lower: min_lower15, - min_numeric: min_numeric15, - min_special: min_special15, - min_upper: min_upper15, - number: number15, - numeric: numeric15, - override_special: override_special15, - result: result15, - special: special15, - upper: upper15, - } = result13; - *ptr14.add(0).cast::() = (bcrypt_hash15).take_handle() as i32; - *ptr14.add(4).cast::() = (keepers15).take_handle() as i32; - *ptr14.add(8).cast::() = (length15).take_handle() as i32; - *ptr14.add(12).cast::() = (lower15).take_handle() as i32; - *ptr14.add(16).cast::() = (min_lower15).take_handle() as i32; - *ptr14.add(20).cast::() = (min_numeric15).take_handle() as i32; - *ptr14.add(24).cast::() = (min_special15).take_handle() as i32; - *ptr14.add(28).cast::() = (min_upper15).take_handle() as i32; - *ptr14.add(32).cast::() = (number15).take_handle() as i32; - *ptr14.add(36).cast::() = (numeric15).take_handle() as i32; - *ptr14.add(40).cast::() = (override_special15).take_handle() - as i32; - *ptr14.add(44).cast::() = (result15).take_handle() as i32; - *ptr14.add(48).cast::() = (special15).take_handle() as i32; - *ptr14.add(52).cast::() = (upper15).take_handle() as i32; - ptr14 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_random_random_password_4_15_0_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:random/random-password@4.15.0--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : i32, - arg13 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_random_random_password_4_15_0_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 56]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 56], - ); - } - #[allow(dead_code, clippy::all)] - pub mod random_pet { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub keepers: &'a Output, - pub length: &'a Output, - pub prefix: &'a Output, - pub separator: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("keepers", &self.keepers) - .field("length", &self.length) - .field("prefix", &self.prefix) - .field("separator", &self.separator) - .finish() - } - } - pub struct Res { - pub keepers: Output, - pub length: Output, - pub prefix: Output, - pub separator: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("keepers", &self.keepers) - .field("length", &self.length) - .field("prefix", &self.prefix) - .field("separator", &self.separator) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - keepers: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - length: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - prefix: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - separator: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - keepers: keepers7, - length: length7, - prefix: prefix7, - separator: separator7, - } = result5; - *ptr6.add(0).cast::() = (keepers7).take_handle() as i32; - *ptr6.add(4).cast::() = (length7).take_handle() as i32; - *ptr6.add(8).cast::() = (prefix7).take_handle() as i32; - *ptr6.add(12).cast::() = (separator7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_random_random_pet_4_15_0_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:random/random-pet@4.15.0--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_random_random_pet_4_15_0_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 16]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 16], - ); - } - #[allow(dead_code, clippy::all)] - pub mod random_shuffle { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub inputs: &'a Output, - pub keepers: &'a Output, - pub result_count: &'a Output, - pub seed: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("inputs", &self.inputs) - .field("keepers", &self.keepers) - .field("result-count", &self.result_count) - .field("seed", &self.seed) - .finish() - } - } - pub struct Res { - pub inputs: Output, - pub keepers: Output, - pub result_count: Output, - pub results: Output, - pub seed: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("inputs", &self.inputs) - .field("keepers", &self.keepers) - .field("result-count", &self.result_count) - .field("results", &self.results) - .field("seed", &self.seed) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result5 = T::invoke( - _rt::string_lift(bytes0), - Args { - inputs: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - keepers: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - result_count: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - seed: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - }, - ); - let ptr6 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - inputs: inputs7, - keepers: keepers7, - result_count: result_count7, - results: results7, - seed: seed7, - } = result5; - *ptr6.add(0).cast::() = (inputs7).take_handle() as i32; - *ptr6.add(4).cast::() = (keepers7).take_handle() as i32; - *ptr6.add(8).cast::() = (result_count7).take_handle() as i32; - *ptr6.add(12).cast::() = (results7).take_handle() as i32; - *ptr6.add(16).cast::() = (seed7).take_handle() as i32; - ptr6 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_random_random_shuffle_4_15_0_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:random/random-shuffle@4.15.0--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32,) -> * mut u8 { - $($path_to_types)*:: _export_invoke_cabi::<$ty > (arg0, arg1, - arg2, arg3, arg4, arg5) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_random_random_shuffle_4_15_0_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 20]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 20], - ); - } - #[allow(dead_code, clippy::all)] - pub mod random_string { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub keepers: &'a Output, - pub length: &'a Output, - pub lower: &'a Output, - pub min_lower: &'a Output, - pub min_numeric: &'a Output, - pub min_special: &'a Output, - pub min_upper: &'a Output, - pub number: &'a Output, - pub numeric: &'a Output, - pub override_special: &'a Output, - pub special: &'a Output, - pub upper: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args") - .field("keepers", &self.keepers) - .field("length", &self.length) - .field("lower", &self.lower) - .field("min-lower", &self.min_lower) - .field("min-numeric", &self.min_numeric) - .field("min-special", &self.min_special) - .field("min-upper", &self.min_upper) - .field("number", &self.number) - .field("numeric", &self.numeric) - .field("override-special", &self.override_special) - .field("special", &self.special) - .field("upper", &self.upper) - .finish() - } - } - pub struct Res { - pub keepers: Output, - pub length: Output, - pub lower: Output, - pub min_lower: Output, - pub min_numeric: Output, - pub min_special: Output, - pub min_upper: Output, - pub number: Output, - pub numeric: Output, - pub override_special: Output, - pub result: Output, - pub special: Output, - pub upper: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("keepers", &self.keepers) - .field("length", &self.length) - .field("lower", &self.lower) - .field("min-lower", &self.min_lower) - .field("min-numeric", &self.min_numeric) - .field("min-special", &self.min_special) - .field("min-upper", &self.min_upper) - .field("number", &self.number) - .field("numeric", &self.numeric) - .field("override-special", &self.override_special) - .field("result", &self.result) - .field("special", &self.special) - .field("upper", &self.upper) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - arg3: i32, - arg4: i32, - arg5: i32, - arg6: i32, - arg7: i32, - arg8: i32, - arg9: i32, - arg10: i32, - arg11: i32, - arg12: i32, - arg13: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let handle2; - let handle3; - let handle4; - let handle5; - let handle6; - let handle7; - let handle8; - let handle9; - let handle10; - let handle11; - let handle12; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result13 = T::invoke( - _rt::string_lift(bytes0), - Args { - keepers: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - length: { - handle2 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg3 as u32, - ); - &handle2 - }, - lower: { - handle3 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg4 as u32, - ); - &handle3 - }, - min_lower: { - handle4 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg5 as u32, - ); - &handle4 - }, - min_numeric: { - handle5 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg6 as u32, - ); - &handle5 - }, - min_special: { - handle6 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg7 as u32, - ); - &handle6 - }, - min_upper: { - handle7 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg8 as u32, - ); - &handle7 - }, - number: { - handle8 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg9 as u32, - ); - &handle8 - }, - numeric: { - handle9 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg10 as u32, - ); - &handle9 - }, - override_special: { - handle10 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg11 as u32, - ); - &handle10 - }, - special: { - handle11 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg12 as u32, - ); - &handle11 - }, - upper: { - handle12 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg13 as u32, - ); - &handle12 - }, - }, - ); - let ptr14 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { - keepers: keepers15, - length: length15, - lower: lower15, - min_lower: min_lower15, - min_numeric: min_numeric15, - min_special: min_special15, - min_upper: min_upper15, - number: number15, - numeric: numeric15, - override_special: override_special15, - result: result15, - special: special15, - upper: upper15, - } = result13; - *ptr14.add(0).cast::() = (keepers15).take_handle() as i32; - *ptr14.add(4).cast::() = (length15).take_handle() as i32; - *ptr14.add(8).cast::() = (lower15).take_handle() as i32; - *ptr14.add(12).cast::() = (min_lower15).take_handle() as i32; - *ptr14.add(16).cast::() = (min_numeric15).take_handle() as i32; - *ptr14.add(20).cast::() = (min_special15).take_handle() as i32; - *ptr14.add(24).cast::() = (min_upper15).take_handle() as i32; - *ptr14.add(28).cast::() = (number15).take_handle() as i32; - *ptr14.add(32).cast::() = (numeric15).take_handle() as i32; - *ptr14.add(36).cast::() = (override_special15).take_handle() - as i32; - *ptr14.add(40).cast::() = (result15).take_handle() as i32; - *ptr14.add(44).cast::() = (special15).take_handle() as i32; - *ptr14.add(48).cast::() = (upper15).take_handle() as i32; - ptr14 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_random_random_string_4_15_0_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:random/random-string@4.15.0--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32, arg3 : i32, arg4 : i32, arg5 : i32, arg6 : i32, arg7 : i32, - arg8 : i32, arg9 : i32, arg10 : i32, arg11 : i32, arg12 : i32, - arg13 : i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2, arg3, arg4, arg5, - arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_random_random_string_4_15_0_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 52]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 52], - ); - } - #[allow(dead_code, clippy::all)] - pub mod random_uuid { - #[used] - #[doc(hidden)] - static __FORCE_SECTION_REF: fn() = super::super::super::super::__link_custom_section_describing_imports; - use super::super::super::super::_rt; - pub type Output = super::super::super::super::component::pulumi_wasm::output_interface::Output; - pub struct Args<'a> { - pub keepers: &'a Output, - } - impl<'a> ::core::fmt::Debug for Args<'a> { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Args").field("keepers", &self.keepers).finish() - } - } - pub struct Res { - pub keepers: Output, - pub result: Output, - } - impl ::core::fmt::Debug for Res { - fn fmt( - &self, - f: &mut ::core::fmt::Formatter<'_>, - ) -> ::core::fmt::Result { - f.debug_struct("Res") - .field("keepers", &self.keepers) - .field("result", &self.result) - .finish() - } - } - #[doc(hidden)] - #[allow(non_snake_case)] - pub unsafe fn _export_invoke_cabi( - arg0: *mut u8, - arg1: usize, - arg2: i32, - ) -> *mut u8 { - #[cfg(target_arch = "wasm32")] _rt::run_ctors_once(); - let handle1; - let len0 = arg1; - let bytes0 = _rt::Vec::from_raw_parts(arg0.cast(), len0, len0); - let result2 = T::invoke( - _rt::string_lift(bytes0), - Args { - keepers: { - handle1 = super::super::super::super::component::pulumi_wasm::output_interface::Output::from_handle( - arg2 as u32, - ); - &handle1 - }, - }, - ); - let ptr3 = _RET_AREA.0.as_mut_ptr().cast::(); - let Res { keepers: keepers4, result: result4 } = result2; - *ptr3.add(0).cast::() = (keepers4).take_handle() as i32; - *ptr3.add(4).cast::() = (result4).take_handle() as i32; - ptr3 - } - pub trait Guest { - fn invoke(name: _rt::String, args: Args<'_>) -> Res; - } - #[doc(hidden)] - macro_rules! __export_pulumi_random_random_uuid_4_15_0_0_0_0_dev_cabi { - ($ty:ident with_types_in $($path_to_types:tt)*) => { - const _ : () = { #[export_name = - "pulumi:random/random-uuid@4.15.0--0.0.0-DEV#invoke"] unsafe - extern "C" fn export_invoke(arg0 : * mut u8, arg1 : usize, arg2 : - i32,) -> * mut u8 { $($path_to_types)*:: - _export_invoke_cabi::<$ty > (arg0, arg1, arg2) } }; - }; - } - #[doc(hidden)] - pub(crate) use __export_pulumi_random_random_uuid_4_15_0_0_0_0_dev_cabi; - #[repr(align(4))] - struct _RetArea([::core::mem::MaybeUninit; 8]); - static mut _RET_AREA: _RetArea = _RetArea( - [::core::mem::MaybeUninit::uninit(); 8], - ); - } - } - } -} -mod _rt { - use core::fmt; - use core::marker; - use core::sync::atomic::{AtomicU32, Ordering::Relaxed}; - /// A type which represents a component model resource, either imported or - /// exported into this component. - /// - /// This is a low-level wrapper which handles the lifetime of the resource - /// (namely this has a destructor). The `T` provided defines the component model - /// intrinsics that this wrapper uses. - /// - /// One of the chief purposes of this type is to provide `Deref` implementations - /// to access the underlying data when it is owned. - /// - /// This type is primarily used in generated code for exported and imported - /// resources. - #[repr(transparent)] - pub struct Resource { - handle: AtomicU32, - _marker: marker::PhantomData, - } - /// A trait which all wasm resources implement, namely providing the ability to - /// drop a resource. - /// - /// This generally is implemented by generated code, not user-facing code. - #[allow(clippy::missing_safety_doc)] - pub unsafe trait WasmResource { - /// Invokes the `[resource-drop]...` intrinsic. - unsafe fn drop(handle: u32); - } - impl Resource { - #[doc(hidden)] - pub unsafe fn from_handle(handle: u32) -> Self { - debug_assert!(handle != u32::MAX); - Self { - handle: AtomicU32::new(handle), - _marker: marker::PhantomData, - } - } - /// Takes ownership of the handle owned by `resource`. - /// - /// Note that this ideally would be `into_handle` taking `Resource` by - /// ownership. The code generator does not enable that in all situations, - /// unfortunately, so this is provided instead. - /// - /// Also note that `take_handle` is in theory only ever called on values - /// owned by a generated function. For example a generated function might - /// take `Resource` as an argument but then call `take_handle` on a - /// reference to that argument. In that sense the dynamic nature of - /// `take_handle` should only be exposed internally to generated code, not - /// to user code. - #[doc(hidden)] - pub fn take_handle(resource: &Resource) -> u32 { - resource.handle.swap(u32::MAX, Relaxed) - } - #[doc(hidden)] - pub fn handle(resource: &Resource) -> u32 { - resource.handle.load(Relaxed) - } - } - impl fmt::Debug for Resource { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.debug_struct("Resource").field("handle", &self.handle).finish() - } - } - impl Drop for Resource { - fn drop(&mut self) { - unsafe { - match self.handle.load(Relaxed) { - u32::MAX => {} - other => T::drop(other), - } - } - } - } - pub use alloc_crate::alloc; - pub use alloc_crate::string::String; - pub use alloc_crate::vec::Vec; - pub unsafe fn string_lift(bytes: Vec) -> String { - if cfg!(debug_assertions) { - String::from_utf8(bytes).unwrap() - } else { - String::from_utf8_unchecked(bytes) - } - } - pub unsafe fn cabi_dealloc(ptr: *mut u8, size: usize, align: usize) { - if size == 0 { - return; - } - let layout = alloc::Layout::from_size_align_unchecked(size, align); - alloc::dealloc(ptr, layout); - } - #[cfg(target_arch = "wasm32")] - pub fn run_ctors_once() { - wit_bindgen_rt::run_ctors_once(); - } - extern crate alloc as alloc_crate; -} -/// Generates `#[no_mangle]` functions to export the specified type as the -/// root implementation of all generated traits. -/// -/// For more information see the documentation of `wit_bindgen::generate!`. -/// -/// ```rust -/// # macro_rules! export{ ($($t:tt)*) => (); } -/// # trait Guest {} -/// struct MyType; -/// -/// impl Guest for MyType { -/// // ... -/// } -/// -/// export!(MyType); -/// ``` -#[allow(unused_macros)] -#[doc(hidden)] -macro_rules! __export_random_pulumi_impl { - ($ty:ident) => { - self::export!($ty with_types_in self); - }; - ($ty:ident with_types_in $($path_to_types_root:tt)*) => { - $($path_to_types_root)*:: - exports::pulumi::random::random_bytes::__export_pulumi_random_random_bytes_4_15_0_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::random::random_bytes); - $($path_to_types_root)*:: - exports::pulumi::random::random_id::__export_pulumi_random_random_id_4_15_0_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::random::random_id); - $($path_to_types_root)*:: - exports::pulumi::random::random_integer::__export_pulumi_random_random_integer_4_15_0_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::random::random_integer); - $($path_to_types_root)*:: - exports::pulumi::random::random_password::__export_pulumi_random_random_password_4_15_0_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: - exports::pulumi::random::random_password); $($path_to_types_root)*:: - exports::pulumi::random::random_pet::__export_pulumi_random_random_pet_4_15_0_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::random::random_pet); - $($path_to_types_root)*:: - exports::pulumi::random::random_shuffle::__export_pulumi_random_random_shuffle_4_15_0_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::random::random_shuffle); - $($path_to_types_root)*:: - exports::pulumi::random::random_string::__export_pulumi_random_random_string_4_15_0_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::random::random_string); - $($path_to_types_root)*:: - exports::pulumi::random::random_uuid::__export_pulumi_random_random_uuid_4_15_0_0_0_0_dev_cabi!($ty - with_types_in $($path_to_types_root)*:: exports::pulumi::random::random_uuid); - }; -} -#[doc(inline)] -pub(crate) use __export_random_pulumi_impl as export; -#[cfg(target_arch = "wasm32")] -#[link_section = "component-type:wit-bindgen:0.35.0:pulumi:random@4.15.0--0.0.0-DEV:random-pulumi:encoded world"] -#[doc(hidden)] -pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 2816] = *b"\ -\0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xfc\x14\x01A\x02\x01\ -A\x15\x01B\x0a\x04\0\x06output\x03\x01\x01i\0\x01@\x01\x05values\0\x01\x04\0\x13\ -[constructor]output\x01\x02\x01h\0\x01@\x02\x04self\x03\x0dfunction-names\0\x01\x04\ -\0\x12[method]output.map\x01\x04\x01p\x03\x01@\x01\x07outputs\x05\0\x01\x04\0\x07\ -combine\x01\x06\x03\00component:pulumi-wasm/output-interface@0.0.0-DEV\x05\0\x02\ -\x03\0\0\x06output\x01B\x1c\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\ -\x01r\x02\x04names\x05value\x02\x04\0\x0cobject-field\x03\0\x03\x01r\x01\x04name\ -s\x04\0\x0cresult-field\x03\0\x05\x01i\x01\x01r\x02\x04names\x06output\x07\x04\0\ -\x1eregister-resource-result-field\x03\0\x08\x01p\x04\x01p\x06\x01r\x04\x04types\ -\x04names\x06object\x0a\x07results\x0b\x04\0\x19register-resource-request\x03\0\x0c\ -\x01p\x09\x01r\x01\x06fields\x0e\x04\0\x18register-resource-result\x03\0\x0f\x01\ -r\x02\x04names\x06output\x07\x04\0\x1cresource-invoke-result-field\x03\0\x11\x01\ -r\x03\x05tokens\x06object\x0a\x07results\x0b\x04\0\x17resource-invoke-request\x03\ -\0\x13\x01p\x12\x01r\x01\x06fields\x15\x04\0\x16resource-invoke-result\x03\0\x16\ -\x01@\x01\x07request\x0d\0\x10\x04\0\x08register\x01\x18\x01@\x01\x07request\x14\ -\0\x17\x04\0\x06invoke\x01\x19\x03\02component:pulumi-wasm/register-interface@0.\ -0.0-DEV\x05\x02\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01\ -r\x02\x07keepers\x02\x06length\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x04\x06\ -base64\x05\x03hex\x05\x07keepers\x05\x06length\x05\x04\0\x03res\x03\0\x06\x01@\x02\ -\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0,pulumi:random/random-b\ -ytes@4.15.0--0.0.0-DEV\x05\x03\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\ -\0\x01h\x01\x01r\x03\x0bbyte-length\x02\x07keepers\x02\x06prefix\x02\x04\0\x04ar\ -gs\x03\0\x03\x01i\x01\x01r\x07\x07b64-std\x05\x07b64-url\x05\x0bbyte-length\x05\x03\ -dec\x05\x03hex\x05\x07keepers\x05\x06prefix\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04\ -names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0)pulumi:random/random-id@4.\ -15.0--0.0.0-DEV\x05\x04\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01\ -h\x01\x01r\x04\x07keepers\x02\x03max\x02\x03min\x02\x04seed\x02\x04\0\x04args\x03\ -\0\x03\x01i\x01\x01r\x05\x07keepers\x05\x03max\x05\x03min\x05\x06result\x05\x04s\ -eed\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invo\ -ke\x01\x08\x04\0.pulumi:random/random-integer@4.15.0--0.0.0-DEV\x05\x05\x01B\x0a\ -\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x0c\x07keepers\x02\x06\ -length\x02\x05lower\x02\x09min-lower\x02\x0bmin-numeric\x02\x0bmin-special\x02\x09\ -min-upper\x02\x06number\x02\x07numeric\x02\x10override-special\x02\x07special\x02\ -\x05upper\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0e\x0bbcrypt-hash\x05\x07ke\ -epers\x05\x06length\x05\x05lower\x05\x09min-lower\x05\x0bmin-numeric\x05\x0bmin-\ -special\x05\x09min-upper\x05\x06number\x05\x07numeric\x05\x10override-special\x05\ -\x06result\x05\x07special\x05\x05upper\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04na\ -mes\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\x04\0/pulumi:random/random-passwor\ -d@4.15.0--0.0.0-DEV\x05\x06\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\ -\x01h\x01\x01r\x04\x07keepers\x02\x06length\x02\x06prefix\x02\x09separator\x02\x04\ -\0\x04args\x03\0\x03\x01i\x01\x01r\x04\x07keepers\x05\x06length\x05\x06prefix\x05\ -\x09separator\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\ -\0\x06invoke\x01\x08\x04\0*pulumi:random/random-pet@4.15.0--0.0.0-DEV\x05\x07\x01\ -B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x04\x06inputs\x02\ -\x07keepers\x02\x0cresult-count\x02\x04seed\x02\x04\0\x04args\x03\0\x03\x01i\x01\ -\x01r\x05\x06inputs\x05\x07keepers\x05\x0cresult-count\x05\x07results\x05\x04see\ -d\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\ -\x01\x08\x04\0.pulumi:random/random-shuffle@4.15.0--0.0.0-DEV\x05\x08\x01B\x0a\x02\ -\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x0c\x07keepers\x02\x06len\ -gth\x02\x05lower\x02\x09min-lower\x02\x0bmin-numeric\x02\x0bmin-special\x02\x09m\ -in-upper\x02\x06number\x02\x07numeric\x02\x10override-special\x02\x07special\x02\ -\x05upper\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x0d\x07keepers\x05\x06length\ -\x05\x05lower\x05\x09min-lower\x05\x0bmin-numeric\x05\x0bmin-special\x05\x09min-\ -upper\x05\x06number\x05\x07numeric\x05\x10override-special\x05\x06result\x05\x07\ -special\x05\x05upper\x05\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\ -\x04\0\x06invoke\x01\x08\x04\0-pulumi:random/random-string@4.15.0--0.0.0-DEV\x05\ -\x09\x01B\x0a\x02\x03\x02\x01\x01\x04\0\x06output\x03\0\0\x01h\x01\x01r\x01\x07k\ -eepers\x02\x04\0\x04args\x03\0\x03\x01i\x01\x01r\x02\x07keepers\x05\x06result\x05\ -\x04\0\x03res\x03\0\x06\x01@\x02\x04names\x04args\x04\0\x07\x04\0\x06invoke\x01\x08\ -\x04\0+pulumi:random/random-uuid@4.15.0--0.0.0-DEV\x05\x0a\x04\0-pulumi:random/r\ -andom-pulumi@4.15.0--0.0.0-DEV\x04\0\x0b\x13\x01\0\x0drandom-pulumi\x03\0\0\0G\x09\ -producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.220.0\x10wit-bindgen-rus\ -t\x060.35.0"; -#[inline(never)] -#[doc(hidden)] -pub fn __link_custom_section_describing_imports() { - wit_bindgen_rt::maybe_link_cabi_realloc(); -} diff --git a/providers/pulumi_wasm_provider_random/src/lib.rs b/providers/pulumi_wasm_provider_random/src/lib.rs index 5d036ff0a..92fe5f8be 100644 --- a/providers/pulumi_wasm_provider_random/src/lib.rs +++ b/providers/pulumi_wasm_provider_random/src/lib.rs @@ -1,8 +1,12 @@ mod resource; -#[allow(unused_braces)] -#[allow(unused_imports)] -mod bindings; +mod bindings { + wit_bindgen::generate!({ + // the name of the world in the `*.wit` input file + world: "random-pulumi", + generate_all, + }); +} bindings::export!(Component with_types_in bindings); struct Component {} diff --git a/pulumi_wasm_generator_lib/src/output/provider/Cargo.toml.handlebars b/pulumi_wasm_generator_lib/src/output/provider/Cargo.toml.handlebars index 6bb575bf8..f042bb14a 100644 --- a/pulumi_wasm_generator_lib/src/output/provider/Cargo.toml.handlebars +++ b/pulumi_wasm_generator_lib/src/output/provider/Cargo.toml.handlebars @@ -9,15 +9,5 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -wit-bindgen-rt.workspace = true +wit-bindgen.workspace = true pulumi_wasm_common.workspace = true - -[package.metadata.component] -package = "pulumi:{{package.name}}" - -[package.metadata.component.target] -path = "wit" -world = "{{package.name}}-pulumi" - -[package.metadata.component.target.dependencies] -"component:pulumi-wasm" = { path = "wit/deps/pulumi-wasm.wit" } diff --git a/pulumi_wasm_generator_lib/src/output/provider/lib.rs.handlebars b/pulumi_wasm_generator_lib/src/output/provider/lib.rs.handlebars index 88774a054..a2fdf06c7 100644 --- a/pulumi_wasm_generator_lib/src/output/provider/lib.rs.handlebars +++ b/pulumi_wasm_generator_lib/src/output/provider/lib.rs.handlebars @@ -6,9 +6,13 @@ mod function; {{/if}} {{#if package.contains_resources_or_functions}} -#[allow(unused_braces)] -#[allow(unused_imports)] -mod bindings; +mod bindings { + wit_bindgen::generate!({ + // the name of the world in the `*.wit` input file + world: "{{package.name}}-pulumi", + generate_all, + }); +} bindings::export!(Component with_types_in bindings); {{/if}} diff --git a/pulumi_wasm_generator_lib/tests/output/cyclic-types/rust-toolchain.toml b/pulumi_wasm_generator_lib/tests/output/cyclic-types/rust-toolchain.toml index 7466ea07d..9e2af7ee0 100644 --- a/pulumi_wasm_generator_lib/tests/output/cyclic-types/rust-toolchain.toml +++ b/pulumi_wasm_generator_lib/tests/output/cyclic-types/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] channel = "1.83.0" -targets = ["wasm32-wasip1"] \ No newline at end of file +targets = ["wasm32-wasip2"] \ No newline at end of file diff --git a/pulumi_wasm_generator_lib/tests/output/functions-secrets/rust-toolchain.toml b/pulumi_wasm_generator_lib/tests/output/functions-secrets/rust-toolchain.toml index 7466ea07d..9e2af7ee0 100644 --- a/pulumi_wasm_generator_lib/tests/output/functions-secrets/rust-toolchain.toml +++ b/pulumi_wasm_generator_lib/tests/output/functions-secrets/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] channel = "1.83.0" -targets = ["wasm32-wasip1"] \ No newline at end of file +targets = ["wasm32-wasip2"] \ No newline at end of file diff --git a/pulumi_wasm_generator_lib/tests/output/mini-awsnative/rust-toolchain.toml b/pulumi_wasm_generator_lib/tests/output/mini-awsnative/rust-toolchain.toml index 7466ea07d..9e2af7ee0 100644 --- a/pulumi_wasm_generator_lib/tests/output/mini-awsnative/rust-toolchain.toml +++ b/pulumi_wasm_generator_lib/tests/output/mini-awsnative/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] channel = "1.83.0" -targets = ["wasm32-wasip1"] \ No newline at end of file +targets = ["wasm32-wasip2"] \ No newline at end of file diff --git a/pulumi_wasm_wit/Cargo.toml b/pulumi_wasm_wit/Cargo.toml index bd2d9559a..15a2aab06 100644 --- a/pulumi_wasm_wit/Cargo.toml +++ b/pulumi_wasm_wit/Cargo.toml @@ -9,6 +9,7 @@ edition.workspace = true client = [] logger = [] runner = ["dep:wasmtime"] +pulumi_wasm = [] [dependencies] wit-bindgen.workspace = true diff --git a/pulumi_wasm_wit/src/lib.rs b/pulumi_wasm_wit/src/lib.rs index 8eb554c41..d8d16ac7f 100644 --- a/pulumi_wasm_wit/src/lib.rs +++ b/pulumi_wasm_wit/src/lib.rs @@ -12,6 +12,22 @@ pub mod client_bindings { }); } +#[allow(clippy::all)] +#[allow(dead_code)] +#[allow(unused_variables)] +#[allow(unused_unsafe)] +#[cfg(feature = "pulumi_wasm")] +pub mod pulumi_wasm_bindings { + wit_bindgen::generate!({ + world: "pulumi-wasm", + with: { + "component:pulumi-wasm-external/log@0.0.0-STABLE-DEV": generate, + "component:pulumi-wasm-external/external-world@0.0.0-STABLE-DEV": generate, + "component:pulumi-wasm-external/pulumi-settings@0.0.0-STABLE-DEV": generate + } + }); +} + #[allow(clippy::all)] #[allow(dead_code)] #[allow(unused_variables)] diff --git a/regenerate_providers/src/main.rs b/regenerate_providers/src/main.rs index 66d99c381..1a36edc01 100644 --- a/regenerate_providers/src/main.rs +++ b/regenerate_providers/src/main.rs @@ -89,14 +89,12 @@ fn replace_regenerate_providers(providers: &[Provider], content: &str) -> String fn replace_build_wasm_components(providers: &[Provider], content: &str) -> String { let mut replacement = String::new(); replacement.push_str("build-wasm-providers:\n"); - replacement.push_str(" cargo component build \\\n"); for provider in providers { replacement.push_str(&format!( - " -p pulumi_wasm_{}_provider \\\n", + " cargo build --target={{{{TARGET_NAME}}}} -p pulumi_wasm_{}_provider\n", provider.name )); } - replacement.push_str(" --timings\n"); replacement.push('\n'); replacement.push_str("build-wasm-providers-release:\n"); replacement.push_str(" cargo component build \\\n"); diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7466ea07d..9e2af7ee0 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] channel = "1.83.0" -targets = ["wasm32-wasip1"] \ No newline at end of file +targets = ["wasm32-wasip2"] \ No newline at end of file From 57bb51af7cc1124ced9b3968d5bf9b081da05061 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Tue, 3 Dec 2024 02:00:00 +0100 Subject: [PATCH 4/7] wasip2 --- Cargo.lock | 140 ++++++++----------------------- justfile | 11 +-- regenerate_providers/src/main.rs | 7 +- 3 files changed, 46 insertions(+), 112 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a781b4fff..f7f8aa14f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -170,7 +170,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -181,7 +181,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -307,7 +307,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -476,7 +476,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -712,7 +712,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -723,7 +723,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -1032,7 +1032,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -1664,7 +1664,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -1761,7 +1761,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -1863,7 +1863,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -1904,7 +1904,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -1983,7 +1983,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" dependencies = [ "proc-macro2", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -2022,7 +2022,7 @@ dependencies = [ "prost", "prost-types", "regex", - "syn 2.0.89", + "syn 2.0.90", "tempfile", ] @@ -2036,7 +2036,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -2076,17 +2076,11 @@ version = "0.0.0-DEV" name = "pulumi_wasm" version = "0.0.0-DEV" dependencies = [ - "anyhow", - "bitflags", "log", "pulumi_wasm_common", "pulumi_wasm_core", "serde", "serde_json", - "tonic-build", - "uuid", - "wasmtime", - "wasmtime-wasi", "wit-bindgen-rt", ] @@ -2115,14 +2109,12 @@ version = "0.0.0-DEV" dependencies = [ "log", "pulumi_wasm_wit", - "uuid", ] [[package]] name = "pulumi_wasm_core" version = "0.0.0-DEV" dependencies = [ - "anyhow", "log", "mockall", "prost", @@ -2217,19 +2209,19 @@ dependencies = [ "assert_cmd", "convert_case", "handlebars", - "itertools 0.13.0", - "predicates", + "prettyplease", + "proc-macro2", "regex", "serde", "serde_json", "serde_yaml", + "syn 2.0.90", ] [[package]] name = "pulumi_wasm_proto" version = "0.0.0-DEV" dependencies = [ - "mockall", "prost", "prost-types", "tonic", @@ -2262,24 +2254,15 @@ dependencies = [ "anyhow", "async-trait", "clap", - "directories", "futures", "log", "log4rs", "prost", - "prost-types", "pulumi_wasm_proto", "pulumi_wasm_runner_component_creator", "pulumi_wasm_wit", - "regex", - "reqwest", - "serde", - "serde_json", "tokio", "tonic", - "tonic-web", - "uuid", - "wac-graph", "wasmtime", "wasmtime-wasi", ] @@ -2297,7 +2280,6 @@ dependencies = [ "reqwest", "tokio", "wac-graph", - "wasmprinter 0.221.0", "wit-component 0.221.0", "wit-parser 0.221.0", ] @@ -2307,8 +2289,6 @@ name = "pulumi_wasm_rust" version = "0.0.0-DEV" dependencies = [ "anyhow", - "bitflags", - "futures", "log", "once_cell", "prettyplease", @@ -2318,7 +2298,7 @@ dependencies = [ "quote", "serde", "serde_json", - "syn 2.0.89", + "syn 2.0.90", "uuid", ] @@ -2326,9 +2306,8 @@ dependencies = [ name = "pulumi_wasm_rust_macro" version = "0.0.0-DEV" dependencies = [ - "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -2675,7 +2654,7 @@ checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -2836,9 +2815,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.89" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -2948,7 +2927,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -3000,7 +2979,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -3123,27 +3102,7 @@ dependencies = [ "prost-build", "prost-types", "quote", - "syn 2.0.89", -] - -[[package]] -name = "tonic-web" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5299dd20801ad736dccb4a5ea0da7376e59cd98f213bf1c3d478cf53f4834b58" -dependencies = [ - "base64 0.22.1", - "bytes", - "http", - "http-body", - "http-body-util", - "pin-project", - "tokio-stream", - "tonic", - "tower-http", - "tower-layer", - "tower-service", - "tracing", + "syn 2.0.90", ] [[package]] @@ -3166,22 +3125,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "tower-http" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" -dependencies = [ - "bitflags", - "bytes", - "http", - "http-body", - "http-body-util", - "pin-project-lite", - "tower-layer", - "tower-service", -] - [[package]] name = "tower-layer" version = "0.3.3" @@ -3213,7 +3156,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -3429,7 +3372,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", "wasm-bindgen-shared", ] @@ -3463,7 +3406,7 @@ checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -3622,17 +3565,6 @@ dependencies = [ "wasmparser 0.219.1", ] -[[package]] -name = "wasmprinter" -version = "0.221.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4234d0682f373b1878cefd5b3d99843312478ee4f603b2cea34cc2135f0a65" -dependencies = [ - "anyhow", - "termcolor", - "wasmparser 0.221.0", -] - [[package]] name = "wasmtime" version = "27.0.0" @@ -3728,7 +3660,7 @@ dependencies = [ "anyhow", "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", "wasmtime-component-util", "wasmtime-wit-bindgen", "wit-parser 0.219.1", @@ -3788,7 +3720,7 @@ dependencies = [ "target-lexicon", "wasm-encoder 0.219.1", "wasmparser 0.219.1", - "wasmprinter 0.219.1", + "wasmprinter", "wasmtime-component-util", ] @@ -3844,7 +3776,7 @@ checksum = "df09be00c38f49172ca9936998938476e3f2df782673a39ae2ef9fb0838341b6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] @@ -3973,7 +3905,7 @@ dependencies = [ "proc-macro2", "quote", "shellexpand", - "syn 2.0.89", + "syn 2.0.90", "witx", ] @@ -3985,7 +3917,7 @@ checksum = "9b8eb1a5783540696c59cefbfc9e52570c2d5e62bd47bdf0bdcef29231879db2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", "wiggle-generate", ] @@ -4283,7 +4215,7 @@ dependencies = [ "heck", "indexmap 2.4.0", "prettyplease", - "syn 2.0.89", + "syn 2.0.90", "wasm-metadata 0.220.0", "wit-bindgen-core", "wit-component 0.220.0", @@ -4299,7 +4231,7 @@ dependencies = [ "prettyplease", "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", "wit-bindgen-core", "wit-bindgen-rust", ] @@ -4427,7 +4359,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.89", + "syn 2.0.90", ] [[package]] diff --git a/justfile b/justfile index cdbbe5658..e9cb53f88 100644 --- a/justfile +++ b/justfile @@ -58,16 +58,17 @@ build-wasm-components-release: # DO NOT EDIT - BUILD-WASM-COMPONENTS - START build-wasm-providers: - cargo build --target={{TARGET_NAME}} -p pulumi_wasm_docker_provider - cargo build --target={{TARGET_NAME}} -p pulumi_wasm_random_provider - cargo build --target={{TARGET_NAME}} -p pulumi_wasm_cloudflare_provider + cargo build --target={{TARGET_NAME}} \ + -p pulumi_wasm_docker_provider \ + -p pulumi_wasm_random_provider \ + -p pulumi_wasm_cloudflare_provider \ build-wasm-providers-release: - cargo component build \ + cargo build --target={{TARGET_NAME}} \ -p pulumi_wasm_docker_provider \ -p pulumi_wasm_random_provider \ -p pulumi_wasm_cloudflare_provider \ - --timings --release + --release # DO NOT EDIT - BUILD-WASM-COMPONENTS - END check: diff --git a/regenerate_providers/src/main.rs b/regenerate_providers/src/main.rs index 4e1d5ebdb..b1ac17d84 100644 --- a/regenerate_providers/src/main.rs +++ b/regenerate_providers/src/main.rs @@ -89,22 +89,23 @@ fn replace_regenerate_providers(providers: &[Provider], content: &str) -> String fn replace_build_wasm_components(providers: &[Provider], content: &str) -> String { let mut replacement = String::new(); replacement.push_str("build-wasm-providers:\n"); + replacement.push_str(" cargo build --target={{TARGET_NAME}} \\\n"); for provider in providers { replacement.push_str(&format!( - " cargo build --target={{{{TARGET_NAME}}}} -p pulumi_wasm_{}_provider\n", + " -p pulumi_wasm_{}_provider \\\n", provider.name )); } replacement.push('\n'); replacement.push_str("build-wasm-providers-release:\n"); - replacement.push_str(" cargo component build \\\n"); + replacement.push_str(" cargo build --target={{TARGET_NAME}} \\\n"); for provider in providers { replacement.push_str(&format!( " -p pulumi_wasm_{}_provider \\\n", provider.name )); } - replacement.push_str(" --timings --release\n"); + replacement.push_str(" --release\n"); let start_marker = "# DO NOT EDIT - BUILD-WASM-COMPONENTS - START"; let end_marker = "# DO NOT EDIT - BUILD-WASM-COMPONENTS - END"; From ffc72bbbf9407789d89f256f013fc1700f4e5a25 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Tue, 3 Dec 2024 02:20:39 +0100 Subject: [PATCH 5/7] wasip2 --- .../tests/output/cyclic-types/provider/Cargo.toml | 12 +----------- .../output/functions-secrets/provider/Cargo.toml | 12 +----------- .../output/functions-secrets/provider/src/lib.rs | 11 +++++++---- .../tests/output/mini-awsnative/provider/Cargo.toml | 12 +----------- 4 files changed, 10 insertions(+), 37 deletions(-) diff --git a/pulumi_wasm_generator_lib/tests/output/cyclic-types/provider/Cargo.toml b/pulumi_wasm_generator_lib/tests/output/cyclic-types/provider/Cargo.toml index a86da4201..120ecaa71 100644 --- a/pulumi_wasm_generator_lib/tests/output/cyclic-types/provider/Cargo.toml +++ b/pulumi_wasm_generator_lib/tests/output/cyclic-types/provider/Cargo.toml @@ -9,15 +9,5 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -wit-bindgen-rt.workspace = true +wit-bindgen.workspace = true pulumi_wasm_common.workspace = true - -[package.metadata.component] -package = "pulumi:example" - -[package.metadata.component.target] -path = "wit" -world = "example-pulumi" - -[package.metadata.component.target.dependencies] -"component:pulumi-wasm" = { path = "wit/deps/pulumi-wasm.wit" } diff --git a/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/Cargo.toml b/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/Cargo.toml index ab90c4105..ff8dd5259 100644 --- a/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/Cargo.toml +++ b/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/Cargo.toml @@ -9,15 +9,5 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -wit-bindgen-rt.workspace = true +wit-bindgen.workspace = true pulumi_wasm_common.workspace = true - -[package.metadata.component] -package = "pulumi:mypkg" - -[package.metadata.component.target] -path = "wit" -world = "mypkg-pulumi" - -[package.metadata.component.target.dependencies] -"component:pulumi-wasm" = { path = "wit/deps/pulumi-wasm.wit" } diff --git a/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/src/lib.rs b/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/src/lib.rs index 3e8987bca..3c1f5b9df 100644 --- a/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/src/lib.rs +++ b/pulumi_wasm_generator_lib/tests/output/functions-secrets/provider/src/lib.rs @@ -1,10 +1,13 @@ mod resource; mod function; -#[allow(unused_braces)] -#[allow(unused_imports)] -#[allow(static_mut_refs)] -mod bindings; +mod bindings { + wit_bindgen::generate!({ + // the name of the world in the `*.wit` input file + world: "mypkg-pulumi", + generate_all, + }); +} bindings::export!(Component with_types_in bindings); struct Component {} diff --git a/pulumi_wasm_generator_lib/tests/output/mini-awsnative/provider/Cargo.toml b/pulumi_wasm_generator_lib/tests/output/mini-awsnative/provider/Cargo.toml index 15bf39674..e3e63b4dd 100644 --- a/pulumi_wasm_generator_lib/tests/output/mini-awsnative/provider/Cargo.toml +++ b/pulumi_wasm_generator_lib/tests/output/mini-awsnative/provider/Cargo.toml @@ -9,15 +9,5 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -wit-bindgen-rt.workspace = true +wit-bindgen.workspace = true pulumi_wasm_common.workspace = true - -[package.metadata.component] -package = "pulumi:aws-native" - -[package.metadata.component.target] -path = "wit" -world = "aws-native-pulumi" - -[package.metadata.component.target.dependencies] -"component:pulumi-wasm" = { path = "wit/deps/pulumi-wasm.wit" } From eface4e4fcb4b99a27d48e692d585fb00b6389f4 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Tue, 3 Dec 2024 18:48:04 +0100 Subject: [PATCH 6/7] wasip2 --- pulumi_wasm_generator_lib/tests/test.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pulumi_wasm_generator_lib/tests/test.rs b/pulumi_wasm_generator_lib/tests/test.rs index 6bee5b1f8..5c98419bb 100644 --- a/pulumi_wasm_generator_lib/tests/test.rs +++ b/pulumi_wasm_generator_lib/tests/test.rs @@ -57,8 +57,10 @@ fn run_pulumi_generator_test(test_name: &str, provider_name: &str) -> Result<()> Command::new("cargo") .args([ - "component", + "cargo", "build", + "--target", + "wasm32-wasip2", "-p", format!("pulumi_wasm_{provider_name}_provider").as_str(), ]) From aade5f7b2ed08c956d0181edde82ceb3f59d3a09 Mon Sep 17 00:00:00 2001 From: Andrzej Ressel Date: Tue, 3 Dec 2024 19:02:48 +0100 Subject: [PATCH 7/7] wasip2 --- pulumi_wasm_generator_lib/tests/test.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/pulumi_wasm_generator_lib/tests/test.rs b/pulumi_wasm_generator_lib/tests/test.rs index 5c98419bb..16d20607a 100644 --- a/pulumi_wasm_generator_lib/tests/test.rs +++ b/pulumi_wasm_generator_lib/tests/test.rs @@ -57,7 +57,6 @@ fn run_pulumi_generator_test(test_name: &str, provider_name: &str) -> Result<()> Command::new("cargo") .args([ - "cargo", "build", "--target", "wasm32-wasip2",