-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d14273
commit 6638cc7
Showing
544 changed files
with
63,817 additions
and
24,177 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23,150 changes: 16,555 additions & 6,595 deletions
23,150
providers/pulumi_wasm_provider_cloudflare/src/bindings.rs
Large diffs are not rendered by default.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
providers/pulumi_wasm_provider_cloudflare/src/function/get_dcv_delegation.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
use std::collections::HashMap; | ||
use crate::bindings::exports::pulumi::cloudflare::get_dcv_delegation; | ||
use crate::bindings::component::pulumi_wasm::register_interface::{ObjectField, invoke, ResourceInvokeRequest, ResultField}; | ||
use crate::Component; | ||
|
||
impl get_dcv_delegation::Guest for Component { | ||
fn invoke( | ||
args: get_dcv_delegation::Args | ||
) -> get_dcv_delegation::Res { | ||
pulumi_wasm_common::setup_logger(); | ||
let request = ResourceInvokeRequest { | ||
token: "cloudflare:index/getDcvDelegation:getDcvDelegation".into(), | ||
object: vec![ | ||
ObjectField { name: "zoneId".into(), value: args.zone_id }, | ||
], | ||
results: vec![ | ||
ResultField { name: "hostname".into() }, | ||
ResultField { name: "id".into() }, | ||
ResultField { name: "zoneId".into() }, | ||
], | ||
}; | ||
|
||
let o = invoke(&request); | ||
|
||
let mut hashmap: HashMap<String, _> = o.fields.into_iter().map(|f| (f.name, f.output)).collect(); | ||
|
||
get_dcv_delegation::Res { | ||
hostname: hashmap.remove("hostname").unwrap(), | ||
id: hashmap.remove("id").unwrap(), | ||
zone_id: hashmap.remove("zoneId").unwrap(), | ||
} | ||
|
||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
providers/pulumi_wasm_provider_cloudflare/src/function/get_gateway_app_types.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
use std::collections::HashMap; | ||
use crate::bindings::exports::pulumi::cloudflare::get_gateway_app_types; | ||
use crate::bindings::component::pulumi_wasm::register_interface::{ObjectField, invoke, ResourceInvokeRequest, ResultField}; | ||
use crate::Component; | ||
|
||
impl get_gateway_app_types::Guest for Component { | ||
fn invoke( | ||
args: get_gateway_app_types::Args | ||
) -> get_gateway_app_types::Res { | ||
pulumi_wasm_common::setup_logger(); | ||
let request = ResourceInvokeRequest { | ||
token: "cloudflare:index/getGatewayAppTypes:getGatewayAppTypes".into(), | ||
object: vec![ | ||
ObjectField { name: "accountId".into(), value: args.account_id }, | ||
], | ||
results: vec![ | ||
ResultField { name: "accountId".into() }, | ||
ResultField { name: "appTypes".into() }, | ||
ResultField { name: "id".into() }, | ||
], | ||
}; | ||
|
||
let o = invoke(&request); | ||
|
||
let mut hashmap: HashMap<String, _> = o.fields.into_iter().map(|f| (f.name, f.output)).collect(); | ||
|
||
get_gateway_app_types::Res { | ||
account_id: hashmap.remove("accountId").unwrap(), | ||
app_types: hashmap.remove("appTypes").unwrap(), | ||
id: hashmap.remove("id").unwrap(), | ||
} | ||
|
||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
providers/pulumi_wasm_provider_cloudflare/src/function/get_gateway_categories.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
use std::collections::HashMap; | ||
use crate::bindings::exports::pulumi::cloudflare::get_gateway_categories; | ||
use crate::bindings::component::pulumi_wasm::register_interface::{ObjectField, invoke, ResourceInvokeRequest, ResultField}; | ||
use crate::Component; | ||
|
||
impl get_gateway_categories::Guest for Component { | ||
fn invoke( | ||
args: get_gateway_categories::Args | ||
) -> get_gateway_categories::Res { | ||
pulumi_wasm_common::setup_logger(); | ||
let request = ResourceInvokeRequest { | ||
token: "cloudflare:index/getGatewayCategories:getGatewayCategories".into(), | ||
object: vec![ | ||
ObjectField { name: "accountId".into(), value: args.account_id }, | ||
], | ||
results: vec![ | ||
ResultField { name: "accountId".into() }, | ||
ResultField { name: "categories".into() }, | ||
ResultField { name: "id".into() }, | ||
], | ||
}; | ||
|
||
let o = invoke(&request); | ||
|
||
let mut hashmap: HashMap<String, _> = o.fields.into_iter().map(|f| (f.name, f.output)).collect(); | ||
|
||
get_gateway_categories::Res { | ||
account_id: hashmap.remove("accountId").unwrap(), | ||
categories: hashmap.remove("categories").unwrap(), | ||
id: hashmap.remove("id").unwrap(), | ||
} | ||
|
||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
providers/pulumi_wasm_provider_cloudflare/src/function/get_infrastructure_access_targets.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
use std::collections::HashMap; | ||
use crate::bindings::exports::pulumi::cloudflare::get_infrastructure_access_targets; | ||
use crate::bindings::component::pulumi_wasm::register_interface::{ObjectField, invoke, ResourceInvokeRequest, ResultField}; | ||
use crate::Component; | ||
|
||
impl get_infrastructure_access_targets::Guest for Component { | ||
fn invoke( | ||
args: get_infrastructure_access_targets::Args | ||
) -> get_infrastructure_access_targets::Res { | ||
pulumi_wasm_common::setup_logger(); | ||
let request = ResourceInvokeRequest { | ||
token: "cloudflare:index/getInfrastructureAccessTargets:getInfrastructureAccessTargets".into(), | ||
object: vec![ | ||
ObjectField { name: "accountId".into(), value: args.account_id }, | ||
ObjectField { name: "createdAfter".into(), value: args.created_after }, | ||
ObjectField { name: "hostname".into(), value: args.hostname }, | ||
ObjectField { name: "hostnameContains".into(), value: args.hostname_contains }, | ||
ObjectField { name: "ipv4".into(), value: args.ipv4 }, | ||
ObjectField { name: "ipv6".into(), value: args.ipv6 }, | ||
ObjectField { name: "modifiedAfter".into(), value: args.modified_after }, | ||
ObjectField { name: "virtualNetworkId".into(), value: args.virtual_network_id }, | ||
], | ||
results: vec![ | ||
ResultField { name: "accountId".into() }, | ||
ResultField { name: "createdAfter".into() }, | ||
ResultField { name: "hostname".into() }, | ||
ResultField { name: "hostnameContains".into() }, | ||
ResultField { name: "id".into() }, | ||
ResultField { name: "ipv4".into() }, | ||
ResultField { name: "ipv6".into() }, | ||
ResultField { name: "modifiedAfter".into() }, | ||
ResultField { name: "targets".into() }, | ||
ResultField { name: "virtualNetworkId".into() }, | ||
], | ||
}; | ||
|
||
let o = invoke(&request); | ||
|
||
let mut hashmap: HashMap<String, _> = o.fields.into_iter().map(|f| (f.name, f.output)).collect(); | ||
|
||
get_infrastructure_access_targets::Res { | ||
account_id: hashmap.remove("accountId").unwrap(), | ||
created_after: hashmap.remove("createdAfter").unwrap(), | ||
hostname: hashmap.remove("hostname").unwrap(), | ||
hostname_contains: hashmap.remove("hostnameContains").unwrap(), | ||
id: hashmap.remove("id").unwrap(), | ||
ipv4: hashmap.remove("ipv4").unwrap(), | ||
ipv6: hashmap.remove("ipv6").unwrap(), | ||
modified_after: hashmap.remove("modifiedAfter").unwrap(), | ||
targets: hashmap.remove("targets").unwrap(), | ||
virtual_network_id: hashmap.remove("virtualNetworkId").unwrap(), | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
providers/pulumi_wasm_provider_cloudflare/src/function/get_zero_trust_access_application.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
use std::collections::HashMap; | ||
use crate::bindings::exports::pulumi::cloudflare::get_zero_trust_access_application; | ||
use crate::bindings::component::pulumi_wasm::register_interface::{ObjectField, invoke, ResourceInvokeRequest, ResultField}; | ||
use crate::Component; | ||
|
||
impl get_zero_trust_access_application::Guest for Component { | ||
fn invoke( | ||
args: get_zero_trust_access_application::Args | ||
) -> get_zero_trust_access_application::Res { | ||
pulumi_wasm_common::setup_logger(); | ||
let request = ResourceInvokeRequest { | ||
token: "cloudflare:index/getZeroTrustAccessApplication:getZeroTrustAccessApplication".into(), | ||
object: vec![ | ||
ObjectField { name: "accountId".into(), value: args.account_id }, | ||
ObjectField { name: "domain".into(), value: args.domain }, | ||
ObjectField { name: "name".into(), value: args.name }, | ||
ObjectField { name: "zoneId".into(), value: args.zone_id }, | ||
], | ||
results: vec![ | ||
ResultField { name: "accountId".into() }, | ||
ResultField { name: "aud".into() }, | ||
ResultField { name: "domain".into() }, | ||
ResultField { name: "id".into() }, | ||
ResultField { name: "name".into() }, | ||
ResultField { name: "zoneId".into() }, | ||
], | ||
}; | ||
|
||
let o = invoke(&request); | ||
|
||
let mut hashmap: HashMap<String, _> = o.fields.into_iter().map(|f| (f.name, f.output)).collect(); | ||
|
||
get_zero_trust_access_application::Res { | ||
account_id: hashmap.remove("accountId").unwrap(), | ||
aud: hashmap.remove("aud").unwrap(), | ||
domain: hashmap.remove("domain").unwrap(), | ||
id: hashmap.remove("id").unwrap(), | ||
name: hashmap.remove("name").unwrap(), | ||
zone_id: hashmap.remove("zoneId").unwrap(), | ||
} | ||
|
||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...s/pulumi_wasm_provider_cloudflare/src/function/get_zero_trust_access_identity_provider.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
use std::collections::HashMap; | ||
use crate::bindings::exports::pulumi::cloudflare::get_zero_trust_access_identity_provider; | ||
use crate::bindings::component::pulumi_wasm::register_interface::{ObjectField, invoke, ResourceInvokeRequest, ResultField}; | ||
use crate::Component; | ||
|
||
impl get_zero_trust_access_identity_provider::Guest for Component { | ||
fn invoke( | ||
args: get_zero_trust_access_identity_provider::Args | ||
) -> get_zero_trust_access_identity_provider::Res { | ||
pulumi_wasm_common::setup_logger(); | ||
let request = ResourceInvokeRequest { | ||
token: "cloudflare:index/getZeroTrustAccessIdentityProvider:getZeroTrustAccessIdentityProvider".into(), | ||
object: vec![ | ||
ObjectField { name: "accountId".into(), value: args.account_id }, | ||
ObjectField { name: "name".into(), value: args.name }, | ||
ObjectField { name: "zoneId".into(), value: args.zone_id }, | ||
], | ||
results: vec![ | ||
ResultField { name: "accountId".into() }, | ||
ResultField { name: "id".into() }, | ||
ResultField { name: "name".into() }, | ||
ResultField { name: "type".into() }, | ||
ResultField { name: "zoneId".into() }, | ||
], | ||
}; | ||
|
||
let o = invoke(&request); | ||
|
||
let mut hashmap: HashMap<String, _> = o.fields.into_iter().map(|f| (f.name, f.output)).collect(); | ||
|
||
get_zero_trust_access_identity_provider::Res { | ||
account_id: hashmap.remove("accountId").unwrap(), | ||
id: hashmap.remove("id").unwrap(), | ||
name: hashmap.remove("name").unwrap(), | ||
type_: hashmap.remove("type").unwrap(), | ||
zone_id: hashmap.remove("zoneId").unwrap(), | ||
} | ||
|
||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...umi_wasm_provider_cloudflare/src/function/get_zero_trust_infrastructure_access_targets.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
use std::collections::HashMap; | ||
use crate::bindings::exports::pulumi::cloudflare::get_zero_trust_infrastructure_access_targets; | ||
use crate::bindings::component::pulumi_wasm::register_interface::{ObjectField, invoke, ResourceInvokeRequest, ResultField}; | ||
use crate::Component; | ||
|
||
impl get_zero_trust_infrastructure_access_targets::Guest for Component { | ||
fn invoke( | ||
args: get_zero_trust_infrastructure_access_targets::Args | ||
) -> get_zero_trust_infrastructure_access_targets::Res { | ||
pulumi_wasm_common::setup_logger(); | ||
let request = ResourceInvokeRequest { | ||
token: "cloudflare:index/getZeroTrustInfrastructureAccessTargets:getZeroTrustInfrastructureAccessTargets".into(), | ||
object: vec![ | ||
ObjectField { name: "accountId".into(), value: args.account_id }, | ||
ObjectField { name: "createdAfter".into(), value: args.created_after }, | ||
ObjectField { name: "hostname".into(), value: args.hostname }, | ||
ObjectField { name: "hostnameContains".into(), value: args.hostname_contains }, | ||
ObjectField { name: "ipv4".into(), value: args.ipv4 }, | ||
ObjectField { name: "ipv6".into(), value: args.ipv6 }, | ||
ObjectField { name: "modifiedAfter".into(), value: args.modified_after }, | ||
ObjectField { name: "virtualNetworkId".into(), value: args.virtual_network_id }, | ||
], | ||
results: vec![ | ||
ResultField { name: "accountId".into() }, | ||
ResultField { name: "createdAfter".into() }, | ||
ResultField { name: "hostname".into() }, | ||
ResultField { name: "hostnameContains".into() }, | ||
ResultField { name: "id".into() }, | ||
ResultField { name: "ipv4".into() }, | ||
ResultField { name: "ipv6".into() }, | ||
ResultField { name: "modifiedAfter".into() }, | ||
ResultField { name: "targets".into() }, | ||
ResultField { name: "virtualNetworkId".into() }, | ||
], | ||
}; | ||
|
||
let o = invoke(&request); | ||
|
||
let mut hashmap: HashMap<String, _> = o.fields.into_iter().map(|f| (f.name, f.output)).collect(); | ||
|
||
get_zero_trust_infrastructure_access_targets::Res { | ||
account_id: hashmap.remove("accountId").unwrap(), | ||
created_after: hashmap.remove("createdAfter").unwrap(), | ||
hostname: hashmap.remove("hostname").unwrap(), | ||
hostname_contains: hashmap.remove("hostnameContains").unwrap(), | ||
id: hashmap.remove("id").unwrap(), | ||
ipv4: hashmap.remove("ipv4").unwrap(), | ||
ipv6: hashmap.remove("ipv6").unwrap(), | ||
modified_after: hashmap.remove("modifiedAfter").unwrap(), | ||
targets: hashmap.remove("targets").unwrap(), | ||
virtual_network_id: hashmap.remove("virtualNetworkId").unwrap(), | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.