diff --git a/examples/typesystem/src/lib.rs b/examples/typesystem/src/lib.rs index f0a1b8b9..984d98aa 100644 --- a/examples/typesystem/src/lib.rs +++ b/examples/typesystem/src/lib.rs @@ -3,7 +3,9 @@ mod tests { use pulumi_wasm_provider_common::OneOf2; use pulumi_wasm_rust::Output; use pulumi_wasm_typesystem::typesystem_server::TypesystemServerArgs; - use pulumi_wasm_typesystem::{MyEnum, UnionCase1, UnionCase2, UnionCaseWithConst1, UnionCaseWithConst2}; + use pulumi_wasm_typesystem::{ + MyEnum, UnionCase1, UnionCase2, UnionCaseWithConst1, UnionCaseWithConst2, + }; use std::panic::catch_unwind; #[test] @@ -49,17 +51,28 @@ mod tests { #[test] fn test_case_deserialization_with_oneof2() { - let oneof: OneOf2 = OneOf2::Left( + let oneof1: OneOf2 = OneOf2::Left( UnionCaseWithConst1::builder() - .field_1("value1".to_string()) - .build_struct(), + .field_1("value1".to_string()) + .build_struct(), + ); + let oneof2: OneOf2 = OneOf2::Right( + UnionCaseWithConst2::builder() + .field_2("value2".to_string()) + .build_struct(), ); - let json = serde_json::to_string(&oneof).unwrap(); - assert_eq!(json, r#"{"field1":"value1"}"#); - - let deserialized: OneOf2 = serde_json::from_str(&json).unwrap(); - assert_eq!(deserialized, oneof); + let json1 = serde_json::to_string(&oneof1).unwrap(); + let json2 = serde_json::to_string(&oneof2).unwrap(); + assert_eq!(json1, r#"{"field":"1","field1":"value1"}"#); + assert_eq!(json2, r#"{"field":"2","field2":"value2"}"#); + + let deserialized1: OneOf2 = + serde_json::from_str(&json1).unwrap(); + let deserialized2: OneOf2 = + serde_json::from_str(&json2).unwrap(); + assert_eq!(deserialized1, oneof1); + assert_eq!(deserialized2, oneof2); } fn compilation_test() { diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_access_application.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_access_application.rs index ab29ef6f..4e9cf674 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_access_application.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_access_application.rs @@ -5,16 +5,16 @@ #[builder(finish_fn = build_struct)] pub struct GetAccessApplicationArgs { /// The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The primary hostname and path that Access will secure. Must provide only one of `name`, `domain`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub domain: pulumi_wasm_rust::Output>, /// Friendly name of the Access Application. Must provide only one of `name`, `domain`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_access_identity_provider.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_access_identity_provider.rs index c9b75410..c009bcc4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_access_identity_provider.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_access_identity_provider.rs @@ -32,13 +32,13 @@ #[builder(finish_fn = build_struct)] pub struct GetAccessIdentityProviderArgs { /// The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Access Identity Provider name to search for. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_accounts.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_accounts.rs index cf080fca..2b08ce41 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_accounts.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_accounts.rs @@ -17,7 +17,7 @@ #[builder(finish_fn = build_struct)] pub struct GetAccountsArgs { /// The account name to target for the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_device_posture_rules.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_device_posture_rules.rs index a12b0f57..9d02006f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_device_posture_rules.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_device_posture_rules.rs @@ -24,10 +24,10 @@ pub struct GetDevicePostureRulesArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Name of the Device Posture Rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// The device posture rule type. Available values: `serial_number`, `file`, `application`, `gateway`, `warp`, `domain_joined`, `os_version`, `disk_encryption`, `firewall`, `client_certificate`, `client_certificate_v2`, `workspace_one`, `unique_client_id`, `crowdstrike_s2s`, `sentinelone`, `kolide`, `tanium_s2s`, `intune`, `sentinelone_s2s`, `custom_s2s`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub type_: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_infrastructure_access_targets.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_infrastructure_access_targets.rs index 48ff4f26..196149f4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_infrastructure_access_targets.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_infrastructure_access_targets.rs @@ -24,25 +24,25 @@ pub struct GetInfrastructureAccessTargetsArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// A date and time after a target was created to filter on. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub created_after: pulumi_wasm_rust::Output>, /// The hostname of the target. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hostname: pulumi_wasm_rust::Output>, /// Partial match to the hostname of a target - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hostname_contains: pulumi_wasm_rust::Output>, /// The target's IPv4 address. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipv4: pulumi_wasm_rust::Output>, /// The target's IPv6 address. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipv6: pulumi_wasm_rust::Output>, /// A date and time after a target was modified to filter on. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub modified_after: pulumi_wasm_rust::Output>, /// The private virtual network identifier for the target. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub virtual_network_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_load_balancer_pools.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_load_balancer_pools.rs index c39e4d75..10aa262a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_load_balancer_pools.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_load_balancer_pools.rs @@ -27,10 +27,10 @@ pub struct GetLoadBalancerPoolsArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// One or more values used to look up Load Balancer pools. If more than one value is given all values must match in order to be included. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub filter: pulumi_wasm_rust::Output>, /// A list of Load Balancer Pools details. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub pools: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_record.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_record.rs index bb383935..a894711a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_record.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_record.rs @@ -20,16 +20,16 @@ #[builder(finish_fn = build_struct)] pub struct GetRecordArgs { /// Content to filter record results on. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub content: pulumi_wasm_rust::Output>, /// Hostname to filter DNS record results on. #[builder(into)] pub hostname: pulumi_wasm_rust::Output, /// DNS priority to filter record results on. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub priority: pulumi_wasm_rust::Output>, /// DNS record type to filter record results on. Defaults to `A`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub type_: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_rulesets.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_rulesets.rs index 54ed918b..b44a0140 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_rulesets.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_rulesets.rs @@ -20,15 +20,15 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsArgs { /// The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub filter: pulumi_wasm_rust::Output>, /// Include rule data in response. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub include_rules: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_tunnel.rs index 1a4addeb..576d3605 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_tunnel.rs @@ -23,7 +23,7 @@ pub struct GetTunnelArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub is_deleted: pulumi_wasm_rust::Output>, /// Name of the tunnel. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_access_application.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_access_application.rs index 1e0a60c7..53f6c564 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_access_application.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_access_application.rs @@ -4,16 +4,16 @@ #[builder(finish_fn = build_struct)] pub struct GetZeroTrustAccessApplicationArgs { /// The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The primary hostname and path that Access will secure. Must provide only one of `name`, `domain`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub domain: pulumi_wasm_rust::Output>, /// Friendly name of the Access Application. Must provide only one of `name`, `domain`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_access_identity_provider.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_access_identity_provider.rs index 6f846d39..0449e0f8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_access_identity_provider.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_access_identity_provider.rs @@ -4,13 +4,13 @@ #[builder(finish_fn = build_struct)] pub struct GetZeroTrustAccessIdentityProviderArgs { /// The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Access Identity Provider name to search for. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_infrastructure_access_targets.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_infrastructure_access_targets.rs index a8d15cb5..54a9a25e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_infrastructure_access_targets.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_infrastructure_access_targets.rs @@ -24,25 +24,25 @@ pub struct GetZeroTrustInfrastructureAccessTargetsArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// A date and time after a target was created to filter on. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub created_after: pulumi_wasm_rust::Output>, /// The hostname of the target. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hostname: pulumi_wasm_rust::Output>, /// Partial match to the hostname of a target - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hostname_contains: pulumi_wasm_rust::Output>, /// The target's IPv4 address. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipv4: pulumi_wasm_rust::Output>, /// The target's IPv6 address. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipv6: pulumi_wasm_rust::Output>, /// A date and time after a target was modified to filter on. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub modified_after: pulumi_wasm_rust::Output>, /// The private virtual network identifier for the target. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub virtual_network_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_tunnel_cloudflared.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_tunnel_cloudflared.rs index 8a37644a..462e502d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_tunnel_cloudflared.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zero_trust_tunnel_cloudflared.rs @@ -7,7 +7,7 @@ pub struct GetZeroTrustTunnelCloudflaredArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub is_deleted: pulumi_wasm_rust::Output>, /// Name of the tunnel. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zone.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zone.rs index 70203138..6ede30c3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zone.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/function/get_zone.rs @@ -33,13 +33,13 @@ #[builder(finish_fn = build_struct)] pub struct GetZoneArgs { /// The account identifier to target for the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The name of the zone. Must provide only one of `zone_id`, `name`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Must provide only one of `zone_id`, `name`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_application.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_application.rs index c36ea1e5..70de5cf6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_application.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_application.rs @@ -19,106 +19,106 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_authenticate_via_warp: pulumi_wasm_rust::Output>, /// The identity providers selected for the application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allowed_idps: pulumi_wasm_rust::Output>>, /// The logo URL of the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub app_launcher_logo_url: pulumi_wasm_rust::Output>, /// Option to show/hide applications in App Launcher. Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub app_launcher_visible: pulumi_wasm_rust::Output>, /// Option to skip identity provider selection if only one is configured in `allowed_idps`. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auto_redirect_to_identity: pulumi_wasm_rust::Output>, /// The background color of the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub bg_color: pulumi_wasm_rust::Output>, /// CORS configuration for the Access Application. See below for reference structure. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub cors_headers: pulumi_wasm_rust::Output>>, /// Option that returns a custom error message when a user is denied access to the application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_deny_message: pulumi_wasm_rust::Output>, /// Option that redirects to a custom URL when a user is denied access to the application via identity based rules. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_deny_url: pulumi_wasm_rust::Output>, /// Option that redirects to a custom URL when a user is denied access to the application via non identity rules. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_non_identity_deny_url: pulumi_wasm_rust::Output>, /// The custom pages selected for the application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_pages: pulumi_wasm_rust::Output>>, /// The primary hostname and path that Access will secure. If the app is visible in the App Launcher dashboard, this is the domain that will be displayed. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub domain: pulumi_wasm_rust::Output>, /// Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an additional "binding" cookie on requests. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enable_binding_cookie: pulumi_wasm_rust::Output>, /// The footer links of the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub footer_links: pulumi_wasm_rust::Output>>, /// The background color of the header bar in the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub header_bg_color: pulumi_wasm_rust::Output>, /// Option to add the `HttpOnly` cookie flag to access tokens. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub http_only_cookie_attribute: pulumi_wasm_rust::Output>, /// The landing page design of the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub landing_page_design: pulumi_wasm_rust::Output>, /// Image URL for the logo shown in the app launcher dashboard. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logo_url: pulumi_wasm_rust::Output>, /// Friendly name of the Access Application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub options_preflight_bypass: pulumi_wasm_rust::Output>, /// The policies associated with the application, in ascending order of precedence. Warning: Do not use this field while you still have this application ID referenced as `application_id` in any `cloudflare.AccessPolicy` resource, as it can result in an inconsistent state. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub policies: pulumi_wasm_rust::Output>>, /// SaaS configuration for the Access Application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub saas_app: pulumi_wasm_rust::Output>, /// Defines the same-site cookie setting for access tokens. Available values: `none`, `lax`, `strict`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub same_site_cookie_attribute: pulumi_wasm_rust::Output>, /// Configuration for provisioning to this application via SCIM. This is currently in closed beta. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub scim_config: pulumi_wasm_rust::Output>, /// List of domains that access will secure. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub self_hosted_domains: pulumi_wasm_rust::Output>>, /// Option to return a 401 status code in service authentication rules on failed requests. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub service_auth401_redirect: pulumi_wasm_rust::Output>, /// How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`. Defaults to `24h`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_duration: pulumi_wasm_rust::Output>, /// Option to skip the App Launcher landing page. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub skip_app_launcher_login_page: pulumi_wasm_rust::Output>, /// Option to skip the authorization interstitial when using the CLI. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub skip_interstitial: pulumi_wasm_rust::Output>, /// The itags associated with the application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tags: pulumi_wasm_rust::Output>>, /// The payload for an infrastructure application which defines the port, protocol, and target attributes. Only applicable to Infrastructure Applications, in which case this field is required. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub target_criterias: pulumi_wasm_rust::Output>>, /// The application type. Available values: `app_launcher`, `bookmark`, `biso`, `dash_sso`, `saas`, `self_hosted`, `ssh`, `vnc`, `warp`, `infrastructure`. Defaults to `self_hosted`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub type_: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_ca_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_ca_certificate.rs index 759e9068..1a99a069 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_ca_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_ca_certificate.rs @@ -51,13 +51,13 @@ #[builder(finish_fn = build_struct)] pub struct AccessCaCertificateArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The Access Application ID to associate with the CA certificate. #[builder(into)] pub application_id: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_custom_page.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_custom_page.rs index b9f9aa48..a92ab471 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_custom_page.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_custom_page.rs @@ -24,13 +24,13 @@ #[builder(finish_fn = build_struct)] pub struct AccessCustomPageArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Number of apps to display on the custom page. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub app_count: pulumi_wasm_rust::Output>, /// Custom HTML to display on the custom page. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_html: pulumi_wasm_rust::Output>, /// Friendly name of the Access Custom Page configuration. #[builder(into)] @@ -39,7 +39,7 @@ pub struct AccessCustomPageArgs { #[builder(into)] pub type_: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_group.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_group.rs index 559df401..fb5cc6f2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_group.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_group.rs @@ -19,18 +19,18 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub excludes: pulumi_wasm_rust::Output>>, #[builder(into)] pub includes: pulumi_wasm_rust::Output>, #[builder(into)] pub name: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub requires: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_identity_provider.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_identity_provider.rs index 2f357983..565bb8a3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_identity_provider.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_identity_provider.rs @@ -84,22 +84,22 @@ #[builder(finish_fn = build_struct)] pub struct AccessIdentityProviderArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Provider configuration from the [developer documentation](https://developers.cloudflare.com/access/configuring-identity-providers/). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub configs: pulumi_wasm_rust::Output>>, /// Friendly name of the Access Identity Provider configuration. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Configuration for SCIM settings for a given IDP. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub scim_configs: pulumi_wasm_rust::Output>>, /// The provider type to use. Available values: `azureAD`, `centrify`, `facebook`, `github`, `google`, `google-apps`, `linkedin`, `oidc`, `okta`, `onelogin`, `onetimepin`, `pingone`, `saml`, `yandex`. #[builder(into)] pub type_: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_keys_configuration.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_keys_configuration.rs index 081b3eba..2a3b2e05 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_keys_configuration.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_keys_configuration.rs @@ -8,7 +8,7 @@ pub struct AccessKeysConfigurationArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Number of days to trigger a rotation of the keys. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub key_rotation_interval_days: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_mutual_tls_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_mutual_tls_certificate.rs index f220e353..ecfc715e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_mutual_tls_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_mutual_tls_certificate.rs @@ -48,19 +48,19 @@ #[builder(finish_fn = build_struct)] pub struct AccessMutualTlsCertificateArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The hostnames that will be prompted for this certificate. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub associated_hostnames: pulumi_wasm_rust::Output>>, /// The Root CA for your certificates. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub certificate: pulumi_wasm_rust::Output>, /// The name of the certificate. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_mutual_tls_hostname_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_mutual_tls_hostname_settings.rs index 428c4c57..29f41195 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_mutual_tls_hostname_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_mutual_tls_hostname_settings.rs @@ -42,12 +42,12 @@ #[builder(finish_fn = build_struct)] pub struct AccessMutualTlsHostnameSettingsArgs { /// The account identifier to target for the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub settings: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_organization.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_organization.rs index dfb748d4..b3e57986 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_organization.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_organization.rs @@ -40,42 +40,42 @@ #[builder(finish_fn = build_struct)] pub struct AccessOrganizationArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_authenticate_via_warp: pulumi_wasm_rust::Output>, /// The unique subdomain assigned to your Zero Trust organization. #[builder(into)] pub auth_domain: pulumi_wasm_rust::Output, /// When set to true, users skip the identity provider selection step during login. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auto_redirect_to_identity: pulumi_wasm_rust::Output>, /// Custom pages for your Zero Trust organization. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_pages: pulumi_wasm_rust::Output>>, /// When set to true, this will disable all editing of Access resources via the Zero Trust Dashboard. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub is_ui_read_only: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub login_designs: pulumi_wasm_rust::Output>>, /// The name of your Zero Trust organization. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_duration: pulumi_wasm_rust::Output>, /// A description of the reason why the UI read only field is being toggled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ui_read_only_toggle_reason: pulumi_wasm_rust::Output>, /// The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format `300ms` or `2h45m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub user_seat_expiration_inactive_time: pulumi_wasm_rust::Output>, /// The amount of time that tokens issued for applications will be valid. Must be in the format 30m or 2h45m. Valid time units are: m, h. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub warp_auth_session_duration: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_policy.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_policy.rs index 361f37bb..0bc568cb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_policy.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_policy.rs @@ -21,50 +21,50 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The ID of the application the policy is associated with. Required when using `precedence`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub application_id: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub approval_groups: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub approval_required: pulumi_wasm_rust::Output>, /// The rules that define how users may connect to the targets secured by your application. Only applicable to Infrastructure Applications, in which case this field is required. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub connection_rules: pulumi_wasm_rust::Output>, /// Defines the action Access will take if the policy matches the user. Available values: `allow`, `deny`, `non_identity`, `bypass`. #[builder(into)] pub decision: pulumi_wasm_rust::Output, /// A series of access conditions, see Access Groups. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub excludes: pulumi_wasm_rust::Output>>, /// A series of access conditions, see Access Groups. #[builder(into)] pub includes: pulumi_wasm_rust::Output>, /// Require this application to be served in an isolated browser for users matching this policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub isolation_required: pulumi_wasm_rust::Output>, /// Friendly name of the Access Policy. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The unique precedence for policies on a single application. Required when using `application_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub precedence: pulumi_wasm_rust::Output>, /// The prompt to display to the user for a justification for accessing the resource. Required when using `purpose_justification_required`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub purpose_justification_prompt: pulumi_wasm_rust::Output>, /// Whether to prompt the user for a justification for accessing the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub purpose_justification_required: pulumi_wasm_rust::Output>, /// A series of access conditions, see Access Groups. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub requires: pulumi_wasm_rust::Output>>, /// How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_duration: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_rule.rs index 10c66ac8..6b2d2edb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_rule.rs @@ -77,7 +77,7 @@ #[builder(finish_fn = build_struct)] pub struct AccessRuleArgs { /// The account identifier to target for the resource. Must provide only one of `account_id`, `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Rule configuration to apply to a matched request. **Modifying this attribute will force creation of a new resource.** #[builder(into)] @@ -86,10 +86,10 @@ pub struct AccessRuleArgs { #[builder(into)] pub mode: pulumi_wasm_rust::Output, /// A personal note about the rule. Typically used as a reminder or explanation for the rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub notes: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Must provide only one of `account_id`, `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_service_token.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_service_token.rs index 58e4c932..1e41bb3d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_service_token.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_service_token.rs @@ -20,18 +20,18 @@ #[builder(finish_fn = build_struct)] pub struct AccessServiceTokenArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Length of time the service token is valid for. Available values: `8760h`, `17520h`, `43800h`, `87600h`, `forever`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub duration: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_days_for_renewal: pulumi_wasm_rust::Output>, /// Friendly name of the token's intent. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_tag.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_tag.rs index 714e1e25..a2a2c47d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_tag.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/access_tag.rs @@ -5,16 +5,16 @@ #[builder(finish_fn = build_struct)] pub struct AccessTagArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Number of apps associated with the tag. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub app_count: pulumi_wasm_rust::Output>, /// Friendly name of the Access Tag. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/account.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/account.rs index 1b2babc1..07237f7a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/account.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/account.rs @@ -30,13 +30,13 @@ #[builder(finish_fn = build_struct)] pub struct AccountArgs { /// Whether 2FA is enforced on the account. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enforce_twofactor: pulumi_wasm_rust::Output>, /// The name of the account that is displayed in the Cloudflare dashboard. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Account type. Available values: `enterprise`, `standard`. Defaults to `standard`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub type_: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/account_member.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/account_member.rs index ec586167..e7c45235 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/account_member.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/account_member.rs @@ -43,7 +43,7 @@ pub struct AccountMemberArgs { #[builder(into)] pub role_ids: pulumi_wasm_rust::Output>, /// A member's status in the account. Available values: `accepted`, `pending`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub status: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/address_map.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/address_map.rs index 88fbada2..8ee99b77 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/address_map.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/address_map.rs @@ -49,19 +49,19 @@ pub struct AddressMapArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub default_sni: pulumi_wasm_rust::Output>, /// Description of the address map. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Whether the Address Map is enabled or not. #[builder(into)] pub enabled: pulumi_wasm_rust::Output, /// The set of IPs on the Address Map. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ips: pulumi_wasm_rust::Output>>, /// Zones and Accounts which will be assigned IPs on this Address Map. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub memberships: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield.rs index c0fca6fa..3490b906 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield.rs @@ -26,7 +26,7 @@ #[builder(finish_fn = build_struct)] pub struct ApiShieldArgs { /// Characteristics define properties across which auth-ids can be computed in a privacy-preserving manner. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auth_id_characteristics: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_operation_schema_validation_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_operation_schema_validation_settings.rs index 9dfccd36..6fe5e389 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_operation_schema_validation_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_operation_schema_validation_settings.rs @@ -31,7 +31,7 @@ #[builder(finish_fn = build_struct)] pub struct ApiShieldOperationSchemaValidationSettingsArgs { /// The mitigation action to apply to this operation. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub mitigation_action: pulumi_wasm_rust::Output>, /// Operation ID these settings should apply to. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_schema.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_schema.rs index 277a89ac..bb539fbb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_schema.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_schema.rs @@ -24,7 +24,7 @@ #[builder(finish_fn = build_struct)] pub struct ApiShieldSchemaArgs { /// Kind of schema. Defaults to `openapi_v3`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub kind: pulumi_wasm_rust::Output>, /// Name of the schema. **Modifying this attribute will force creation of a new resource.** #[builder(into)] @@ -33,7 +33,7 @@ pub struct ApiShieldSchemaArgs { #[builder(into)] pub source: pulumi_wasm_rust::Output, /// Flag whether schema is enabled for validation. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub validation_enabled: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_schema_validation_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_schema_validation_settings.rs index ccdd7921..aeffbd2a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_schema_validation_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_shield_schema_validation_settings.rs @@ -25,7 +25,7 @@ pub struct ApiShieldSchemaValidationSettingsArgs { #[builder(into)] pub validation_default_mitigation_action: pulumi_wasm_rust::Output, /// When set, this overrides both zone level and operation level mitigation actions. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub validation_override_mitigation_action: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_token.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_token.rs index 70278d55..b9c9d99c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_token.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/api_token.rs @@ -8,16 +8,16 @@ #[builder(finish_fn = build_struct)] pub struct ApiTokenArgs { /// Conditions under which the token should be considered valid. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub condition: pulumi_wasm_rust::Output>, /// The expiration time on or after which the token MUST NOT be accepted for processing. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expires_on: pulumi_wasm_rust::Output>, /// Name of the API Token. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The time before which the token MUST NOT be accepted for processing. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub not_before: pulumi_wasm_rust::Output>, /// Permissions policy. Multiple policy blocks can be defined. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/argo.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/argo.rs index 318095dd..b0a72412 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/argo.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/argo.rs @@ -30,10 +30,10 @@ #[builder(finish_fn = build_struct)] pub struct ArgoArgs { /// Whether smart routing is enabled. Available values: `on`, `off`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub smart_routing: pulumi_wasm_rust::Output>, /// Whether tiered caching is enabled. Available values: `on`, `off`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tiered_caching: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/authenticated_origin_pulls.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/authenticated_origin_pulls.rs index 0ed4ea95..81a35ba6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/authenticated_origin_pulls.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/authenticated_origin_pulls.rs @@ -79,13 +79,13 @@ #[builder(finish_fn = build_struct)] pub struct AuthenticatedOriginPullsArgs { /// The ID of an uploaded Authenticated Origin Pulls certificate. If no hostname is provided, this certificate will be used zone wide as Per-Zone Authenticated Origin Pulls. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub authenticated_origin_pulls_certificate: pulumi_wasm_rust::Output>, /// Whether to enable Authenticated Origin Pulls on the given zone or hostname. #[builder(into)] pub enabled: pulumi_wasm_rust::Output, /// Specify a hostname to enable Per-Hostname Authenticated Origin Pulls on, using the provided certificate. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hostname: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/bot_management.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/bot_management.rs index 2eb86926..dfdb2faa 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/bot_management.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/bot_management.rs @@ -39,34 +39,34 @@ #[builder(finish_fn = build_struct)] pub struct BotManagementArgs { /// Enable rule to block AI Scrapers and Crawlers. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ai_bots_protection: pulumi_wasm_rust::Output>, /// Automatically update to the newest bot detection models created by Cloudflare as they are released. [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auto_update_model: pulumi_wasm_rust::Output>, /// Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enable_js: pulumi_wasm_rust::Output>, /// Whether to enable Bot Fight Mode. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub fight_mode: pulumi_wasm_rust::Output>, /// Whether to optimize Super Bot Fight Mode protections for Wordpress. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub optimize_wordpress: pulumi_wasm_rust::Output>, /// Super Bot Fight Mode (SBFM) action to take on definitely automated requests. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub sbfm_definitely_automated: pulumi_wasm_rust::Output>, /// Super Bot Fight Mode (SBFM) action to take on likely automated requests. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub sbfm_likely_automated: pulumi_wasm_rust::Output>, /// Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub sbfm_static_resource_protection: pulumi_wasm_rust::Output>, /// Super Bot Fight Mode (SBFM) action to take on verified bots requests. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub sbfm_verified_bots: pulumi_wasm_rust::Output>, /// Whether to disable tracking the highest bot score for a session in the Bot Management cookie. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub suppress_session_score: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/byo_ip_prefix.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/byo_ip_prefix.rs index 8d98fa18..e55d1800 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/byo_ip_prefix.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/byo_ip_prefix.rs @@ -34,10 +34,10 @@ pub struct ByoIpPrefixArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Available values: `on`, `off`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub advertisement: pulumi_wasm_rust::Output>, /// Description of the BYO IP prefix. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The assigned Bring-Your-Own-IP prefix ID. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/certificate_pack.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/certificate_pack.rs index dcbddff6..4ed37e17 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/certificate_pack.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/certificate_pack.rs @@ -18,7 +18,7 @@ pub struct CertificatePackArgs { #[builder(into)] pub certificate_authority: pulumi_wasm_rust::Output, /// Whether or not to include Cloudflare branding. This will add `sni.cloudflaressl.com` as the Common Name if set to `true`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub cloudflare_branding: pulumi_wasm_rust::Output>, /// List of hostnames to provision the certificate pack for. The zone name must be included as a host. Note: If using Let's Encrypt, you cannot use individual subdomains and only a wildcard for subdomain is available. **Modifying this attribute will force creation of a new resource.** #[builder(into)] @@ -26,18 +26,18 @@ pub struct CertificatePackArgs { /// Certificate pack configuration type. Available values: `advanced`. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub type_: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub validation_errors: pulumi_wasm_rust::Output>>, /// Which validation method to use in order to prove domain ownership. Available values: `txt`, `http`, `email`. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub validation_method: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub validation_records: pulumi_wasm_rust::Output>>, /// How long the certificate is valid for. Note: If using Let's Encrypt, this value can only be 90 days. Available values: `14`, `30`, `90`, `365`. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub validity_days: pulumi_wasm_rust::Output, /// Whether or not to wait for a certificate pack to reach status `active` during creation. Defaults to `false`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub wait_for_active_status: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/cloud_connector_rules.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/cloud_connector_rules.rs index 301158d2..f47f94b2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/cloud_connector_rules.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/cloud_connector_rules.rs @@ -21,7 +21,7 @@ #[builder(finish_fn = build_struct)] pub struct CloudConnectorRulesArgs { /// List of Cloud Connector Rules - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rules: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_hostname.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_hostname.rs index 4ae4897b..842d6161 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_hostname.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_hostname.rs @@ -29,22 +29,22 @@ #[builder(finish_fn = build_struct)] pub struct CustomHostnameArgs { /// Custom metadata associated with custom hostname. Only supports primitive string values, all other values are accessible via the API directly. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_metadata: pulumi_wasm_rust::Output>>, /// The custom origin server used for certificates. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_origin_server: pulumi_wasm_rust::Output>, /// The [custom origin SNI](https://developers.cloudflare.com/ssl/ssl-for-saas/hostname-specific-behavior/custom-origin) used for certificates. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_origin_sni: pulumi_wasm_rust::Output>, /// Hostname you intend to request a certificate for. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub hostname: pulumi_wasm_rust::Output, /// SSL properties used when creating the custom hostname. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ssls: pulumi_wasm_rust::Output>>, /// Whether to wait for a custom hostname SSL sub-object to reach status `pending_validation` during creation. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub wait_for_ssl_pending_validation: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_pages.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_pages.rs index 64eb5201..7b6baf1a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_pages.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_pages.rs @@ -30,10 +30,10 @@ #[builder(finish_fn = build_struct)] pub struct CustomPagesArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Managed state of the custom page. Available values: `default`, `customized`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub state: pulumi_wasm_rust::Output>, /// The type of custom page you wish to update. Available values: `basic_challenge`, `waf_challenge`, `waf_block`, `ratelimit_block`, `country_challenge`, `ip_block`, `under_attack`, `500_errors`, `1000_errors`, `managed_challenge`. #[builder(into)] @@ -42,7 +42,7 @@ pub struct CustomPagesArgs { #[builder(into)] pub url: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_ssl.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_ssl.rs index ccd82910..5c91181a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_ssl.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/custom_ssl.rs @@ -27,9 +27,9 @@ #[builder(finish_fn = build_struct)] pub struct CustomSslArgs { /// The certificate associated parameters. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_ssl_options: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_ssl_priorities: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_posture_integration.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_posture_integration.rs index c3e6111a..1d51cd0a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_posture_integration.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_posture_integration.rs @@ -43,12 +43,12 @@ pub struct DevicePostureIntegrationArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// The device posture integration's connection authorization parameters. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub configs: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub identifier: pulumi_wasm_rust::Output>, /// Indicates the frequency with which to poll the third-party API. Must be in the format `1h` or `30m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub interval: pulumi_wasm_rust::Output>, /// Name of the device posture integration. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_posture_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_posture_rule.rs index 4c5d58ec..d4a655ca 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_posture_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_posture_rule.rs @@ -44,22 +44,22 @@ pub struct DevicePostureRuleArgs { /// The account identifier to target for the resource. #[builder(into)] pub account_id: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Expire posture results after the specified amount of time. Must be in the format `1h` or `30m`. Valid units are `h` and `m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expiration: pulumi_wasm_rust::Output>, /// Required for all rule types except `warp`, `gateway`, and `tanium`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub inputs: pulumi_wasm_rust::Output>>, /// The conditions that the client must match to run the rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub matches: pulumi_wasm_rust::Output>>, /// Name of the device posture rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// Tells the client when to run the device posture check. Must be in the format `1h` or `30m`. Valid units are `h` and `m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub schedule: pulumi_wasm_rust::Output>, /// The device posture rule type. Available values: `serial_number`, `file`, `application`, `gateway`, `warp`, `domain_joined`, `os_version`, `disk_encryption`, `firewall`, `client_certificate`, `client_certificate_v2`, `workspace_one`, `unique_client_id`, `crowdstrike_s2s`, `sentinelone`, `kolide`, `tanium_s2s`, `intune`, `sentinelone_s2s`, `custom_s2s`. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_settings_policy.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_settings_policy.rs index fa5173cf..6de01d7d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_settings_policy.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/device_settings_policy.rs @@ -50,58 +50,58 @@ pub struct DeviceSettingsPolicyArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Whether to allow mode switch for this policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_mode_switch: pulumi_wasm_rust::Output>, /// Whether to allow updates under this policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_updates: pulumi_wasm_rust::Output>, /// Whether to allow devices to leave the organization. Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allowed_to_leave: pulumi_wasm_rust::Output>, /// The amount of time in seconds to reconnect after having been disabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auto_connect: pulumi_wasm_rust::Output>, /// The captive portal value for this policy. Defaults to `180`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub captive_portal: pulumi_wasm_rust::Output>, /// Whether the policy refers to the default account policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub default: pulumi_wasm_rust::Output>, /// Description of Policy. #[builder(into)] pub description: pulumi_wasm_rust::Output, /// Whether to disable auto fallback for this policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub disable_auto_fallback: pulumi_wasm_rust::Output>, /// Whether the policy is enabled (cannot be set for default policies). Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// Whether to add Microsoft IPs to split tunnel exclusions. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub exclude_office_ips: pulumi_wasm_rust::Output>, /// Wirefilter expression to match a device against when evaluating whether this policy should take effect for that device. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub match_: pulumi_wasm_rust::Output>, /// Name of the policy. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The precedence of the policy. Lower values indicate higher precedence. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub precedence: pulumi_wasm_rust::Output>, /// The service mode. Available values: `1dot1`, `warp`, `proxy`, `posture_only`, `warp_tunnel_only`. Defaults to `warp`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub service_mode_v2_mode: pulumi_wasm_rust::Output>, /// The port to use for the proxy service mode. Required when using `service_mode_v2_mode`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub service_mode_v2_port: pulumi_wasm_rust::Output>, /// The support URL that will be opened when sending feedback. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub support_url: pulumi_wasm_rust::Output>, /// Enablement of the ZT client switch lock. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub switch_locked: pulumi_wasm_rust::Output>, /// Determines which tunnel protocol to use. Available values: `""`, `wireguard`, `masque`. Defaults to `wireguard`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tunnel_protocol: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/dlp_profile.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/dlp_profile.rs index 947dffff..af42169c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/dlp_profile.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/dlp_profile.rs @@ -80,10 +80,10 @@ pub struct DlpProfileArgs { #[builder(into)] pub allowed_match_count: pulumi_wasm_rust::Output, /// Scan the context of predefined entries to only return matches surrounded by keywords. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub context_awareness: pulumi_wasm_rust::Output>, /// Brief summary of the profile and its intended use. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// List of entries to apply to the profile. #[builder(into)] @@ -92,7 +92,7 @@ pub struct DlpProfileArgs { #[builder(into)] pub name: pulumi_wasm_rust::Output, /// If true, scan images via OCR to determine if any text present matches filters. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ocr_enabled: pulumi_wasm_rust::Output>, /// The type of the profile. Available values: `custom`, `predefined`. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_catch_all.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_catch_all.rs index fd5bc6ab..2c6359c2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_catch_all.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_catch_all.rs @@ -36,7 +36,7 @@ pub struct EmailRoutingCatchAllArgs { #[builder(into)] pub actions: pulumi_wasm_rust::Output>, /// Routing rule status. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// Matching patterns to forward to your actions. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_rule.rs index 4c6d6ac9..72c232e2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_rule.rs @@ -41,19 +41,19 @@ #[builder(finish_fn = build_struct)] pub struct EmailRoutingRuleArgs { /// Actions to take when a match is found. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub actions: pulumi_wasm_rust::Output>>, /// Whether the email routing rule is enabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// Matching patterns to forward to your actions. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub matchers: pulumi_wasm_rust::Output>>, /// Routing rule name. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The priority of the email routing rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub priority: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_settings.rs index 82cb9d9e..5bcad9a7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/email_routing_settings.rs @@ -19,7 +19,7 @@ pub struct EmailRoutingSettingsArgs { #[builder(into)] pub enabled: pulumi_wasm_rust::Output, /// Flag to check if the user skipped the configuration wizard. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub skip_wizard: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/fallback_domain.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/fallback_domain.rs index 4b139dc2..7054241b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/fallback_domain.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/fallback_domain.rs @@ -21,7 +21,7 @@ pub struct FallbackDomainArgs { #[builder(into)] pub domains: pulumi_wasm_rust::Output>, /// The settings policy for which to configure this fallback domain policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub policy_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/filter.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/filter.rs index 75ee5348..b8421894 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/filter.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/filter.rs @@ -40,16 +40,16 @@ #[builder(finish_fn = build_struct)] pub struct FilterArgs { /// A note that you can use to describe the purpose of the filter. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The filter expression to be used. #[builder(into)] pub expression: pulumi_wasm_rust::Output, /// Whether this filter is currently paused. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub paused: pulumi_wasm_rust::Output>, /// Short reference tag to quickly select related rules. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ref_: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/firewall_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/firewall_rule.rs index b84443d9..9a8fbb4a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/firewall_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/firewall_rule.rs @@ -55,19 +55,19 @@ pub struct FirewallRuleArgs { #[builder(into)] pub action: pulumi_wasm_rust::Output, /// A description of the rule to help identify it. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The identifier of the Filter to use for determining if the Firewall Rule should be triggered. #[builder(into)] pub filter_id: pulumi_wasm_rust::Output, /// Whether this filter based firewall rule is currently paused. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub paused: pulumi_wasm_rust::Output>, /// The priority of the rule to allow control of processing order. A lower number indicates high priority. If not provided, any rules with a priority will be sequenced before those without. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub priority: pulumi_wasm_rust::Output>, /// List of products to bypass for a request when the bypass action is used. Available values: `zoneLockdown`, `uaBlock`, `bic`, `hot`, `securityLevel`, `rateLimit`, `waf`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub products: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/gre_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/gre_tunnel.rs index 9f503438..35d1db80 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/gre_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/gre_tunnel.rs @@ -37,7 +37,7 @@ #[builder(finish_fn = build_struct)] pub struct GreTunnelArgs { /// The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The IP address assigned to the Cloudflare side of the GRE tunnel. #[builder(into)] @@ -46,28 +46,28 @@ pub struct GreTunnelArgs { #[builder(into)] pub customer_gre_endpoint: pulumi_wasm_rust::Output, /// Description of the GRE tunnel intent. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Specifies if ICMP tunnel health checks are enabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_enabled: pulumi_wasm_rust::Output>, /// The IP address of the customer endpoint that will receive tunnel health checks. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_target: pulumi_wasm_rust::Output>, /// Specifies the ICMP echo type for the health check. Available values: `request`, `reply`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_type: pulumi_wasm_rust::Output>, /// 31-bit prefix (/31 in CIDR notation) supporting 2 hosts, one for each side of the tunnel. #[builder(into)] pub interface_address: pulumi_wasm_rust::Output, /// Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub mtu: pulumi_wasm_rust::Output>, /// Name of the GRE tunnel. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Time To Live (TTL) in number of hops of the GRE tunnel. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ttl: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/healthcheck.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/healthcheck.rs index abc496a8..bb75792d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/healthcheck.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/healthcheck.rs @@ -76,55 +76,55 @@ pub struct HealthcheckArgs { #[builder(into)] pub address: pulumi_wasm_rust::Output, /// Do not validate the certificate when the health check uses HTTPS. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_insecure: pulumi_wasm_rust::Output>, /// A list of regions from which to run health checks. If not set, Cloudflare will pick a default region. Available values: `WNAM`, `ENAM`, `WEU`, `EEU`, `NSAM`, `SSAM`, `OC`, `ME`, `NAF`, `SAF`, `IN`, `SEAS`, `NEAS`, `ALL_REGIONS`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub check_regions: pulumi_wasm_rust::Output>>, /// The number of consecutive fails required from a health check before changing the health to unhealthy. Defaults to `1`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub consecutive_fails: pulumi_wasm_rust::Output>, /// The number of consecutive successes required from a health check before changing the health to healthy. Defaults to `1`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub consecutive_successes: pulumi_wasm_rust::Output>, /// A human-readable description of the health check. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// A case-insensitive sub-string to look for in the response body. If this string is not found the origin will be marked as unhealthy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expected_body: pulumi_wasm_rust::Output>, /// The expected HTTP response codes (e.g. '200') or code ranges (e.g. '2xx' for all codes starting with 2) of the health check. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expected_codes: pulumi_wasm_rust::Output>>, /// Follow redirects if the origin returns a 3xx status code. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub follow_redirects: pulumi_wasm_rust::Output>, /// The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub headers: pulumi_wasm_rust::Output>>, /// The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase the load on the origin as we check from multiple locations. Defaults to `60`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub interval: pulumi_wasm_rust::Output>, /// The HTTP method to use for the health check. Available values: `connection_established`, `GET`, `HEAD`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub method: pulumi_wasm_rust::Output>, /// A short name to identify the health check. Only alphanumeric characters, hyphens, and underscores are allowed. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The endpoint path to health check against. Defaults to `/`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub path: pulumi_wasm_rust::Output>, /// Port number to connect to for the health check. Defaults to `80`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub port: pulumi_wasm_rust::Output>, /// The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to `2`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub retries: pulumi_wasm_rust::Output>, /// If suspended, no health checks are sent to the origin. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub suspended: pulumi_wasm_rust::Output>, /// The timeout (in seconds) before marking the health check as failed. Defaults to `5`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub timeout: pulumi_wasm_rust::Output>, /// The protocol to use for the health check. Available values: `TCP`, `HTTP`, `HTTPS`. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/hostname_tls_setting_ciphers.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/hostname_tls_setting_ciphers.rs index a2ea85c8..c82ff71b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/hostname_tls_setting_ciphers.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/hostname_tls_setting_ciphers.rs @@ -32,7 +32,7 @@ pub struct HostnameTlsSettingCiphersArgs { #[builder(into)] pub hostname: pulumi_wasm_rust::Output, /// Ports to use within the IP rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ports: pulumi_wasm_rust::Output>>, /// Ciphers suites value. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/hyperdrive_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/hyperdrive_config.rs index 9831dc0a..f14e772a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/hyperdrive_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/hyperdrive_config.rs @@ -41,7 +41,7 @@ pub struct HyperdriveConfigArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// The caching details for the Hyperdrive configuration. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub caching: pulumi_wasm_rust::Output>, /// The name of the Hyperdrive configuration. #[builder(into)] @@ -50,7 +50,7 @@ pub struct HyperdriveConfigArgs { #[builder(into)] pub origin: pulumi_wasm_rust::Output, /// The identifier of this resource. This is the hyperdrive config value. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub resource_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/ipsec_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/ipsec_tunnel.rs index 67c18ff8..789ae325 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/ipsec_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/ipsec_tunnel.rs @@ -37,10 +37,10 @@ #[builder(finish_fn = build_struct)] pub struct IpsecTunnelArgs { /// The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Specifies if this tunnel may use a null cipher (ENCR_NULL) in Phase 2. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_null_cipher: pulumi_wasm_rust::Output>, /// IP address assigned to the Cloudflare side of the IPsec tunnel. #[builder(into)] @@ -49,28 +49,28 @@ pub struct IpsecTunnelArgs { #[builder(into)] pub customer_endpoint: pulumi_wasm_rust::Output, /// An optional description of the IPsec tunnel. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// `remote_id` in the form of a fqdn. This value is generated by cloudflare. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub fqdn_id: pulumi_wasm_rust::Output>, /// Specifies the direction for the health check. Available values: `unidirectional`, `bidirectional` Default: `unidirectional`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_direction: pulumi_wasm_rust::Output>, /// Specifies if ICMP tunnel health checks are enabled. Default: `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_enabled: pulumi_wasm_rust::Output>, /// Specifies the ICMP rate for the health check. Available values: `low`, `mid`, `high` Default: `mid`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_rate: pulumi_wasm_rust::Output>, /// The IP address of the customer endpoint that will receive tunnel health checks. Default: ``. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_target: pulumi_wasm_rust::Output>, /// Specifies the ICMP echo type for the health check (`request` or `reply`). Available values: `request`, `reply` Default: `reply`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_type: pulumi_wasm_rust::Output>, /// `remote_id` as a hex string. This value is generated by cloudflare. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hex_id: pulumi_wasm_rust::Output>, /// 31-bit prefix (/31 in CIDR notation) supporting 2 hosts, one for each side of the tunnel. #[builder(into)] @@ -79,16 +79,16 @@ pub struct IpsecTunnelArgs { #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Pre shared key to be used with the IPsec tunnel. If left unset, it will be autogenerated. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub psk: pulumi_wasm_rust::Output>, /// ID to be used while setting up the IPsec tunnel. This value is generated by cloudflare. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub remote_id: pulumi_wasm_rust::Output>, /// Specifies if replay protection is enabled. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub replay_protection: pulumi_wasm_rust::Output>, /// `remote_id` in the form of an email address. This value is generated by cloudflare. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub user_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/keyless_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/keyless_certificate.rs index deeafc7e..495a0a66 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/keyless_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/keyless_certificate.rs @@ -33,22 +33,22 @@ #[builder(finish_fn = build_struct)] pub struct KeylessCertificateArgs { /// A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: `ubiquitous`, `optimal`, `force`. Defaults to `ubiquitous`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub bundle_method: pulumi_wasm_rust::Output>, /// The zone's SSL certificate or SSL certificate and intermediate(s). **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub certificate: pulumi_wasm_rust::Output, /// Whether the KeyLess SSL is on. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// The KeyLess SSL host. #[builder(into)] pub host: pulumi_wasm_rust::Output, /// The KeyLess SSL name. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// The KeyLess SSL port used to communicate between Cloudflare and the client's KeyLess SSL server. Defaults to `24008`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub port: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/list.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/list.rs index d3ca9106..eb5c2c11 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/list.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/list.rs @@ -14,10 +14,10 @@ pub struct ListArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// An optional description of the list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The items in the list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub items: pulumi_wasm_rust::Output>>, /// The type of items the list will contain. Must provide only one of: `ip`, `redirect`, `hostname`, `asn`.. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/list_item.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/list_item.rs index 24a2025f..786d44c4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/list_item.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/list_item.rs @@ -105,22 +105,22 @@ pub struct ListItemArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Autonomous system number to include in the list. Must provide only one of: `ip`, `asn`, `redirect`, `hostname`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub asn: pulumi_wasm_rust::Output>, /// An optional comment for the item. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub comment: pulumi_wasm_rust::Output>, /// Hostname to store in the list. Must provide only one of: `ip`, `asn`, `redirect`, `hostname`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hostname: pulumi_wasm_rust::Output>, /// IP address to include in the list. Must provide only one of: `ip`, `asn`, `redirect`, `hostname`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ip: pulumi_wasm_rust::Output>, /// The list identifier to target for the resource. #[builder(into)] pub list_id: pulumi_wasm_rust::Output, /// Redirect configuration to store in the list. Must provide only one of: `ip`, `asn`, `redirect`, `hostname`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub redirect: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer.rs index d8bec7ee..e34e5175 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer.rs @@ -78,58 +78,58 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerArgs { /// Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub adaptive_routings: pulumi_wasm_rust::Output>>, /// A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub country_pools: pulumi_wasm_rust::Output>>, /// A list of pool IDs ordered by their failover priority. Used whenever `pop_pools`/`country_pools`/`region_pools` are not defined. #[builder(into)] pub default_pool_ids: pulumi_wasm_rust::Output>, /// Free text description. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Enable or disable the load balancer. Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// The pool ID to use when all other pools are detected as unhealthy. #[builder(into)] pub fallback_pool_id: pulumi_wasm_rust::Output, /// Controls location-based steering for non-proxied requests. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub location_strategies: pulumi_wasm_rust::Output>>, /// The DNS hostname to associate with your load balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the load balancer will take precedence and the DNS record will not be used. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub pop_pools: pulumi_wasm_rust::Output>>, /// Whether the hostname gets Cloudflare's origin protection. Defaults to `false`. Conflicts with `ttl`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub proxied: pulumi_wasm_rust::Output>, /// Configures pool weights. When `steering_policy="random"`, a random pool is selected with probability proportional to pool weights. When `steering_policy="least_outstanding_requests"`, pool weights are used to scale each pool's outstanding requests. When `steering_policy="least_connections"`, pool weights are used to scale each pool's open connections. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub random_steerings: pulumi_wasm_rust::Output>>, /// A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub region_pools: pulumi_wasm_rust::Output>>, /// A list of rules for this load balancer to execute. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rules: pulumi_wasm_rust::Output>>, /// Specifies the type of session affinity the load balancer should use unless specified as `none` or `""` (default). With value `cookie`, on the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy then a new origin server is calculated and used. Value `ip_cookie` behaves the same as `cookie` except the initial origin selection is stable and based on the client's IP address. Available values: `""`, `none`, `cookie`, `ip_cookie`, `header`. Defaults to `none`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_affinity: pulumi_wasm_rust::Output>, /// Configure attributes for session affinity. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_affinity_attributes: pulumi_wasm_rust::Output>>, /// Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless `session_affinity_ttl` is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_affinity_ttl: pulumi_wasm_rust::Output>, /// The method the load balancer uses to determine the route to your origin. Value `off` uses `default_pool_ids`. Value `geo` uses `pop_pools`/`country_pools`/`region_pools`. For non-proxied requests, the `country` for `country_pools` is determined by `location_strategy`. Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in `default_pool_ids` (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use `pop_pools`/`country_pools`/`region_pools` otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub steering_policy: pulumi_wasm_rust::Output>, /// Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`. Conflicts with `proxied`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ttl: pulumi_wasm_rust::Output>, /// The zone ID to add the load balancer to. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer_monitor.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer_monitor.rs index b2f289f3..ffd063d6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer_monitor.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer_monitor.rs @@ -17,52 +17,52 @@ pub struct LoadBalancerMonitorArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Do not validate the certificate when monitor use HTTPS. Only valid if `type` is "http" or "https". - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_insecure: pulumi_wasm_rust::Output>, /// To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times. Defaults to `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub consecutive_down: pulumi_wasm_rust::Output>, /// To be marked healthy the monitored origin must pass this healthcheck N consecutive times. Defaults to `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub consecutive_up: pulumi_wasm_rust::Output>, /// Free text description. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. Only valid if `type` is "http" or "https". - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expected_body: pulumi_wasm_rust::Output>, /// The expected HTTP response code or code range of the health check. Eg `2xx`. Only valid and required if `type` is "http" or "https". - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expected_codes: pulumi_wasm_rust::Output>, /// Follow redirects if returned by the origin. Only valid if `type` is "http" or "https". - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub follow_redirects: pulumi_wasm_rust::Output>, /// The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub headers: pulumi_wasm_rust::Output>>, /// The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Defaults to `60`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub interval: pulumi_wasm_rust::Output>, /// The method to use for the health check. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub method: pulumi_wasm_rust::Output>, /// The endpoint path to health check against. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub path: pulumi_wasm_rust::Output>, /// The port number to use for the healthcheck, required when creating a TCP monitor. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub port: pulumi_wasm_rust::Output>, /// Assign this monitor to emulate the specified zone while probing. Only valid if `type` is "http" or "https". - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub probe_zone: pulumi_wasm_rust::Output>, /// The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Defaults to `2`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub retries: pulumi_wasm_rust::Output>, /// The timeout (in seconds) before marking the health check as failed. Defaults to `5`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub timeout: pulumi_wasm_rust::Output>, /// The protocol to use for the healthcheck. Available values: `http`, `https`, `tcp`, `udp_icmp`, `icmp_ping`, `smtp`. Defaults to `http`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub type_: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer_pool.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer_pool.rs index a561b514..20c02b67 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer_pool.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/load_balancer_pool.rs @@ -63,37 +63,37 @@ pub struct LoadBalancerPoolArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// A list of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub check_regions: pulumi_wasm_rust::Output>>, /// Free text description. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Whether to enable (the default) this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// The latitude this pool is physically located at; used for proximity steering. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub latitude: pulumi_wasm_rust::Output>, /// Setting for controlling load shedding for this pool. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub load_sheddings: pulumi_wasm_rust::Output>>, /// The longitude this pool is physically located at; used for proximity steering. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub longitude: pulumi_wasm_rust::Output>, /// The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and we will failover to the next available pool. Defaults to `1`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub minimum_origins: pulumi_wasm_rust::Output>, /// The ID of the Monitor to use for health checking origins within this pool. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub monitor: pulumi_wasm_rust::Output>, /// A short name (tag) for the pool. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub notification_email: pulumi_wasm_rust::Output>, /// Set an origin steering policy to control origin selection within a pool. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub origin_steerings: pulumi_wasm_rust::Output>>, /// The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/logpush_job.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/logpush_job.rs index f0795557..a3d52b7b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/logpush_job.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/logpush_job.rs @@ -19,7 +19,7 @@ #[builder(finish_fn = build_struct)] pub struct LogpushJobArgs { /// The account identifier to target for the resource. Must provide only one of `account_id`, `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The kind of the dataset to use with the logpush job. Available values: `access_requests`, `casb_findings`, `firewall_events`, `http_requests`, `spectrum_events`, `nel_reports`, `audit_logs`, `gateway_dns`, `gateway_http`, `gateway_network`, `dns_logs`, `network_analytics_logs`, `workers_trace_events`, `device_posture_results`, `zero_trust_network_sessions`, `magic_ids_detections`, `page_shield_events`. #[builder(into)] @@ -28,40 +28,40 @@ pub struct LogpushJobArgs { #[builder(into)] pub destination_conf: pulumi_wasm_rust::Output, /// Whether to enable the job. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// Use filters to select the events to include and/or remove from your logs. For more information, refer to [Filters](https://developers.cloudflare.com/logs/reference/logpush-api-configuration/filters/). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub filter: pulumi_wasm_rust::Output>, /// A higher frequency will result in logs being pushed on faster with smaller files. `low` frequency will push logs less often with larger files. Available values: `high`, `low`. Defaults to `high`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub frequency: pulumi_wasm_rust::Output>, /// The kind of logpush job to create. Available values: `edge`, `instant-logs`, `""`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub kind: pulumi_wasm_rust::Output>, /// Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See [Logpush options documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#options). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logpull_options: pulumi_wasm_rust::Output>, /// The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub max_upload_bytes: pulumi_wasm_rust::Output>, /// The maximum interval in seconds for log batches. Value must be between 30 and 300. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub max_upload_interval_seconds: pulumi_wasm_rust::Output>, /// The maximum number of log lines per batch. Value must be between 1000 and 1,000,000. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub max_upload_records: pulumi_wasm_rust::Output>, /// The name of the logpush job to create. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// Structured replacement for logpull*options. When including this field, the logpull*option field will be ignored. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub output_options: pulumi_wasm_rust::Output>, /// Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See [Developer documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#usage). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ownership_challenge: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Must provide only one of `account_id`, `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/logpush_ownership_challenge.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/logpush_ownership_challenge.rs index 0ba1efda..224bc30a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/logpush_ownership_challenge.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/logpush_ownership_challenge.rs @@ -24,13 +24,13 @@ #[builder(finish_fn = build_struct)] pub struct LogpushOwnershipChallengeArgs { /// The account identifier to target for the resource. Must provide only one of `account_id`, `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See [Logpush destination documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#destination). **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub destination_conf: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Must provide only one of `account_id`, `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_firewall_ruleset.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_firewall_ruleset.rs index ffd476c4..e2d131a6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_firewall_ruleset.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_firewall_ruleset.rs @@ -38,12 +38,12 @@ pub struct MagicFirewallRulesetArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// A note that can be used to annotate the rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The name of the ruleset. #[builder(into)] pub name: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rules: pulumi_wasm_rust::Output>>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_gre_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_gre_tunnel.rs index 784d01ab..51e4f324 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_gre_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_gre_tunnel.rs @@ -37,7 +37,7 @@ #[builder(finish_fn = build_struct)] pub struct MagicWanGreTunnelArgs { /// The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The IP address assigned to the Cloudflare side of the GRE tunnel. #[builder(into)] @@ -46,28 +46,28 @@ pub struct MagicWanGreTunnelArgs { #[builder(into)] pub customer_gre_endpoint: pulumi_wasm_rust::Output, /// Description of the GRE tunnel intent. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Specifies if ICMP tunnel health checks are enabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_enabled: pulumi_wasm_rust::Output>, /// The IP address of the customer endpoint that will receive tunnel health checks. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_target: pulumi_wasm_rust::Output>, /// Specifies the ICMP echo type for the health check. Available values: `request`, `reply`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_type: pulumi_wasm_rust::Output>, /// 31-bit prefix (/31 in CIDR notation) supporting 2 hosts, one for each side of the tunnel. #[builder(into)] pub interface_address: pulumi_wasm_rust::Output, /// Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub mtu: pulumi_wasm_rust::Output>, /// Name of the GRE tunnel. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Time To Live (TTL) in number of hops of the GRE tunnel. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ttl: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_ipsec_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_ipsec_tunnel.rs index 5003650b..6a599a56 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_ipsec_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_ipsec_tunnel.rs @@ -37,10 +37,10 @@ #[builder(finish_fn = build_struct)] pub struct MagicWanIpsecTunnelArgs { /// The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Specifies if this tunnel may use a null cipher (ENCR_NULL) in Phase 2. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_null_cipher: pulumi_wasm_rust::Output>, /// IP address assigned to the Cloudflare side of the IPsec tunnel. #[builder(into)] @@ -49,28 +49,28 @@ pub struct MagicWanIpsecTunnelArgs { #[builder(into)] pub customer_endpoint: pulumi_wasm_rust::Output, /// An optional description of the IPsec tunnel. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// `remote_id` in the form of a fqdn. This value is generated by cloudflare. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub fqdn_id: pulumi_wasm_rust::Output>, /// Specifies the direction for the health check. Available values: `unidirectional`, `bidirectional` Default: `unidirectional`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_direction: pulumi_wasm_rust::Output>, /// Specifies if ICMP tunnel health checks are enabled. Default: `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_enabled: pulumi_wasm_rust::Output>, /// Specifies the ICMP rate for the health check. Available values: `low`, `mid`, `high` Default: `mid`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_rate: pulumi_wasm_rust::Output>, /// The IP address of the customer endpoint that will receive tunnel health checks. Default: ``. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_target: pulumi_wasm_rust::Output>, /// Specifies the ICMP echo type for the health check (`request` or `reply`). Available values: `request`, `reply` Default: `reply`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub health_check_type: pulumi_wasm_rust::Output>, /// `remote_id` as a hex string. This value is generated by cloudflare. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hex_id: pulumi_wasm_rust::Output>, /// 31-bit prefix (/31 in CIDR notation) supporting 2 hosts, one for each side of the tunnel. #[builder(into)] @@ -79,16 +79,16 @@ pub struct MagicWanIpsecTunnelArgs { #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Pre shared key to be used with the IPsec tunnel. If left unset, it will be autogenerated. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub psk: pulumi_wasm_rust::Output>, /// ID to be used while setting up the IPsec tunnel. This value is generated by cloudflare. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub remote_id: pulumi_wasm_rust::Output>, /// Specifies if replay protection is enabled. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub replay_protection: pulumi_wasm_rust::Output>, /// `remote_id` in the form of an email address. This value is generated by cloudflare. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub user_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_static_route.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_static_route.rs index 50f75b18..97d6d1ca 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_static_route.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/magic_wan_static_route.rs @@ -36,16 +36,16 @@ #[builder(finish_fn = build_struct)] pub struct MagicWanStaticRouteArgs { /// The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// List of Cloudflare colocation regions for this static route. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub colo_names: pulumi_wasm_rust::Output>>, /// List of Cloudflare colocation names for this static route. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub colo_regions: pulumi_wasm_rust::Output>>, /// Description of the static route. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The nexthop IP address where traffic will be routed to. #[builder(into)] @@ -57,7 +57,7 @@ pub struct MagicWanStaticRouteArgs { #[builder(into)] pub priority: pulumi_wasm_rust::Output, /// The optional weight for ECMP routes. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub weight: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/managed_headers.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/managed_headers.rs index c0edee12..d4d4de5a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/managed_headers.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/managed_headers.rs @@ -34,10 +34,10 @@ #[builder(finish_fn = build_struct)] pub struct ManagedHeadersArgs { /// The list of managed request headers. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub managed_request_headers: pulumi_wasm_rust::Output>>, /// The list of managed response headers. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub managed_response_headers: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/mtls_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/mtls_certificate.rs index 81a195ac..a2b44e4e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/mtls_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/mtls_certificate.rs @@ -44,10 +44,10 @@ pub struct MtlsCertificateArgs { #[builder(into)] pub certificates: pulumi_wasm_rust::Output, /// Optional unique name for the certificate. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// The certificate's private key. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub private_key: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/notification_policy.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/notification_policy.rs index 28eb660f..ffc5363a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/notification_policy.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/notification_policy.rs @@ -19,25 +19,25 @@ pub struct NotificationPolicyArgs { #[builder(into)] pub alert_type: pulumi_wasm_rust::Output, /// Description of the notification policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The email ID to which the notification should be dispatched. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub email_integrations: pulumi_wasm_rust::Output>>, /// The status of the notification policy. #[builder(into)] pub enabled: pulumi_wasm_rust::Output, /// An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub filters: pulumi_wasm_rust::Output>, /// The name of the notification policy. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The unique ID of a configured pagerduty endpoint to which the notification should be dispatched. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub pagerduty_integrations: pulumi_wasm_rust::Output>>, /// The unique ID of a configured webhooks endpoint to which the notification should be dispatched. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub webhooks_integrations: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/notification_policy_webhooks.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/notification_policy_webhooks.rs index 17bdbe1e..c74200fa 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/notification_policy_webhooks.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/notification_policy_webhooks.rs @@ -36,10 +36,10 @@ pub struct NotificationPolicyWebhooksArgs { #[builder(into)] pub name: pulumi_wasm_rust::Output, /// An optional secret can be provided that will be passed in the `cf-webhook-auth` header when dispatching a webhook notification. Secrets are not returned in any API response body. Refer to the [documentation](https://api.cloudflare.com/#notification-webhooks-create-webhook) for more details. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub secret: pulumi_wasm_rust::Output>, /// The URL of the webhook destinations. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub url: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/origin_ca_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/origin_ca_certificate.rs index 5990c71d..57d00b78 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/origin_ca_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/origin_ca_certificate.rs @@ -47,13 +47,13 @@ pub struct OriginCaCertificateArgs { /// A list of hostnames or wildcard names bound to the certificate. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub hostnames: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_days_for_renewal: pulumi_wasm_rust::Output>, /// The signature type desired on the certificate. Available values: `origin-rsa`, `origin-ecc`, `keyless-certificate`. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub request_type: pulumi_wasm_rust::Output, /// The number of days for which the certificate should be valid. Available values: `7`, `30`, `90`, `365`, `730`, `1095`, `5475`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub requested_validity: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/page_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/page_rule.rs index e427bd3c..68ef7faa 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/page_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/page_rule.rs @@ -45,10 +45,10 @@ pub struct PageRuleArgs { #[builder(into)] pub actions: pulumi_wasm_rust::Output, /// The priority of the page rule among others for this target, the higher the number the higher the priority as per [API documentation](https://api.cloudflare.com/#page-rules-for-a-zone-create-page-rule). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub priority: pulumi_wasm_rust::Output>, /// Whether the page rule is active or disabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub status: pulumi_wasm_rust::Output>, /// The URL pattern to target with the page rule. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/pages_project.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/pages_project.rs index 4f640be8..a1910ea6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/pages_project.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/pages_project.rs @@ -20,10 +20,10 @@ pub struct PagesProjectArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Configuration for the project build process. Read more about the build configuration in the [developer documentation](https://developers.cloudflare.com/pages/platform/build-configuration). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub build_config: pulumi_wasm_rust::Output>, /// Configuration for deployments in a project. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub deployment_configs: pulumi_wasm_rust::Output>, /// Name of the project. #[builder(into)] @@ -32,7 +32,7 @@ pub struct PagesProjectArgs { #[builder(into)] pub production_branch: pulumi_wasm_rust::Output, /// Configuration for the project source. Read more about the source configuration in the [developer documentation](https://developers.cloudflare.com/pages/platform/branch-build-controls/). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub source: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/r2_bucket.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/r2_bucket.rs index d0b5609c..cd6d3fda 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/r2_bucket.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/r2_bucket.rs @@ -32,7 +32,7 @@ pub struct R2BucketArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// The location hint of the R2 bucket. Available values: `WNAM`, `ENAM`, `WEUR`, `EEUR`, `APAC` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub location: pulumi_wasm_rust::Output>, /// The name of the R2 bucket. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/rate_limit.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/rate_limit.rs index 56b649da..b1e00362 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/rate_limit.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/rate_limit.rs @@ -75,19 +75,19 @@ pub struct RateLimitArgs { /// The action to be performed when the threshold of matched traffic within the period defined is exceeded. #[builder(into)] pub action: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub bypass_url_patterns: pulumi_wasm_rust::Output>>, /// Determines how rate limiting is applied. By default if not specified, rate limiting applies to the clients IP address. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub correlate: pulumi_wasm_rust::Output>, /// A note that you can use to describe the reason for a rate limit. This value is sanitized and all tags are removed. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Whether this ratelimit is currently disabled. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub disabled: pulumi_wasm_rust::Output>, /// Determines which traffic the rate limit counts towards the threshold. By default matches all traffic in the zone. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub match_: pulumi_wasm_rust::Output>, /// The time in seconds to count matching traffic. If the count exceeds threshold within this period the action will be performed. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/record.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/record.rs index e40221d0..e2faec03 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/record.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/record.rs @@ -49,37 +49,37 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct RecordArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_overwrite: pulumi_wasm_rust::Output>, /// Comments or notes about the DNS record. This field has no effect on DNS responses. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub comment: pulumi_wasm_rust::Output>, /// The content of the record. Must provide only one of `data`, `content`, `value`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub content: pulumi_wasm_rust::Output>, /// Map of attributes that constitute the record value. Must provide only one of `data`, `content`, `value`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub data: pulumi_wasm_rust::Output>, /// The name of the record. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The priority of the record. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub priority: pulumi_wasm_rust::Output>, /// Whether the record gets Cloudflare's origin protection. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub proxied: pulumi_wasm_rust::Output>, /// Custom tags for the DNS record. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tags: pulumi_wasm_rust::Output>>, /// The TTL of the record. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ttl: pulumi_wasm_rust::Output>, /// The type of the record. Available values: `A`, `AAAA`, `CAA`, `CNAME`, `TXT`, `SRV`, `LOC`, `MX`, `NS`, `SPF`, `CERT`, `DNSKEY`, `DS`, `NAPTR`, `SMIMEA`, `SSHFP`, `TLSA`, `URI`, `PTR`, `HTTPS`, `SVCB`. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub type_: pulumi_wasm_rust::Output, /// The value of the record. Must provide only one of `data`, `content`, `value`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub value: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/risk_behavior.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/risk_behavior.rs index 72f6caa5..2bf7f7ec 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/risk_behavior.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/risk_behavior.rs @@ -7,7 +7,7 @@ pub struct RiskBehaviorArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Zero Trust risk behaviors configured on this account - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub behaviors: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/ruleset.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/ruleset.rs index 8e2c7308..d6cb275a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/ruleset.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/ruleset.rs @@ -25,10 +25,10 @@ #[builder(finish_fn = build_struct)] pub struct RulesetArgs { /// The account identifier to target for the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Brief summary of the ruleset and its intended use. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `zone`. #[builder(into)] @@ -40,10 +40,10 @@ pub struct RulesetArgs { #[builder(into)] pub phase: pulumi_wasm_rust::Output, /// List of rules to apply to the ruleset. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rules: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/spectrum_application.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/spectrum_application.rs index f54ab6a5..7c78325f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/spectrum_application.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/spectrum_application.rs @@ -35,40 +35,40 @@ #[builder(finish_fn = build_struct)] pub struct SpectrumApplicationArgs { /// Enables Argo Smart Routing. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub argo_smart_routing: pulumi_wasm_rust::Output>, /// The name and type of DNS record for the Spectrum application. #[builder(into)] pub dns: pulumi_wasm_rust::Output, /// The anycast edge IP configuration for the hostname of this application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub edge_ips: pulumi_wasm_rust::Output>, /// Enables the IP Firewall for this application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ip_firewall: pulumi_wasm_rust::Output>, /// A list of destination addresses to the origin. e.g. `tcp://192.0.2.1:22`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub origin_directs: pulumi_wasm_rust::Output>>, /// A destination DNS addresses to the origin. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub origin_dns: pulumi_wasm_rust::Output>, /// Origin port to proxy traffice to. Conflicts with `origin_port_range`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub origin_port: pulumi_wasm_rust::Output>, /// Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. `tcp/22-23`. Conflicts with `origin_port`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub origin_port_range: pulumi_wasm_rust::Output>, /// The port configuration at Cloudflare's edge. e.g. `tcp/22`. #[builder(into)] pub protocol: pulumi_wasm_rust::Output, /// Enables a proxy protocol to the origin. Available values: `off`, `v1`, `v2`, `simple`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub proxy_protocol: pulumi_wasm_rust::Output>, /// TLS configuration option for Cloudflare to connect to your origin. Available values: `off`, `flexible`, `full`, `strict`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tls: pulumi_wasm_rust::Output>, /// Sets application type. Available values: `direct`, `http`, `https`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub traffic_type: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/split_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/split_tunnel.rs index 0facc09b..6bc62287 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/split_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/split_tunnel.rs @@ -20,7 +20,7 @@ pub struct SplitTunnelArgs { #[builder(into)] pub mode: pulumi_wasm_rust::Output, /// The settings policy for which to configure this split tunnel policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub policy_id: pulumi_wasm_rust::Output>, /// The value of the tunnel attributes. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/static_route.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/static_route.rs index c614dcd3..f209218a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/static_route.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/static_route.rs @@ -36,16 +36,16 @@ #[builder(finish_fn = build_struct)] pub struct StaticRouteArgs { /// The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// List of Cloudflare colocation regions for this static route. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub colo_names: pulumi_wasm_rust::Output>>, /// List of Cloudflare colocation names for this static route. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub colo_regions: pulumi_wasm_rust::Output>>, /// Description of the static route. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The nexthop IP address where traffic will be routed to. #[builder(into)] @@ -57,7 +57,7 @@ pub struct StaticRouteArgs { #[builder(into)] pub priority: pulumi_wasm_rust::Output, /// The optional weight for ECMP routes. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub weight: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_account.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_account.rs index 4d6a50b0..4203bfd7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_account.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_account.rs @@ -99,51 +99,51 @@ pub struct TeamsAccountArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Whether to enable the activity log. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub activity_log_enabled: pulumi_wasm_rust::Output>, /// Configuration block for antivirus traffic scanning. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub antivirus: pulumi_wasm_rust::Output>, /// Configuration for a custom block page. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub block_page: pulumi_wasm_rust::Output>, /// Configuration for body scanning. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub body_scanning: pulumi_wasm_rust::Output>, /// Configuration for TLS interception certificate. This will be required starting Feb 2025. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub certificate: pulumi_wasm_rust::Output>, /// Configuration for custom certificates / BYO-PKI. Conflicts with `certificate`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_certificate: pulumi_wasm_rust::Output>, /// Configuration for extended e-mail matching. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub extended_email_matching: pulumi_wasm_rust::Output>, /// Configure compliance with Federal Information Processing Standards. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub fips: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logging: pulumi_wasm_rust::Output>, /// Enable non-identity onramp for Browser Isolation. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub non_identity_browser_isolation_enabled: pulumi_wasm_rust::Output>, /// Configuration for DLP Payload Logging. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub payload_log: pulumi_wasm_rust::Output>, /// Indicator that protocol detection is enabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub protocol_detection_enabled: pulumi_wasm_rust::Output>, /// Configuration block for specifying which protocols are proxied. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub proxy: pulumi_wasm_rust::Output>, /// Configuration for SSH Session Logging. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ssh_session_log: pulumi_wasm_rust::Output>, /// Indicator that decryption of TLS traffic is enabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tls_decrypt_enabled: pulumi_wasm_rust::Output>, /// Safely browse websites in Browser Isolation through a URL. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub url_browser_isolation_enabled: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_list.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_list.rs index 0eb980e2..d8555d92 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_list.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_list.rs @@ -36,13 +36,13 @@ pub struct TeamsListArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// The description of the teams list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The items of the teams list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub items: pulumi_wasm_rust::Output>>, /// The items of the teams list that has explicit description. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub items_with_descriptions: pulumi_wasm_rust::Output>>, /// Name of the teams list. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_location.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_location.rs index 84dd93f4..b8596324 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_location.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_location.rs @@ -41,16 +41,16 @@ pub struct TeamsLocationArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Indicator that this is the default location. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub client_default: pulumi_wasm_rust::Output>, /// Indicator that this location needs to resolve EDNS queries. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ecs_support: pulumi_wasm_rust::Output>, /// Name of the teams location. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The networks CIDRs that comprise the location. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub networks: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_rule.rs index 2516c922..fedeaebd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/teams_rule.rs @@ -48,16 +48,16 @@ pub struct TeamsRuleArgs { #[builder(into)] pub description: pulumi_wasm_rust::Output, /// The wirefilter expression to be used for device_posture check matching. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub device_posture: pulumi_wasm_rust::Output>, /// Indicator of rule enablement. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// The protocol or layer to evaluate the traffic and identity expressions. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub filters: pulumi_wasm_rust::Output>>, /// The wirefilter expression to be used for identity matching. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub identity: pulumi_wasm_rust::Output>, /// The name of the teams rule. #[builder(into)] @@ -66,10 +66,10 @@ pub struct TeamsRuleArgs { #[builder(into)] pub precedence: pulumi_wasm_rust::Output, /// Additional rule settings. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rule_settings: pulumi_wasm_rust::Output>, /// The wirefilter expression to be used for traffic matching. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub traffic: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/total_tls.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/total_tls.rs index 2f2ac39c..b7a999c3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/total_tls.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/total_tls.rs @@ -29,7 +29,7 @@ #[builder(finish_fn = build_struct)] pub struct TotalTlsArgs { /// The Certificate Authority that Total TLS certificates will be issued through. Available values: `google`, `lets_encrypt`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub certificate_authority: pulumi_wasm_rust::Output>, /// Enable Total TLS for the zone. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel.rs index 42f531d1..860a3a6b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel.rs @@ -34,7 +34,7 @@ pub struct TunnelArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard or using tunnel*config, tunnel*route or tunnel*virtual*network resources. Available values: `local`, `cloudflare`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub config_src: pulumi_wasm_rust::Output>, /// A user-friendly name chosen when the tunnel is created. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel_route.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel_route.rs index 446a6a92..f7730f84 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel_route.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel_route.rs @@ -16,7 +16,7 @@ pub struct TunnelRouteArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Description of the tunnel route. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub comment: pulumi_wasm_rust::Output>, /// The IPv4 or IPv6 network that should use this tunnel route, in CIDR notation. #[builder(into)] @@ -25,7 +25,7 @@ pub struct TunnelRouteArgs { #[builder(into)] pub tunnel_id: pulumi_wasm_rust::Output, /// The ID of the virtual network for which this route is being added; uses the default virtual network of the account if none is provided. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub virtual_network_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel_virtual_network.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel_virtual_network.rs index 65e28550..208e735f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel_virtual_network.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/tunnel_virtual_network.rs @@ -35,10 +35,10 @@ pub struct TunnelVirtualNetworkArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Description of the tunnel virtual network. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub comment: pulumi_wasm_rust::Output>, /// Whether this virtual network is the default one for the account. This means IP Routes belong to this virtual network and Teams Clients in the account route through this virtual network, unless specified otherwise for each case. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub is_default_network: pulumi_wasm_rust::Output>, /// A user-friendly name chosen when the virtual network is created. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/turnstile_widget.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/turnstile_widget.rs index 15681a56..614de4ff 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/turnstile_widget.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/turnstile_widget.rs @@ -35,7 +35,7 @@ pub struct TurnstileWidgetArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// If bot*fight*mode is set to true, Cloudflare issues computationally expensive challenges in response to malicious bots (Enterprise only). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub bot_fight_mode: pulumi_wasm_rust::Output>, /// Domains where the widget is deployed #[builder(into)] @@ -47,10 +47,10 @@ pub struct TurnstileWidgetArgs { #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Do not show any Cloudflare branding on the widget (Enterprise only). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub offlabel: pulumi_wasm_rust::Output>, /// Region where this widget can be used. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub region: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room.rs index 1a1303ff..f2e23072 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room.rs @@ -45,31 +45,31 @@ #[builder(finish_fn = build_struct)] pub struct WaitingRoomArgs { /// A list of additional hostname and paths combination to be applied on the waiting room. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub additional_routes: pulumi_wasm_rust::Output>>, /// A cookie suffix to be appended to the Cloudflare waiting room cookie name. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub cookie_suffix: pulumi_wasm_rust::Output>, /// This is a templated html file that will be rendered at the edge. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_page_html: pulumi_wasm_rust::Output>, /// The language to use for the default waiting room page. Available values: `de-DE`, `es-ES`, `en-US`, `fr-FR`, `id-ID`, `it-IT`, `ja-JP`, `ko-KR`, `nl-NL`, `pl-PL`, `pt-BR`, `tr-TR`, `zh-CN`, `zh-TW`, `ru-RU`, `fa-IR`, `bg-BG`, `hr-HR`, `cs-CZ`, `da-DK`, `fi-FI`, `lt-LT`, `ms-MY`, `nb-NO`, `ro-RO`, `el-GR`, `he-IL`, `hi-IN`, `hu-HU`, `sr-BA`, `sk-SK`, `sl-SI`, `sv-SE`, `tl-PH`, `th-TH`, `uk-UA`, `vi-VN`. Defaults to `en-US`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub default_template_language: pulumi_wasm_rust::Output>, /// A description to add more details about the waiting room. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Disables automatic renewal of session cookies. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub disable_session_renewal: pulumi_wasm_rust::Output>, /// The list of enabled origin commands for the waiting room. Available values: `revoke`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled_origin_commands: pulumi_wasm_rust::Output>>, /// Host name for which the waiting room will be applied (no wildcards). #[builder(into)] pub host: pulumi_wasm_rust::Output, /// If true, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub json_response_enabled: pulumi_wasm_rust::Output>, /// A unique name to identify the waiting room. **Modifying this attribute will force creation of a new resource.** #[builder(into)] @@ -78,22 +78,22 @@ pub struct WaitingRoomArgs { #[builder(into)] pub new_users_per_minute: pulumi_wasm_rust::Output, /// The path within the host to enable the waiting room on. Defaults to `/`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub path: pulumi_wasm_rust::Output>, /// If queue_all is true, then all traffic will be sent to the waiting room. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub queue_all: pulumi_wasm_rust::Output>, /// The queueing method used by the waiting room. Available values: `fifo`, `random`, `passthrough`, `reject`. Defaults to `fifo`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub queueing_method: pulumi_wasm_rust::Output>, /// HTTP status code returned to a user while in the queue. Defaults to `200`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub queueing_status_code: pulumi_wasm_rust::Output>, /// Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the origin. Defaults to `5`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_duration: pulumi_wasm_rust::Output>, /// Suspends the waiting room. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub suspended: pulumi_wasm_rust::Output>, /// The total number of active user sessions on the route at a point in time. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_event.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_event.rs index 0972a6d7..f7903786 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_event.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_event.rs @@ -33,13 +33,13 @@ #[builder(finish_fn = build_struct)] pub struct WaitingRoomEventArgs { /// This is a templated html file that will be rendered at the edge. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_page_html: pulumi_wasm_rust::Output>, /// A description to let users add more details about the event. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Disables automatic renewal of session cookies. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub disable_session_renewal: pulumi_wasm_rust::Output>, /// ISO 8601 timestamp that marks the end of the event. **Modifying this attribute will force creation of a new resource.** #[builder(into)] @@ -51,25 +51,25 @@ pub struct WaitingRoomEventArgs { #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The number of new users that will be let into the route every minute. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub new_users_per_minute: pulumi_wasm_rust::Output>, /// ISO 8601 timestamp that marks when to begin queueing all users before the event starts. Must occur at least 5 minutes before `event_start_time`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub prequeue_start_time: pulumi_wasm_rust::Output>, /// The queueing method used by the waiting room. Available values: `fifo`, `random`, `passthrough`, `reject`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub queueing_method: pulumi_wasm_rust::Output>, /// Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the origin. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_duration: pulumi_wasm_rust::Output>, /// Users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub shuffle_at_event_start: pulumi_wasm_rust::Output>, /// If suspended, the event is ignored and traffic will be handled based on the waiting room configuration. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub suspended: pulumi_wasm_rust::Output>, /// The total number of active user sessions on the route at a point in time. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub total_active_users: pulumi_wasm_rust::Output>, /// The Waiting Room ID the event should apply to. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_rules.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_rules.rs index 9d68e466..e509e4c6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_rules.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_rules.rs @@ -39,7 +39,7 @@ #[builder(finish_fn = build_struct)] pub struct WaitingRoomRulesArgs { /// List of rules to apply to the ruleset. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rules: pulumi_wasm_rust::Output>>, /// The Waiting Room ID the rules should apply to. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_settings.rs index 2bc6f883..ef7e110d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/waiting_room_settings.rs @@ -28,7 +28,7 @@ #[builder(finish_fn = build_struct)] pub struct WaitingRoomSettingsArgs { /// Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub search_engine_crawler_bypass: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/web3_hostname.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/web3_hostname.rs index edf95556..7f63870e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/web3_hostname.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/web3_hostname.rs @@ -4,10 +4,10 @@ #[builder(finish_fn = build_struct)] pub struct Web3HostnameArgs { /// An optional description of the hostname. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// DNSLink value used if the target is ipfs. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub dnslink: pulumi_wasm_rust::Output>, /// The hostname that will point to the target gateway via CNAME. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/web_analytics_site.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/web_analytics_site.rs index 9ec52fc6..e3172256 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/web_analytics_site.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/web_analytics_site.rs @@ -35,10 +35,10 @@ pub struct WebAnalyticsSiteArgs { #[builder(into)] pub auto_install: pulumi_wasm_rust::Output, /// The hostname to use for gray-clouded sites. Must provide only one of `zone_tag`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub host: pulumi_wasm_rust::Output>, /// The zone identifier for orange-clouded sites. Must provide only one of `host`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_tag: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_domain.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_domain.rs index ef7cb6a9..152608d2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_domain.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_domain.rs @@ -33,7 +33,7 @@ pub struct WorkerDomainArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// The name of the Worker environment. Defaults to `production`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub environment: pulumi_wasm_rust::Output>, /// Hostname of the Worker Domain. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_route.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_route.rs index 08547aca..7bf7300f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_route.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_route.rs @@ -36,7 +36,7 @@ pub struct WorkerRouteArgs { #[builder(into)] pub pattern: pulumi_wasm_rust::Output, /// Worker script name to invoke for requests that match the route pattern. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub script_name: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_script.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_script.rs index 8dedda2a..bb2093dd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_script.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/worker_script.rs @@ -65,50 +65,50 @@ pub struct WorkerScriptArgs { /// The account identifier to target for the resource. #[builder(into)] pub account_id: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub analytics_engine_bindings: pulumi_wasm_rust::Output>>, /// The date to use for the compatibility flag. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub compatibility_date: pulumi_wasm_rust::Output>, /// Compatibility flags used for Worker Scripts. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub compatibility_flags: pulumi_wasm_rust::Output>>, /// The script content. #[builder(into)] pub content: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub d1_database_bindings: pulumi_wasm_rust::Output>>, /// Name of the Workers for Platforms dispatch namespace. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub dispatch_namespace: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hyperdrive_config_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub kv_namespace_bindings: pulumi_wasm_rust::Output>>, /// Enabling allows Worker events to be sent to a defined Logpush destination. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logpush: pulumi_wasm_rust::Output>, /// Whether to upload Worker as a module. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub module: pulumi_wasm_rust::Output>, /// The name for the script. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub name: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub placements: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub plain_text_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub queue_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub r2_bucket_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub secret_text_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub service_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tags: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub webassembly_bindings: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_domain.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_domain.rs index 605358f4..c4865968 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_domain.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_domain.rs @@ -33,7 +33,7 @@ pub struct WorkersDomainArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// The name of the Worker environment. Defaults to `production`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub environment: pulumi_wasm_rust::Output>, /// Hostname of the Worker Domain. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_route.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_route.rs index 5d233e48..00407e67 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_route.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_route.rs @@ -36,7 +36,7 @@ pub struct WorkersRouteArgs { #[builder(into)] pub pattern: pulumi_wasm_rust::Output, /// Worker script name to invoke for requests that match the route pattern. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub script_name: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_script.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_script.rs index 9b5db469..14f0dec7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_script.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/workers_script.rs @@ -65,50 +65,50 @@ pub struct WorkersScriptArgs { /// The account identifier to target for the resource. #[builder(into)] pub account_id: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub analytics_engine_bindings: pulumi_wasm_rust::Output>>, /// The date to use for the compatibility flag. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub compatibility_date: pulumi_wasm_rust::Output>, /// Compatibility flags used for Worker Scripts. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub compatibility_flags: pulumi_wasm_rust::Output>>, /// The script content. #[builder(into)] pub content: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub d1_database_bindings: pulumi_wasm_rust::Output>>, /// Name of the Workers for Platforms dispatch namespace. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub dispatch_namespace: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hyperdrive_config_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub kv_namespace_bindings: pulumi_wasm_rust::Output>>, /// Enabling allows Worker events to be sent to a defined Logpush destination. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logpush: pulumi_wasm_rust::Output>, /// Whether to upload Worker as a module. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub module: pulumi_wasm_rust::Output>, /// The name for the script. **Modifying this attribute will force creation of a new resource.** #[builder(into)] pub name: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub placements: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub plain_text_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub queue_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub r2_bucket_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub secret_text_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub service_bindings: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tags: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub webassembly_bindings: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_application.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_application.rs index 8ce08f64..360bdca5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_application.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_application.rs @@ -19,106 +19,106 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_authenticate_via_warp: pulumi_wasm_rust::Output>, /// The identity providers selected for the application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allowed_idps: pulumi_wasm_rust::Output>>, /// The logo URL of the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub app_launcher_logo_url: pulumi_wasm_rust::Output>, /// Option to show/hide applications in App Launcher. Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub app_launcher_visible: pulumi_wasm_rust::Output>, /// Option to skip identity provider selection if only one is configured in `allowed_idps`. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auto_redirect_to_identity: pulumi_wasm_rust::Output>, /// The background color of the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub bg_color: pulumi_wasm_rust::Output>, /// CORS configuration for the Access Application. See below for reference structure. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub cors_headers: pulumi_wasm_rust::Output>>, /// Option that returns a custom error message when a user is denied access to the application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_deny_message: pulumi_wasm_rust::Output>, /// Option that redirects to a custom URL when a user is denied access to the application via identity based rules. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_deny_url: pulumi_wasm_rust::Output>, /// Option that redirects to a custom URL when a user is denied access to the application via non identity rules. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_non_identity_deny_url: pulumi_wasm_rust::Output>, /// The custom pages selected for the application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_pages: pulumi_wasm_rust::Output>>, /// The primary hostname and path that Access will secure. If the app is visible in the App Launcher dashboard, this is the domain that will be displayed. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub domain: pulumi_wasm_rust::Output>, /// Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an additional "binding" cookie on requests. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enable_binding_cookie: pulumi_wasm_rust::Output>, /// The footer links of the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub footer_links: pulumi_wasm_rust::Output>>, /// The background color of the header bar in the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub header_bg_color: pulumi_wasm_rust::Output>, /// Option to add the `HttpOnly` cookie flag to access tokens. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub http_only_cookie_attribute: pulumi_wasm_rust::Output>, /// The landing page design of the app launcher. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub landing_page_design: pulumi_wasm_rust::Output>, /// Image URL for the logo shown in the app launcher dashboard. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logo_url: pulumi_wasm_rust::Output>, /// Friendly name of the Access Application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub options_preflight_bypass: pulumi_wasm_rust::Output>, /// The policies associated with the application, in ascending order of precedence. Warning: Do not use this field while you still have this application ID referenced as `application_id` in any `cloudflare.AccessPolicy` resource, as it can result in an inconsistent state. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub policies: pulumi_wasm_rust::Output>>, /// SaaS configuration for the Access Application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub saas_app: pulumi_wasm_rust::Output>, /// Defines the same-site cookie setting for access tokens. Available values: `none`, `lax`, `strict`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub same_site_cookie_attribute: pulumi_wasm_rust::Output>, /// Configuration for provisioning to this application via SCIM. This is currently in closed beta. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub scim_config: pulumi_wasm_rust::Output>, /// List of domains that access will secure. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as `domain`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub self_hosted_domains: pulumi_wasm_rust::Output>>, /// Option to return a 401 status code in service authentication rules on failed requests. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub service_auth401_redirect: pulumi_wasm_rust::Output>, /// How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`. Defaults to `24h`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_duration: pulumi_wasm_rust::Output>, /// Option to skip the App Launcher landing page. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub skip_app_launcher_login_page: pulumi_wasm_rust::Output>, /// Option to skip the authorization interstitial when using the CLI. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub skip_interstitial: pulumi_wasm_rust::Output>, /// The itags associated with the application. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tags: pulumi_wasm_rust::Output>>, /// The payload for an infrastructure application which defines the port, protocol, and target attributes. Only applicable to Infrastructure Applications, in which case this field is required. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub target_criterias: pulumi_wasm_rust::Output>>, /// The application type. Available values: `app_launcher`, `bookmark`, `biso`, `dash_sso`, `saas`, `self_hosted`, `ssh`, `vnc`, `warp`, `infrastructure`. Defaults to `self_hosted`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub type_: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_custom_page.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_custom_page.rs index 8c99f90b..069e2e5d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_custom_page.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_custom_page.rs @@ -24,13 +24,13 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessCustomPageArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Number of apps to display on the custom page. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub app_count: pulumi_wasm_rust::Output>, /// Custom HTML to display on the custom page. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_html: pulumi_wasm_rust::Output>, /// Friendly name of the Access Custom Page configuration. #[builder(into)] @@ -39,7 +39,7 @@ pub struct ZeroTrustAccessCustomPageArgs { #[builder(into)] pub type_: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_group.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_group.rs index 41317f70..b0f7a20f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_group.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_group.rs @@ -19,18 +19,18 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub excludes: pulumi_wasm_rust::Output>>, #[builder(into)] pub includes: pulumi_wasm_rust::Output>, #[builder(into)] pub name: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub requires: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_identity_provider.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_identity_provider.rs index 1d00ce09..5c80d301 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_identity_provider.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_identity_provider.rs @@ -85,22 +85,22 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessIdentityProviderArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Provider configuration from the [developer documentation](https://developers.cloudflare.com/access/configuring-identity-providers/). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub configs: pulumi_wasm_rust::Output>>, /// Friendly name of the Access Identity Provider configuration. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Configuration for SCIM settings for a given IDP. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub scim_configs: pulumi_wasm_rust::Output>>, /// The provider type to use. Available values: `azureAD`, `centrify`, `facebook`, `github`, `google`, `google-apps`, `linkedin`, `oidc`, `okta`, `onelogin`, `onetimepin`, `pingone`, `saml`, `yandex`. #[builder(into)] pub type_: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_mtls_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_mtls_certificate.rs index fa9d345a..2b8876e5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_mtls_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_mtls_certificate.rs @@ -48,19 +48,19 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessMtlsCertificateArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The hostnames that will be prompted for this certificate. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub associated_hostnames: pulumi_wasm_rust::Output>>, /// The Root CA for your certificates. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub certificate: pulumi_wasm_rust::Output>, /// The name of the certificate. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_mtls_hostname_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_mtls_hostname_settings.rs index 537cf463..64471ae3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_mtls_hostname_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_mtls_hostname_settings.rs @@ -42,12 +42,12 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessMtlsHostnameSettingsArgs { /// The account identifier to target for the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub settings: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_organization.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_organization.rs index bc443f52..b3fb9666 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_organization.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_organization.rs @@ -4,42 +4,42 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessOrganizationArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_authenticate_via_warp: pulumi_wasm_rust::Output>, /// The unique subdomain assigned to your Zero Trust organization. #[builder(into)] pub auth_domain: pulumi_wasm_rust::Output, /// When set to true, users skip the identity provider selection step during login. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auto_redirect_to_identity: pulumi_wasm_rust::Output>, /// Custom pages for your Zero Trust organization. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_pages: pulumi_wasm_rust::Output>>, /// When set to true, this will disable all editing of Access resources via the Zero Trust Dashboard. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub is_ui_read_only: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub login_designs: pulumi_wasm_rust::Output>>, /// The name of your Zero Trust organization. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_duration: pulumi_wasm_rust::Output>, /// A description of the reason why the UI read only field is being toggled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ui_read_only_toggle_reason: pulumi_wasm_rust::Output>, /// The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format `300ms` or `2h45m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub user_seat_expiration_inactive_time: pulumi_wasm_rust::Output>, /// The amount of time that tokens issued for applications will be valid. Must be in the format 30m or 2h45m. Valid time units are: m, h. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub warp_auth_session_duration: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_policy.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_policy.rs index 30f18cb1..d04c35d7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_policy.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_policy.rs @@ -21,50 +21,50 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The ID of the application the policy is associated with. Required when using `precedence`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub application_id: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub approval_groups: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub approval_required: pulumi_wasm_rust::Output>, /// The rules that define how users may connect to the targets secured by your application. Only applicable to Infrastructure Applications, in which case this field is required. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub connection_rules: pulumi_wasm_rust::Output>, /// Defines the action Access will take if the policy matches the user. Available values: `allow`, `deny`, `non_identity`, `bypass`. #[builder(into)] pub decision: pulumi_wasm_rust::Output, /// A series of access conditions, see Access Groups. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub excludes: pulumi_wasm_rust::Output>>, /// A series of access conditions, see Access Groups. #[builder(into)] pub includes: pulumi_wasm_rust::Output>, /// Require this application to be served in an isolated browser for users matching this policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub isolation_required: pulumi_wasm_rust::Output>, /// Friendly name of the Access Policy. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The unique precedence for policies on a single application. Required when using `application_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub precedence: pulumi_wasm_rust::Output>, /// The prompt to display to the user for a justification for accessing the resource. Required when using `purpose_justification_required`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub purpose_justification_prompt: pulumi_wasm_rust::Output>, /// Whether to prompt the user for a justification for accessing the resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub purpose_justification_required: pulumi_wasm_rust::Output>, /// A series of access conditions, see Access Groups. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub requires: pulumi_wasm_rust::Output>>, /// How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub session_duration: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_service_token.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_service_token.rs index 42ad0286..549cc8fe 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_service_token.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_service_token.rs @@ -20,18 +20,18 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessServiceTokenArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Length of time the service token is valid for. Available values: `8760h`, `17520h`, `43800h`, `87600h`, `forever`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub duration: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_days_for_renewal: pulumi_wasm_rust::Output>, /// Friendly name of the token's intent. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_short_lived_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_short_lived_certificate.rs index 88f40475..efd84de8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_short_lived_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_short_lived_certificate.rs @@ -51,13 +51,13 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessShortLivedCertificateArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// The Access Application ID to associate with the CA certificate. #[builder(into)] pub application_id: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_tag.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_tag.rs index 765a2d61..7705ceea 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_tag.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_access_tag.rs @@ -5,16 +5,16 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessTagArgs { /// The account identifier to target for the resource. Conflicts with `zone_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub account_id: pulumi_wasm_rust::Output>, /// Number of apps associated with the tag. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub app_count: pulumi_wasm_rust::Output>, /// Friendly name of the Access Tag. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The zone identifier to target for the resource. Conflicts with `account_id`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub zone_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_posture_integration.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_posture_integration.rs index 5f3f92e1..0c94c547 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_posture_integration.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_posture_integration.rs @@ -43,12 +43,12 @@ pub struct ZeroTrustDevicePostureIntegrationArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// The device posture integration's connection authorization parameters. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub configs: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub identifier: pulumi_wasm_rust::Output>, /// Indicates the frequency with which to poll the third-party API. Must be in the format `1h` or `30m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub interval: pulumi_wasm_rust::Output>, /// Name of the device posture integration. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_posture_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_posture_rule.rs index 7e074038..e5d77235 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_posture_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_posture_rule.rs @@ -48,22 +48,22 @@ pub struct ZeroTrustDevicePostureRuleArgs { /// The account identifier to target for the resource. #[builder(into)] pub account_id: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Expire posture results after the specified amount of time. Must be in the format `1h` or `30m`. Valid units are `h` and `m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expiration: pulumi_wasm_rust::Output>, /// Required for all rule types except `warp`, `gateway`, and `tanium`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub inputs: pulumi_wasm_rust::Output>>, /// The conditions that the client must match to run the rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub matches: pulumi_wasm_rust::Output>>, /// Name of the device posture rule. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// Tells the client when to run the device posture check. Must be in the format `1h` or `30m`. Valid units are `h` and `m`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub schedule: pulumi_wasm_rust::Output>, /// The device posture rule type. Available values: `serial_number`, `file`, `application`, `gateway`, `warp`, `domain_joined`, `os_version`, `disk_encryption`, `firewall`, `client_certificate`, `client_certificate_v2`, `workspace_one`, `unique_client_id`, `crowdstrike_s2s`, `sentinelone`, `kolide`, `tanium_s2s`, `intune`, `sentinelone_s2s`, `custom_s2s`. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_profiles.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_profiles.rs index 2f091522..f6484335 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_profiles.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_device_profiles.rs @@ -49,58 +49,58 @@ pub struct ZeroTrustDeviceProfilesArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Whether to allow mode switch for this policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_mode_switch: pulumi_wasm_rust::Output>, /// Whether to allow updates under this policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allow_updates: pulumi_wasm_rust::Output>, /// Whether to allow devices to leave the organization. Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub allowed_to_leave: pulumi_wasm_rust::Output>, /// The amount of time in seconds to reconnect after having been disabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auto_connect: pulumi_wasm_rust::Output>, /// The captive portal value for this policy. Defaults to `180`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub captive_portal: pulumi_wasm_rust::Output>, /// Whether the policy refers to the default account policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub default: pulumi_wasm_rust::Output>, /// Description of Policy. #[builder(into)] pub description: pulumi_wasm_rust::Output, /// Whether to disable auto fallback for this policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub disable_auto_fallback: pulumi_wasm_rust::Output>, /// Whether the policy is enabled (cannot be set for default policies). Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// Whether to add Microsoft IPs to split tunnel exclusions. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub exclude_office_ips: pulumi_wasm_rust::Output>, /// Wirefilter expression to match a device against when evaluating whether this policy should take effect for that device. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub match_: pulumi_wasm_rust::Output>, /// Name of the policy. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The precedence of the policy. Lower values indicate higher precedence. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub precedence: pulumi_wasm_rust::Output>, /// The service mode. Available values: `1dot1`, `warp`, `proxy`, `posture_only`, `warp_tunnel_only`. Defaults to `warp`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub service_mode_v2_mode: pulumi_wasm_rust::Output>, /// The port to use for the proxy service mode. Required when using `service_mode_v2_mode`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub service_mode_v2_port: pulumi_wasm_rust::Output>, /// The support URL that will be opened when sending feedback. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub support_url: pulumi_wasm_rust::Output>, /// Enablement of the ZT client switch lock. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub switch_locked: pulumi_wasm_rust::Output>, /// Determines which tunnel protocol to use. Available values: `""`, `wireguard`, `masque`. Defaults to `wireguard`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tunnel_protocol: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_dlp_profile.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_dlp_profile.rs index 085a71fc..58528c35 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_dlp_profile.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_dlp_profile.rs @@ -80,10 +80,10 @@ pub struct ZeroTrustDlpProfileArgs { #[builder(into)] pub allowed_match_count: pulumi_wasm_rust::Output, /// Scan the context of predefined entries to only return matches surrounded by keywords. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub context_awareness: pulumi_wasm_rust::Output>, /// Brief summary of the profile and its intended use. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// List of entries to apply to the profile. #[builder(into)] @@ -92,7 +92,7 @@ pub struct ZeroTrustDlpProfileArgs { #[builder(into)] pub name: pulumi_wasm_rust::Output, /// If true, scan images via OCR to determine if any text present matches filters. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ocr_enabled: pulumi_wasm_rust::Output>, /// The type of the profile. Available values: `custom`, `predefined`. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_dns_location.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_dns_location.rs index 8de8005f..8d40ab88 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_dns_location.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_dns_location.rs @@ -41,16 +41,16 @@ pub struct ZeroTrustDnsLocationArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Indicator that this is the default location. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub client_default: pulumi_wasm_rust::Output>, /// Indicator that this location needs to resolve EDNS queries. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ecs_support: pulumi_wasm_rust::Output>, /// Name of the teams location. #[builder(into)] pub name: pulumi_wasm_rust::Output, /// The networks CIDRs that comprise the location. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub networks: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_certificate.rs index b0f2697c..39956157 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_certificate.rs @@ -8,16 +8,16 @@ pub struct ZeroTrustGatewayCertificateArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Whether or not to activate a certificate. A certificate must be activated to use in Gateway certificate settings. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub activate: pulumi_wasm_rust::Output>, /// The type of certificate (custom or Gateway-managed). Must provide only one of `custom`, `gateway_managed`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom: pulumi_wasm_rust::Output>, /// The type of certificate (custom or Gateway-managed). Must provide only one of `custom`, `gateway_managed`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub gateway_managed: pulumi_wasm_rust::Output>, /// Number of days the generated certificate will be valid, minimum 1 day and maximum 30 years. Defaults to 5 years. Defaults to `1826`. Required when using `gateway_managed`. Conflicts with `custom`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub validity_period_days: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_policy.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_policy.rs index 2b06353d..6796d84e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_policy.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_policy.rs @@ -48,16 +48,16 @@ pub struct ZeroTrustGatewayPolicyArgs { #[builder(into)] pub description: pulumi_wasm_rust::Output, /// The wirefilter expression to be used for device_posture check matching. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub device_posture: pulumi_wasm_rust::Output>, /// Indicator of rule enablement. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// The protocol or layer to evaluate the traffic and identity expressions. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub filters: pulumi_wasm_rust::Output>>, /// The wirefilter expression to be used for identity matching. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub identity: pulumi_wasm_rust::Output>, /// The name of the teams rule. #[builder(into)] @@ -66,10 +66,10 @@ pub struct ZeroTrustGatewayPolicyArgs { #[builder(into)] pub precedence: pulumi_wasm_rust::Output, /// Additional rule settings. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rule_settings: pulumi_wasm_rust::Output>, /// The wirefilter expression to be used for traffic matching. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub traffic: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_settings.rs index 6c5605c4..707750b0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_gateway_settings.rs @@ -103,51 +103,51 @@ pub struct ZeroTrustGatewaySettingsArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Whether to enable the activity log. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub activity_log_enabled: pulumi_wasm_rust::Output>, /// Configuration block for antivirus traffic scanning. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub antivirus: pulumi_wasm_rust::Output>, /// Configuration for a custom block page. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub block_page: pulumi_wasm_rust::Output>, /// Configuration for body scanning. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub body_scanning: pulumi_wasm_rust::Output>, /// Configuration for TLS interception certificate. This will be required starting Feb 2025. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub certificate: pulumi_wasm_rust::Output>, /// Configuration for custom certificates / BYO-PKI. Conflicts with `certificate`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub custom_certificate: pulumi_wasm_rust::Output>, /// Configuration for extended e-mail matching. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub extended_email_matching: pulumi_wasm_rust::Output>, /// Configure compliance with Federal Information Processing Standards. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub fips: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logging: pulumi_wasm_rust::Output>, /// Enable non-identity onramp for Browser Isolation. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub non_identity_browser_isolation_enabled: pulumi_wasm_rust::Output>, /// Configuration for DLP Payload Logging. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub payload_log: pulumi_wasm_rust::Output>, /// Indicator that protocol detection is enabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub protocol_detection_enabled: pulumi_wasm_rust::Output>, /// Configuration block for specifying which protocols are proxied. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub proxy: pulumi_wasm_rust::Output>, /// Configuration for SSH Session Logging. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ssh_session_log: pulumi_wasm_rust::Output>, /// Indicator that decryption of TLS traffic is enabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tls_decrypt_enabled: pulumi_wasm_rust::Output>, /// Safely browse websites in Browser Isolation through a URL. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub url_browser_isolation_enabled: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_key_access_key_configuration.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_key_access_key_configuration.rs index e919145c..e3dec29c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_key_access_key_configuration.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_key_access_key_configuration.rs @@ -8,7 +8,7 @@ pub struct ZeroTrustKeyAccessKeyConfigurationArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Number of days to trigger a rotation of the keys. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub key_rotation_interval_days: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_list.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_list.rs index b73bf86f..bf36af7e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_list.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_list.rs @@ -36,13 +36,13 @@ pub struct ZeroTrustListArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// The description of the teams list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// The items of the teams list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub items: pulumi_wasm_rust::Output>>, /// The items of the teams list that has explicit description. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub items_with_descriptions: pulumi_wasm_rust::Output>>, /// Name of the teams list. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_local_fallback_domain.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_local_fallback_domain.rs index d0b396ae..8d9d1b03 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_local_fallback_domain.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_local_fallback_domain.rs @@ -12,7 +12,7 @@ pub struct ZeroTrustLocalFallbackDomainArgs { #[builder(into)] pub domains: pulumi_wasm_rust::Output>, /// The settings policy for which to configure this fallback domain policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub policy_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_risk_behavior.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_risk_behavior.rs index 001076d9..de355f4c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_risk_behavior.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_risk_behavior.rs @@ -7,7 +7,7 @@ pub struct ZeroTrustRiskBehaviorArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Zero Trust risk behaviors configured on this account - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub behaviors: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_risk_score_integration.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_risk_score_integration.rs index ecd2a82c..8f011259 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_risk_score_integration.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_risk_score_integration.rs @@ -7,13 +7,13 @@ pub struct ZeroTrustRiskScoreIntegrationArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub active: pulumi_wasm_rust::Output>, /// The type of integration, e.g. 'Okta'. Full list of allowed values can be found here: https://developers.cloudflare.com/api/operations/dlp-zt-risk-score-integration-create#request-body #[builder(into)] pub integration_type: pulumi_wasm_rust::Output, /// A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). If omitted, a random UUIDv4 is used. https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub reference_id: pulumi_wasm_rust::Output>, /// The base url of the tenant, e.g. 'https://tenant.okta.com'. Must be your Okta Tenant URL and not your custom domain. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_split_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_split_tunnel.rs index 5227872d..097dbeae 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_split_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_split_tunnel.rs @@ -11,7 +11,7 @@ pub struct ZeroTrustSplitTunnelArgs { #[builder(into)] pub mode: pulumi_wasm_rust::Output, /// The settings policy for which to configure this split tunnel policy. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub policy_id: pulumi_wasm_rust::Output>, /// The value of the tunnel attributes. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_cloudflared.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_cloudflared.rs index e330700b..4aa9ea48 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_cloudflared.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_cloudflared.rs @@ -34,7 +34,7 @@ pub struct ZeroTrustTunnelCloudflaredArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard or using tunnel*config, tunnel*route or tunnel*virtual*network resources. Available values: `local`, `cloudflare`. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub config_src: pulumi_wasm_rust::Output>, /// A user-friendly name chosen when the tunnel is created. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_route.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_route.rs index 8ee026b4..09c79414 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_route.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_route.rs @@ -16,7 +16,7 @@ pub struct ZeroTrustTunnelRouteArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Description of the tunnel route. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub comment: pulumi_wasm_rust::Output>, /// The IPv4 or IPv6 network that should use this tunnel route, in CIDR notation. #[builder(into)] @@ -25,7 +25,7 @@ pub struct ZeroTrustTunnelRouteArgs { #[builder(into)] pub tunnel_id: pulumi_wasm_rust::Output, /// The ID of the virtual network for which this route is being added; uses the default virtual network of the account if none is provided. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub virtual_network_id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_virtual_network.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_virtual_network.rs index 21a5e475..ea1cca87 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_virtual_network.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zero_trust_tunnel_virtual_network.rs @@ -35,10 +35,10 @@ pub struct ZeroTrustTunnelVirtualNetworkArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Description of the tunnel virtual network. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub comment: pulumi_wasm_rust::Output>, /// Whether this virtual network is the default one for the account. This means IP Routes belong to this virtual network and Teams Clients in the account route through this virtual network, unless specified otherwise for each case. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub is_default_network: pulumi_wasm_rust::Output>, /// A user-friendly name chosen when the virtual network is created. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone.rs index f96a02e8..0b998c78 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone.rs @@ -35,19 +35,19 @@ pub struct ZoneArgs { #[builder(into)] pub account_id: pulumi_wasm_rust::Output, /// Whether to scan for DNS records on creation. Ignored after zone is created. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub jump_start: pulumi_wasm_rust::Output>, /// Whether this zone is paused (traffic bypasses Cloudflare). Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub paused: pulumi_wasm_rust::Output>, /// The name of the commercial plan to apply to the zone. Available values: `free`, `lite`, `pro`, `pro_plus`, `business`, `enterprise`, `partners_free`, `partners_pro`, `partners_business`, `partners_enterprise`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub plan: pulumi_wasm_rust::Output>, /// A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: `full`, `partial`, `secondary`. Defaults to `full`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub type_: pulumi_wasm_rust::Output>, /// List of Vanity Nameservers (if set). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub vanity_name_servers: pulumi_wasm_rust::Output>>, /// The DNS zone name which will be added. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_cache_variants.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_cache_variants.rs index f8bf488e..2eaa13a2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_cache_variants.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_cache_variants.rs @@ -31,37 +31,37 @@ #[builder(finish_fn = build_struct)] pub struct ZoneCacheVariantsArgs { /// List of strings with the MIME types of all the variants that should be served for avif. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub avifs: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for bmp. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub bmps: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for gif. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub gifs: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for jp2. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub jp2s: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for jpeg. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub jpegs: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for jpg2. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub jpg2s: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for jpg. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub jpgs: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for png. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub pngs: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for tiff. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tiffs: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for tif. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tifs: pulumi_wasm_rust::Output>>, /// List of strings with the MIME types of all the variants that should be served for webp. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub webps: pulumi_wasm_rust::Output>>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_dnssec.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_dnssec.rs index e98c197f..61e7c2c4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_dnssec.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_dnssec.rs @@ -29,7 +29,7 @@ #[builder(finish_fn = build_struct)] pub struct ZoneDnssecArgs { /// Zone DNSSEC updated time. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub modified_on: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_hold.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_hold.rs index 79addb81..0f11a374 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_hold.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_hold.rs @@ -32,10 +32,10 @@ pub struct ZoneHoldArgs { #[builder(into)] pub hold: pulumi_wasm_rust::Output, /// The RFC3339 compatible timestamp when to automatically re-enable the zone hold. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hold_after: pulumi_wasm_rust::Output>, /// Whether to extend to block any subdomain of the given zone. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub include_subdomains: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_lockdown.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_lockdown.rs index ee882d40..42ca498e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_lockdown.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_lockdown.rs @@ -36,12 +36,12 @@ pub struct ZoneLockdownArgs { #[builder(into)] pub configurations: pulumi_wasm_rust::Output>, /// A description about the lockdown entry. Typically used as a reminder or explanation for the lockdown. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub description: pulumi_wasm_rust::Output>, /// Boolean of whether this zone lockdown is currently paused. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub paused: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub priority: pulumi_wasm_rust::Output>, /// A list of simple wildcard patterns to match requests against. The order of the urls is unimportant. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_settings_override.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_settings_override.rs index 43f70855..7ea423bf 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_settings_override.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/resource/zone_settings_override.rs @@ -62,7 +62,7 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct ZoneSettingsOverrideArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub settings: pulumi_wasm_rust::Output>, /// The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.** #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_cors_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_cors_header.rs index 2c92cfa3..40c23912 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_cors_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_cors_header.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationCorsHeader { /// Value to determine whether all HTTP headers are exposed. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowAllHeaders")] pub r#allow_all_headers: Box>, /// Value to determine whether all methods are exposed. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowAllMethods")] pub r#allow_all_methods: Box>, /// Value to determine whether all origins are permitted to make CORS requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowAllOrigins")] pub r#allow_all_origins: Box>, /// Value to determine if credentials (cookies, authorization headers, or TLS client certificates) are included with requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowCredentials")] pub r#allow_credentials: Box>, /// List of HTTP headers to expose via CORS. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowedHeaders")] pub r#allowed_headers: Box>>, /// List of methods to expose via CORS. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowedMethods")] pub r#allowed_methods: Box>>, /// List of origins permitted to make CORS requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowedOrigins")] pub r#allowed_origins: Box>>, /// The maximum time a preflight request will be cached. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxAge")] pub r#max_age: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_footer_link.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_footer_link.rs index 444ad21d..eeacf898 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_footer_link.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_footer_link.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationFooterLink { /// The name of the footer link. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The URL of the footer link. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "url")] pub r#url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_landing_page_design.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_landing_page_design.rs index b5d74932..c368b855 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_landing_page_design.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_landing_page_design.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationLandingPageDesign { /// The button color of the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buttonColor")] pub r#button_color: Box>, /// The button text color of the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buttonTextColor")] pub r#button_text_color: Box>, /// The URL of the image to be displayed in the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "imageUrl")] pub r#image_url: Box>, /// The message of the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "message")] pub r#message: Box>, /// The title of the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "title")] pub r#title: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app.rs index 178685bd..065e638c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app.rs @@ -2,95 +2,95 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationSaasApp { /// The lifetime of the Access Token after creation. Valid units are `m` and `h`. Must be greater than or equal to 1m and less than or equal to 24h. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accessTokenLifetime")] pub r#access_token_lifetime: Box>, /// Allow PKCE flow without a client secret. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowPkceWithoutClientSecret")] pub r#allow_pkce_without_client_secret: Box>, /// The URL where this applications tile redirects users. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "appLauncherUrl")] pub r#app_launcher_url: Box>, /// **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authType")] pub r#auth_type: Box>, /// The application client id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientId")] pub r#client_id: Box>, /// The application client secret, only returned on initial apply. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientSecret")] pub r#client_secret: Box>, /// The service provider's endpoint that is responsible for receiving and parsing a SAML assertion. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "consumerServiceUrl")] pub r#consumer_service_url: Box>, /// Custom attribute mapped from IDPs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customAttributes")] pub r#custom_attributes: Box>>, /// Custom claim mapped from IDPs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customClaims")] pub r#custom_claims: Box>>, /// The relay state used if not provided by the identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultRelayState")] pub r#default_relay_state: Box>, /// The OIDC flows supported by this application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "grantTypes")] pub r#grant_types: Box>>, /// A regex to filter Cloudflare groups returned in ID token and userinfo endpoint. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groupFilterRegex")] pub r#group_filter_regex: Box>, /// Hybrid and Implicit Flow options. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hybridAndImplicitOptions")] pub r#hybrid_and_implicit_options: Box>, /// The unique identifier for the SaaS application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "idpEntityId")] pub r#idp_entity_id: Box>, /// The format of the name identifier sent to the SaaS application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameIdFormat")] pub r#name_id_format: Box>, /// A [JSONata](https://jsonata.org/) expression that transforms an application's user identities into a NameID value for its SAML assertion. This expression should evaluate to a singular string. The output of this expression can override the `name_id_format` setting. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameIdTransformJsonata")] pub r#name_id_transform_jsonata: Box>, /// The public certificate that will be used to verify identities. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "publicKey")] pub r#public_key: Box>, /// The permitted URL's for Cloudflare to return Authorization codes and Access/ID tokens. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "redirectUris")] pub r#redirect_uris: Box>>, /// Refresh token grant options. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "refreshTokenOptions")] pub r#refresh_token_options: Box>>, /// A [JSONata](https://jsonata.org/) expression that transforms an application's user identities into attribute assertions in the SAML response. The expression can transform id, email, name, and groups values. It can also transform fields listed in the saml*attributes or oidc*fields of the identity provider used to authenticate. The output of this expression must be a JSON object. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samlAttributeTransformJsonata")] pub r#saml_attribute_transform_jsonata: Box>, /// Define the user information shared with access. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scopes")] pub r#scopes: Box>>, /// A globally unique name for an identity or service provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "spEntityId")] pub r#sp_entity_id: Box>, /// The endpoint where the SaaS application will send login requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssoEndpoint")] pub r#sso_endpoint: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_attribute.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_attribute.rs index c9960200..72a0c5b4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_attribute.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_attribute.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationSaasAppCustomAttribute { /// A friendly name for the attribute as provided to the SaaS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "friendlyName")] pub r#friendly_name: Box>, /// The name of the attribute as provided to the SaaS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// A globally unique name for an identity or service provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameFormat")] pub r#name_format: Box>, /// True if the attribute must be always present. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_attribute_source.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_attribute_source.rs index 43f2618b..033d1748 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_attribute_source.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_attribute_source.rs @@ -6,7 +6,7 @@ pub struct AccessApplicationSaasAppCustomAttributeSource { #[serde(rename = "name")] pub r#name: Box, /// A mapping from IdP ID to claim name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameByIdp")] pub r#name_by_idp: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_claim.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_claim.rs index 78acd813..174a492e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_claim.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_claim.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationSaasAppCustomClaim { /// The name of the attribute as provided to the SaaS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// True if the attribute must be always present. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, /// The scope of the claim. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scope")] pub r#scope: Box>, #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_claim_source.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_claim_source.rs index 0cf69dd8..156d9a80 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_claim_source.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_custom_claim_source.rs @@ -6,7 +6,7 @@ pub struct AccessApplicationSaasAppCustomClaimSource { #[serde(rename = "name")] pub r#name: Box, /// A mapping from IdP ID to claim name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameByIdp")] pub r#name_by_idp: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_hybrid_and_implicit_options.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_hybrid_and_implicit_options.rs index 45d7fa78..43c1b6f5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_hybrid_and_implicit_options.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_hybrid_and_implicit_options.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationSaasAppHybridAndImplicitOptions { /// If true, the authorization endpoint will return an access token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "returnAccessTokenFromAuthorizationEndpoint")] pub r#return_access_token_from_authorization_endpoint: Box>, /// If true, the authorization endpoint will return an id token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "returnIdTokenFromAuthorizationEndpoint")] pub r#return_id_token_from_authorization_endpoint: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_refresh_token_option.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_refresh_token_option.rs index ac9c0009..3066f995 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_refresh_token_option.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_saas_app_refresh_token_option.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationSaasAppRefreshTokenOption { /// How long a refresh token will be valid for after creation. Valid units are `m`, `h` and `d`. Must be longer than 1m. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lifetime")] pub r#lifetime: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config.rs index fc2148c6..aea28102 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationScimConfig { /// Attributes for configuring HTTP Basic, OAuth Bearer token, or OAuth 2 authentication schemes for SCIM provisioning to an application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authentication")] pub r#authentication: Box>, /// If false, propagates DELETE requests to the target application for SCIM resources. If true, sets 'active' to false on the SCIM resource. Note: Some targets do not support DELETE operations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "deactivateOnDelete")] pub r#deactivate_on_delete: Box>, /// Whether SCIM provisioning is turned on for this application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// The UID of the IdP to use as the source for SCIM resources to provision to this application. @@ -18,7 +18,7 @@ pub struct AccessApplicationScimConfig { #[serde(rename = "idpUid")] pub r#idp_uid: Box, /// A list of mappings to apply to SCIM resources before provisioning them in this application. These can transform or filter the resources to be provisioned. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mappings")] pub r#mappings: Box>>, /// The base URI for the application's SCIM-compatible API. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_authentication.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_authentication.rs index 3d7229d0..d27199de 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_authentication.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_authentication.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationScimConfigAuthentication { /// URL used to generate the auth code used during token generation. Required when using `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.token_url`. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authorizationUrl")] pub r#authorization_url: Box>, /// Client ID used to authenticate when generating a token for authenticating with the remote SCIM service. Required when using `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientId")] pub r#client_id: Box>, /// Secret used to authenticate when generating a token for authenticating with the remove SCIM service. Required when using `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientSecret")] pub r#client_secret: Box>, /// Required when using `scim_config.0.authentication.0.user`. Conflicts with `scim_config.0.authentication.0.token`, `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`, `scim_config.0.authentication.0.scopes`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "password")] pub r#password: Box>, /// The authentication scheme to use when making SCIM requests to this application. @@ -22,19 +22,19 @@ pub struct AccessApplicationScimConfigAuthentication { #[serde(rename = "scheme")] pub r#scheme: Box, /// The authorization scopes to request when generating the token used to authenticate with the remove SCIM service. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scopes")] pub r#scopes: Box>>, /// Token used to authenticate with the remote SCIM service. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`, `scim_config.0.authentication.0.scopes`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "token")] pub r#token: Box>, /// URL used to generate the token used to authenticate with the remote SCIM service. Required when using `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.client_id`. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tokenUrl")] pub r#token_url: Box>, /// User name used to authenticate with the remote SCIM service. Required when using `scim_config.0.authentication.0.password`. Conflicts with `scim_config.0.authentication.0.token`, `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`, `scim_config.0.authentication.0.scopes`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "user")] pub r#user: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_mapping.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_mapping.rs index d9a62098..95d4e16d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_mapping.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_mapping.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationScimConfigMapping { /// Whether or not this mapping is enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// A [SCIM filter expression](https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2.2) that matches resources that should be provisioned to this application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "filter")] pub r#filter: Box>, /// Whether or not this mapping applies to creates, updates, or deletes. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "operations")] pub r#operations: Box>, /// Which SCIM resource type this mapping applies to. @@ -18,7 +18,7 @@ pub struct AccessApplicationScimConfigMapping { #[serde(rename = "schema")] pub r#schema: Box, /// A [JSONata](https://jsonata.org/) expression that transforms the resource before provisioning it in the application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "transformJsonata")] pub r#transform_jsonata: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_mapping_operations.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_mapping_operations.rs index ca6b3767..c215842f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_mapping_operations.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_application_scim_config_mapping_operations.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessApplicationScimConfigMappingOperations { /// Whether or not this mapping applies to create (POST) operations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "create")] pub r#create: Box>, /// Whether or not this mapping applies to DELETE operations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "delete")] pub r#delete: Box>, /// Whether or not this mapping applies to update (PATCH/PUT) operations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "update")] pub r#update: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude.rs index d1b32d1b..98a35e48 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupExclude { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluation")] pub r#external_evaluation: Box>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_azure.rs index 2eb6bade..88146711 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupExcludeAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_external_evaluation.rs index 8d5c0c7f..be5fed49 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupExcludeExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_github.rs index f09d15fb..6ec7a80b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupExcludeGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_gsuite.rs index e1855648..a1f1528d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupExcludeGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_okta.rs index cf0beb01..e7847aba 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupExcludeOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_saml.rs index a5a83d60..9efec4a6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_exclude_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupExcludeSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include.rs index ac46ea9d..3259f676 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupInclude { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluation")] pub r#external_evaluation: Box>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_azure.rs index 681b7064..410045e9 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupIncludeAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_external_evaluation.rs index 2c125241..af9705b8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupIncludeExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_github.rs index f0b22d04..e51093fa 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupIncludeGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_gsuite.rs index de3caf26..0402368f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupIncludeGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_okta.rs index 4e88e9f1..86bcf603 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupIncludeOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_saml.rs index 6ddabeaf..5e168015 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_include_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupIncludeSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require.rs index 4165933a..3b46e674 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupRequire { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluation")] pub r#external_evaluation: Box>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_azure.rs index ac45b84e..8eee0ca7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupRequireAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_external_evaluation.rs index 476d45ed..a6b299a1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupRequireExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_github.rs index 0576c1b3..f146aaec 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupRequireGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_gsuite.rs index 2b3a8d3b..d5f282a0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupRequireGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_okta.rs index 8839e650..47deba8a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupRequireOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_saml.rs index 9bb1f30e..1fd16ee1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_group_require_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessGroupRequireSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_identity_provider_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_identity_provider_config.rs index 555a0df5..933b652e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_identity_provider_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_identity_provider_config.rs @@ -1,85 +1,85 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct AccessIdentityProviderConfig { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "apiToken")] pub r#api_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "appsDomain")] pub r#apps_domain: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributes")] pub r#attributes: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authUrl")] pub r#auth_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authorizationServerId")] pub r#authorization_server_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "centrifyAccount")] pub r#centrify_account: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "centrifyAppId")] pub r#centrify_app_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certsUrl")] pub r#certs_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "claims")] pub r#claims: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientId")] pub r#client_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientSecret")] pub r#client_secret: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "conditionalAccessEnabled")] pub r#conditional_access_enabled: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "directoryId")] pub r#directory_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailAttributeName")] pub r#email_attribute_name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailClaimName")] pub r#email_claim_name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "idpPublicCert")] pub r#idp_public_cert: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "issuerUrl")] pub r#issuer_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktaAccount")] pub r#okta_account: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oneloginAccount")] pub r#onelogin_account: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pingEnvId")] pub r#ping_env_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pkceEnabled")] pub r#pkce_enabled: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "redirectUrl")] pub r#redirect_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scopes")] pub r#scopes: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "signRequest")] pub r#sign_request: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssoTargetUrl")] pub r#sso_target_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "supportGroups")] pub r#support_groups: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tokenUrl")] pub r#token_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_identity_provider_scim_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_identity_provider_scim_config.rs index 4767aecf..6d57334b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_identity_provider_scim_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_identity_provider_scim_config.rs @@ -1,19 +1,19 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct AccessIdentityProviderScimConfig { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groupMemberDeprovision")] pub r#group_member_deprovision: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "seatDeprovision")] pub r#seat_deprovision: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "secret")] pub r#secret: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "userDeprovision")] pub r#user_deprovision: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_mutual_tls_hostname_settings_setting.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_mutual_tls_hostname_settings_setting.rs index 2231ba17..89b1df98 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_mutual_tls_hostname_settings_setting.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_mutual_tls_hostname_settings_setting.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessMutualTlsHostnameSettingsSetting { /// Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "chinaNetwork")] pub r#china_network: Box>, /// Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientCertificateForwarding")] pub r#client_certificate_forwarding: Box>, /// The hostname that these settings apply to. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_organization_custom_page.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_organization_custom_page.rs index 40b11600..ffb70338 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_organization_custom_page.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_organization_custom_page.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessOrganizationCustomPage { /// The id of the forbidden page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "forbidden")] pub r#forbidden: Box>, /// The id of the identity denied page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityDenied")] pub r#identity_denied: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_organization_login_design.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_organization_login_design.rs index 269f06c3..605399e6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_organization_login_design.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_organization_login_design.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct AccessOrganizationLoginDesign { /// The background color on the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "backgroundColor")] pub r#background_color: Box>, /// The text at the bottom of the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "footerText")] pub r#footer_text: Box>, /// The text at the top of the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headerText")] pub r#header_text: Box>, /// The URL of the logo on the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logoPath")] pub r#logo_path: Box>, /// The text color on the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "textColor")] pub r#text_color: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_approval_group.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_approval_group.rs index a7913619..3c32e712 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_approval_group.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_approval_group.rs @@ -6,10 +6,10 @@ pub struct AccessPolicyApprovalGroup { #[serde(rename = "approvalsNeeded")] pub r#approvals_needed: Box, /// List of emails to request approval from. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailAddresses")] pub r#email_addresses: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailListUuid")] pub r#email_list_uuid: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude.rs index 2959f89e..aae7e61f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyExclude { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluation")] pub r#external_evaluation: Box>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_azure.rs index e4341b80..1c6f2881 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyExcludeAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_external_evaluation.rs index 397ad167..dce6901d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyExcludeExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_github.rs index a6492537..cfca30c8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyExcludeGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_gsuite.rs index 39365288..1ee1454c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyExcludeGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_okta.rs index 76bc16fb..22f62d89 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyExcludeOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_saml.rs index cde78b4a..f743856c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_exclude_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyExcludeSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include.rs index 96363ea0..082e90c5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyInclude { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluation")] pub r#external_evaluation: Box>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_azure.rs index d937febd..b559b234 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyIncludeAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_external_evaluation.rs index 0c427ab5..a65d8fc8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyIncludeExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_github.rs index 8c542992..3ad1ade8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyIncludeGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_gsuite.rs index 73bf9a6e..37a448f2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyIncludeGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_okta.rs index df5834e9..c8794ef2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyIncludeOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_saml.rs index 5f16c753..3a356dda 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_include_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyIncludeSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require.rs index 88b96013..3292726e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyRequire { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluation")] pub r#external_evaluation: Box>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_azure.rs index a6e9b5a5..50023bcd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyRequireAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_external_evaluation.rs index b53025d1..46e3fb27 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyRequireExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_github.rs index c7aef8bd..d2a68542 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyRequireGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_gsuite.rs index 461c1136..4cc058d4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyRequireGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_okta.rs index b6a882e6..9b16aa25 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyRequireOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_saml.rs index eb4a84f5..bb585246 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/access_policy_require_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct AccessPolicyRequireSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/address_map_membership.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/address_map_membership.rs index 1821f9f9..f7f67454 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/address_map_membership.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/address_map_membership.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct AddressMapMembership { /// Controls whether the membership can be deleted via the API or not. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "canDelete")] pub r#can_delete: Box>, /// Identifier of the account or zone. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_shield_auth_id_characteristic.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_shield_auth_id_characteristic.rs index e517afe8..66bdeb54 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_shield_auth_id_characteristic.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_shield_auth_id_characteristic.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ApiShieldAuthIdCharacteristic { /// The name of the characteristic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The type of characteristic. Available values: `header`, `cookie`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "type")] pub r#type: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_condition.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_condition.rs index 2c9abc55..c157538e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_condition.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_condition.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ApiTokenCondition { /// Request IP related conditions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requestIp")] pub r#request_ip: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_condition_request_ip.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_condition_request_ip.rs index 2ea521af..65a7a071 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_condition_request_ip.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_condition_request_ip.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ApiTokenConditionRequestIp { /// List of IP addresses or CIDR notation where the token may be used from. If not specified, the token will be valid for all IP addresses. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ins")] pub r#ins: Box>>, /// List of IP addresses or CIDR notation where the token should not be used from. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "notIns")] pub r#not_ins: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_policy.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_policy.rs index e54791e0..49f4614d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_policy.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/api_token_policy.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ApiTokenPolicy { /// Effect of the policy. Available values: `allow`, `deny`. Defaults to `allow`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "effect")] pub r#effect: Box>, /// List of permissions groups IDs. See [documentation](https://developers.cloudflare.com/api/tokens/create/permissions) for more information. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/certificate_pack_validation_error.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/certificate_pack_validation_error.rs index 244a544b..2647ffb2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/certificate_pack_validation_error.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/certificate_pack_validation_error.rs @@ -1,7 +1,7 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct CertificatePackValidationError { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "message")] pub r#message: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/certificate_pack_validation_record.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/certificate_pack_validation_record.rs index 3f6a16f9..b0197a53 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/certificate_pack_validation_record.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/certificate_pack_validation_record.rs @@ -1,25 +1,25 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct CertificatePackValidationRecord { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cnameName")] pub r#cname_name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cnameTarget")] pub r#cname_target: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "httpBody")] pub r#http_body: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "httpUrl")] pub r#http_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "txtName")] pub r#txt_name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "txtValue")] pub r#txt_value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/cloud_connector_rules_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/cloud_connector_rules_rule.rs index 6a9b41f1..0aca53ba 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/cloud_connector_rules_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/cloud_connector_rules_rule.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct CloudConnectorRulesRule { /// Brief summary of the cloud connector rule and its intended use. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Whether the headers rule is active. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Criteria for an HTTP request to trigger the cloud connector rule. Uses the Firewall Rules expression language based on Wireshark display filters. @@ -14,7 +14,7 @@ pub struct CloudConnectorRulesRule { #[serde(rename = "expression")] pub r#expression: Box, /// Cloud Connector Rule Parameters - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "parameters")] pub r#parameters: Box>, /// Type of provider. Available values: `aws_s3`, `cloudflare_r2`, `azure_storage`, `gcp_storage` diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl.rs index 35fee09e..3835bf3d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl.rs @@ -2,43 +2,43 @@ #[builder(finish_fn = build_struct)] pub struct CustomHostnameSsl { /// A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: `ubiquitous`, `optimal`, `force`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bundleMethod")] pub r#bundle_method: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificateAuthority")] pub r#certificate_authority: Box>, /// If a custom uploaded certificate is used. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customCertificate")] pub r#custom_certificate: Box>, /// The key for a custom uploaded certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customKey")] pub r#custom_key: Box>, /// Domain control validation (DCV) method used for this hostname. Available values: `http`, `txt`, `email`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "method")] pub r#method: Box>, /// SSL/TLS settings for the certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "settings")] pub r#settings: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "status")] pub r#status: Box>, /// Level of validation to be used for this hostname. Available values: `dv`. Defaults to `dv`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "type")] pub r#type: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "validationErrors")] pub r#validation_errors: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "validationRecords")] pub r#validation_records: Box>>, /// Indicates whether the certificate covers a wildcard. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "wildcard")] pub r#wildcard: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_setting.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_setting.rs index c01731f2..7bfe3c0b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_setting.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_setting.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct CustomHostnameSslSetting { /// List of SSL/TLS ciphers to associate with this certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ciphers")] pub r#ciphers: Box>>, /// Whether early hints should be supported. Available values: `on`, `off`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "earlyHints")] pub r#early_hints: Box>, /// Whether HTTP2 should be supported. Available values: `on`, `off`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http2")] pub r#http_2: Box>, /// Lowest version of TLS this certificate should support. Available values: `1.0`, `1.1`, `1.2`, `1.3`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "minTlsVersion")] pub r#min_tls_version: Box>, /// Whether TLSv1.3 should be supported. Available values: `on`, `off`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tls13")] pub r#tls_13: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_validation_error.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_validation_error.rs index 127cd184..df3d9199 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_validation_error.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_validation_error.rs @@ -1,7 +1,7 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct CustomHostnameSslValidationError { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "message")] pub r#message: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_validation_record.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_validation_record.rs index 82b0b21f..5497754e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_validation_record.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_hostname_ssl_validation_record.rs @@ -1,25 +1,25 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct CustomHostnameSslValidationRecord { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cnameName")] pub r#cname_name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cnameTarget")] pub r#cname_target: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "httpBody")] pub r#http_body: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "httpUrl")] pub r#http_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "txtName")] pub r#txt_name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "txtValue")] pub r#txt_value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_ssl_custom_ssl_options.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_ssl_custom_ssl_options.rs index 3832783f..bffe5a05 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_ssl_custom_ssl_options.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_ssl_custom_ssl_options.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct CustomSslCustomSslOptions { /// Method of building intermediate certificate chain. A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: `ubiquitous`, `optimal`, `force`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bundleMethod")] pub r#bundle_method: Box>, /// Certificate certificate and the intermediate(s). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Specifies the region where your private key can be held locally. Available values: `us`, `eu`, `highest_security`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geoRestrictions")] pub r#geo_restrictions: Box>, /// Certificate's private key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "privateKey")] pub r#private_key: Box>, /// Whether to enable support for legacy clients which do not include SNI in the TLS handshake. Available values: `legacy_custom`, `sni_custom`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "type")] pub r#type: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_ssl_custom_ssl_priority.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_ssl_custom_ssl_priority.rs index 787bd41b..ca8259b4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_ssl_custom_ssl_priority.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/custom_ssl_custom_ssl_priority.rs @@ -2,10 +2,10 @@ #[builder(finish_fn = build_struct)] pub struct CustomSslCustomSslPriority { /// The ID of this resource. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "priority")] pub r#priority: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_dex_test_data.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_dex_test_data.rs index d8137b1c..bb43a395 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_dex_test_data.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_dex_test_data.rs @@ -10,7 +10,7 @@ pub struct DeviceDexTestData { #[serde(rename = "kind")] pub r#kind: Box, /// The http request method. Available values: `GET`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "method")] pub r#method: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_integration_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_integration_config.rs index d85c3c27..96851bc3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_integration_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_integration_config.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct DevicePostureIntegrationConfig { /// The Access client ID to be used as the `Cf-Access-Client-ID` header when making a request to the `api_url`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accessClientId")] pub r#access_client_id: Box>, /// The Access client secret to be used as the `Cf-Access-Client-Secret` header when making a request to the `api_url`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accessClientSecret")] pub r#access_client_secret: Box>, /// The third-party API's URL. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "apiUrl")] pub r#api_url: Box>, /// The third-party authorization API URL. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authUrl")] pub r#auth_url: Box>, /// The client identifier for authenticating API calls. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientId")] pub r#client_id: Box>, /// The client key for authenticating API calls. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientKey")] pub r#client_key: Box>, /// The client secret for authenticating API calls. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientSecret")] pub r#client_secret: Box>, /// The customer identifier for authenticating API calls. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customerId")] pub r#customer_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_input.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_input.rs index b5585802..fbb3f6e6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_input.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_input.rs @@ -2,159 +2,159 @@ #[builder(finish_fn = build_struct)] pub struct DevicePostureRuleInput { /// The number of active threats from SentinelOne. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "activeThreats")] pub r#active_threats: Box>, /// The UUID of a Cloudflare managed certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificateId")] pub r#certificate_id: Box>, /// Specific volume(s) to check for encryption. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkDisks")] pub r#check_disks: Box>>, /// Confirm the certificate was not imported from another device. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkPrivateKey")] pub r#check_private_key: Box>, /// The common name for a certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cn")] pub r#cn: Box>, /// The workspace one or intune device compliance status. `compliant` and `noncompliant` are values supported by both providers. `unknown`, `conflict`, `error`, `ingraceperiod` values are only supported by intune. Available values: `compliant`, `noncompliant`, `unknown`, `conflict`, `error`, `ingraceperiod`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "complianceStatus")] pub r#compliance_status: Box>, /// The workspace one or intune connection id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "connectionId")] pub r#connection_id: Box>, /// The count comparison operator for kolide. Available values: `>`, `>=`, `<`, `<=`, `==`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "countOperator")] pub r#count_operator: Box>, /// The domain that the client must join. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "domain")] pub r#domain: Box>, /// The time a device last seen in Tanium. Must be in the format `1h` or `30m`. Valid units are `d`, `h` and `m`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "eidLastSeen")] pub r#eid_last_seen: Box>, /// True if the firewall must be enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Checks if the file should exist. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "exists")] pub r#exists: Box>, /// List of values indicating purposes for which the certificate public key can be used. Available values: `clientAuth`, `emailProtection`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "extendedKeyUsages")] pub r#extended_key_usages: Box>>, /// The Teams List id. Required for `serial_number` and `unique_client_id` rule types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// True if SentinelOne device is infected. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "infected")] pub r#infected: Box>, /// True if SentinelOne device is active. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "isActive")] pub r#is_active: Box>, /// The number of issues for kolide. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "issueCount")] pub r#issue_count: Box>, /// The duration of time that the host was last seen from Crowdstrike. Must be in the format `1h` or `30m`. Valid units are `d`, `h` and `m`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lastSeen")] pub r#last_seen: Box>, /// List of operating system locations to check for a client certificate.. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "locations")] pub r#locations: Box>>, /// The network status from SentinelOne. Available values: `connected`, `disconnected`, `disconnecting`, `connecting`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "networkStatus")] pub r#network_status: Box>, /// The current operational state of a SentinelOne Agent. Available values: `na`, `partially_disabled`, `auto_fully_disabled`, `fully_disabled`, `auto_partially_disabled`, `disabled_error`, `db_corruption`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "operationalState")] pub r#operational_state: Box>, /// The version comparison operator. Available values: `>`, `>=`, `<`, `<=`, `==`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "operator")] pub r#operator: Box>, /// OS signal score from Crowdstrike. Value must be between 1 and 100. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "os")] pub r#os: Box>, /// The operating system excluding version information. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osDistroName")] pub r#os_distro_name: Box>, /// The operating system version excluding OS name information or release name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osDistroRevision")] pub r#os_distro_revision: Box>, /// Extra version value following the operating system semantic version. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osVersionExtra")] pub r#os_version_extra: Box>, /// Overall ZTA score from Crowdstrike. Value must be between 1 and 100. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overall")] pub r#overall: Box>, /// The path to the file. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "path")] pub r#path: Box>, /// True if all drives must be encrypted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requireAll")] pub r#require_all: Box>, /// The risk level from Tanium. Available values: `low`, `medium`, `high`, `critical`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "riskLevel")] pub r#risk_level: Box>, /// Checks if the application should be running. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "running")] pub r#running: Box>, /// A value between 0-100 assigned to devices set by the 3rd party posture provider for custom device posture integrations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "score")] pub r#score: Box>, /// Sensor signal score from Crowdstrike. Value must be between 1 and 100. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensorConfig")] pub r#sensor_config: Box>, /// The sha256 hash of the file. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sha256")] pub r#sha_256: Box>, /// The host’s current online status from Crowdstrike. Available values: `online`, `offline`, `unknown`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "state")] pub r#state: Box>, /// The thumbprint of the file certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "thumbprint")] pub r#thumbprint: Box>, /// The total score from Tanium. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "totalScore")] pub r#total_score: Box>, /// The operating system semantic version. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, /// The version comparison operator for Crowdstrike. Available values: `>`, `>=`, `<`, `<=`, `==`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "versionOperator")] pub r#version_operator: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_input_location.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_input_location.rs index 269d171f..3d71ae65 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_input_location.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_input_location.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct DevicePostureRuleInputLocation { /// List of paths to check for client certificate rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "paths")] pub r#paths: Box>>, /// List of trust stores to check for client certificate rule. Available values: `system`, `user`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "trustStores")] pub r#trust_stores: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_match.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_match.rs index eb630184..c43876bb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_match.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/device_posture_rule_match.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct DevicePostureRuleMatch { /// The platform of the device. Available values: `windows`, `mac`, `linux`, `android`, `ios`, `chromeos`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "platform")] pub r#platform: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/dlp_profile_entry.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/dlp_profile_entry.rs index 1da8209a..dd98cbb8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/dlp_profile_entry.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/dlp_profile_entry.rs @@ -2,18 +2,18 @@ #[builder(finish_fn = build_struct)] pub struct DlpProfileEntry { /// Whether the entry is active. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Unique entry identifier. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Name of the entry to deploy. #[builder(into)] #[serde(rename = "name")] pub r#name: Box, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pattern")] pub r#pattern: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/dlp_profile_entry_pattern.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/dlp_profile_entry_pattern.rs index 047343db..7f874a6b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/dlp_profile_entry_pattern.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/dlp_profile_entry_pattern.rs @@ -6,7 +6,7 @@ pub struct DlpProfileEntryPattern { #[serde(rename = "regex")] pub r#regex: Box, /// The validation algorithm to apply with this pattern. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "validation")] pub r#validation: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/email_routing_rule_action.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/email_routing_rule_action.rs index 2416bc0b..f2c49aa8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/email_routing_rule_action.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/email_routing_rule_action.rs @@ -6,7 +6,7 @@ pub struct EmailRoutingRuleAction { #[serde(rename = "type")] pub r#type: Box, /// Value to match on. Required for `type` of `literal`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "values")] pub r#values: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/email_routing_rule_matcher.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/email_routing_rule_matcher.rs index 938d62e9..a18aefdb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/email_routing_rule_matcher.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/email_routing_rule_matcher.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct EmailRoutingRuleMatcher { /// Field to match on. Required for `type` of `literal`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "field")] pub r#field: Box>, /// Type of matcher. Available values: `literal`, `all` @@ -10,7 +10,7 @@ pub struct EmailRoutingRuleMatcher { #[serde(rename = "type")] pub r#type: Box, /// Value to match on. Required for `type` of `literal`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/fallback_domain_domain.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/fallback_domain_domain.rs index b9217909..eecfba92 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/fallback_domain_domain.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/fallback_domain_domain.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct FallbackDomainDomain { /// A description of the fallback domain, displayed in the client UI. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// A list of IP addresses to handle domain resolution. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dnsServers")] pub r#dns_servers: Box>>, /// The domain suffix to match when resolving locally. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "suffix")] pub r#suffix: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_account_roles_role.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_account_roles_role.rs index 44e54c5a..c1d9b388 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_account_roles_role.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_account_roles_role.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct GetAccountRolesRole { /// Description of role's permissions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Role identifier tag. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Role Name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_accounts_account.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_accounts_account.rs index 6744f9dc..7b9f3b20 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_accounts_account.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_accounts_account.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct GetAccountsAccount { /// Whether 2FA is enforced on the account. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enforceTwofactor")] pub r#enforce_twofactor: Box>, /// Account ID. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Account name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Account subscription type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "type")] pub r#type: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_device_posture_rules_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_device_posture_rules_rule.rs index 16b8dfdd..589bcf0f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_device_posture_rules_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_device_posture_rules_rule.rs @@ -1,11 +1,11 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct GetDevicePostureRulesRule { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Expire posture results after the specified amount of time. Must be in the format `1h` or `30m`. Valid units are `h` and `m`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expiration")] pub r#expiration: Box>, /// ID of the Device Posture Rule. @@ -13,11 +13,11 @@ pub struct GetDevicePostureRulesRule { #[serde(rename = "id")] pub r#id: Box, /// Name of the device posture rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Tells the client when to run the device posture check. Must be in the format `1h` or `30m`. Valid units are `h` and `m`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "schedule")] pub r#schedule: Box>, /// The device posture rule type. Available values: `serial_number`, `file`, `application`, `gateway`, `warp`, `domain_joined`, `os_version`, `disk_encryption`, `firewall`, `client_certificate`, `client_certificate_v2`, `workspace_one`, `unique_client_id`, `crowdstrike_s2s`, `sentinelone`, `kolide`, `tanium_s2s`, `intune`, `sentinelone_s2s`, `custom_s2s` diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_devices_device.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_devices_device.rs index 430bdd25..22d0cc00 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_devices_device.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_devices_device.rs @@ -2,91 +2,91 @@ #[builder(finish_fn = build_struct)] pub struct GetDevicesDevice { /// When the device was created. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "created")] pub r#created: Box>, /// Whether the device has been deleted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "deleted")] pub r#deleted: Box>, /// The type of the device. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "deviceType")] pub r#device_type: Box>, /// Device ID. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// IPv4 or IPv6 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ip")] pub r#ip: Box>, /// The device's public key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "key")] pub r#key: Box>, /// When the device was last seen. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lastSeen")] pub r#last_seen: Box>, /// The device's MAC address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "macAddress")] pub r#mac_address: Box>, /// The device manufacturer's name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "manufacturer")] pub r#manufacturer: Box>, /// The device model name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "model")] pub r#model: Box>, /// The device name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The Linux distribution name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osDistroName")] pub r#os_distro_name: Box>, /// The Linux distribution revision. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osDistroRevision")] pub r#os_distro_revision: Box>, /// The operating system version. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osVersion")] pub r#os_version: Box>, /// Extra version value following the operating system version. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osVersionExtra")] pub r#os_version_extra: Box>, /// When the device was revoked. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "revokedAt")] pub r#revoked_at: Box>, /// The device's serial number. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serialNumber")] pub r#serial_number: Box>, /// When the device was updated. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "updated")] pub r#updated: Box>, /// User's email. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "userEmail")] pub r#user_email: Box>, /// User's ID. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "userId")] pub r#user_id: Box>, /// User's Name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "userName")] pub r#user_name: Box>, /// The WARP client version. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_infrastructure_access_targets_target_ip.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_infrastructure_access_targets_target_ip.rs index 1de16972..47c223c2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_infrastructure_access_targets_target_ip.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_infrastructure_access_targets_target_ip.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetInfrastructureAccessTargetsTargetIp { /// The target's IPv4 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4")] pub r#ipv_4: Box>, /// The target's IPv6 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6")] pub r#ipv_6: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_lists_list.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_lists_list.rs index 8e55159f..ba3461d1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_lists_list.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_lists_list.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct GetListsList { /// List description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// List identifier. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// List kind. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "kind")] pub r#kind: Box>, /// The list name to target for the resource. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Number of items in list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "numitems")] pub r#numitems: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_filter.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_filter.rs index b2174d0c..bc3a49ac 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_filter.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_filter.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct GetLoadBalancerPoolsFilter { /// A regular expression matching the name of the Load Balancer pool to lookup. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_pool_load_shedding.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_pool_load_shedding.rs index ab4b62e8..11ac4ef8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_pool_load_shedding.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_pool_load_shedding.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct GetLoadBalancerPoolsPoolLoadShedding { /// Percent of traffic to shed 0 - 100. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultPercent")] pub r#default_percent: Box>, /// Method of shedding traffic. Available values: `""`, `hash`, `random` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultPolicy")] pub r#default_policy: Box>, /// Percent of session traffic to shed 0 - 100. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sessionPercent")] pub r#session_percent: Box>, /// Method of shedding traffic. Available values: `""`, `hash` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sessionPolicy")] pub r#session_policy: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_pool_origin.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_pool_origin.rs index f00386c5..178004d2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_pool_origin.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_load_balancer_pools_pool_origin.rs @@ -6,11 +6,11 @@ pub struct GetLoadBalancerPoolsPoolOrigin { #[serde(rename = "address")] pub r#address: Box, /// Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// HTTP request headers. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headers")] pub r#headers: Box>>, /// A human-identifiable name for the origin. @@ -18,11 +18,11 @@ pub struct GetLoadBalancerPoolsPoolOrigin { #[serde(rename = "name")] pub r#name: Box, /// The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "virtualNetworkId")] pub r#virtual_network_id: Box>, /// The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When `origin_steering.policy="least_outstanding_requests"`, weight is used to scale the origin's outstanding requests. When `origin_steering.policy="least_connections"`, weight is used to scale the origin's open connections. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "weight")] pub r#weight: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_filter.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_filter.rs index 6717ee9e..49363cf5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_filter.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_filter.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsFilter { /// The ID of the Ruleset to target. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Type of Ruleset to create. Available values: `custom`, `managed`, `root`, `zone`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "kind")] pub r#kind: Box>, /// Name of the ruleset. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`, `http_config_settings`, `http_custom_errors`, `http_log_custom_fields`, `http_ratelimit`, `http_request_cache_settings`, `http_request_dynamic_redirect`, `http_request_firewall_custom`, `http_request_firewall_managed`, `http_request_late_transform`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`, `http_request_sbfm`, `http_request_transform`, `http_response_compression`, `http_response_firewall_managed`, `http_response_headers_transform`, `magic_transit`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "phase")] pub r#phase: Box>, /// Version of the ruleset to filter on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset.rs index 9d3b9c47..fbb12f82 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRuleset { /// Brief summary of the ruleset and its intended use. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// ID of the ruleset. @@ -22,7 +22,7 @@ pub struct GetRulesetsRuleset { #[serde(rename = "phase")] pub r#phase: Box, /// List of rules to apply to the ruleset. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rules")] pub r#rules: Box>>, /// Version of the ruleset. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule.rs index 500dc8e1..fc41579d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRule { /// Action to perform in the ruleset rule. Available values: `block`, `challenge`, `compress_response`, `ddos_dynamic`, `ddos_mitigation`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `serve_error`, `set_cache_settings`, `set_config`, `skip` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, /// List of parameters that configure the behavior of the ruleset rule action. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "actionParameters")] pub r#action_parameters: Box>, /// Brief summary of the ruleset rule and its intended use. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Whether the rule is active. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// List of parameters that configure exposed credential checks. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "exposedCredentialCheck")] pub r#exposed_credential_check: Box>, /// Criteria for an HTTP request to trigger the ruleset rule action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions @@ -30,15 +30,15 @@ pub struct GetRulesetsRulesetRule { #[serde(rename = "id")] pub r#id: Box, /// The most recent update to this rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lastUpdated")] pub r#last_updated: Box>, /// List parameters to configure how the rule generates logs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logging")] pub r#logging: Box>, /// List of parameters that configure HTTP rate limiting behaviour. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ratelimit")] pub r#ratelimit: Box>, /// Rule reference. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters.rs index 9df311c2..74608ff5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters.rs @@ -2,202 +2,202 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParameters { /// Allows for the ability to support caching on non-standard ports. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "additionalCacheablePorts")] pub r#additional_cacheable_ports: Box>>, /// Turn on or off Cloudflare Automatic HTTPS rewrites. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "automaticHttpsRewrites")] pub r#automatic_https_rewrites: Box>, /// Indicate which file extensions to minify automatically. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "autominifies")] pub r#autominifies: Box>>, /// Inspect the visitor's browser for headers commonly associated with spammers and certain bots. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bic")] pub r#bic: Box>, /// List of browser TTL parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "browserTtl")] pub r#browser_ttl: Box>, /// Whether to cache if expression matches. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cache")] pub r#cache: Box>, /// List of cache key parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheKey")] pub r#cache_key: Box>, /// List of cache reserve parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheReserve")] pub r#cache_reserve: Box>, /// Content of the custom error response - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "content")] pub r#content: Box>, /// Content-Type of the custom error response - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "contentType")] pub r#content_type: Box>, /// List of cookie values to include as part of custom fields logging. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cookieFields")] pub r#cookie_fields: Box>>, /// Turn off all active Cloudflare Apps. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableApps")] pub r#disable_apps: Box>, /// Turn off railgun feature of the Cloudflare Speed app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableRailgun")] pub r#disable_railgun: Box>, /// Turn off zaraz feature. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableZaraz")] pub r#disable_zaraz: Box>, /// List of edge TTL parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "edgeTtl")] pub r#edge_ttl: Box>, /// Turn on or off the Cloudflare Email Obfuscation feature of the Cloudflare Scrape Shield app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailObfuscation")] pub r#email_obfuscation: Box>, /// Use a list to lookup information for the action. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fromList")] pub r#from_list: Box>, /// Use a value to lookup information for the action. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fromValue")] pub r#from_value: Box>, /// List of HTTP header modifications to perform in the ruleset rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headers")] pub r#headers: Box>>, /// Host Header that request origin receives. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hostHeader")] pub r#host_header: Box>, /// Turn on or off the hotlink protection feature. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hotlinkProtection")] pub r#hotlink_protection: Box>, /// Identifier of the action parameter to modify. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "increment")] pub r#increment: Box>, /// List of properties to configure WAF payload logging. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "matchedData")] pub r#matched_data: Box>, /// Turn on or off Cloudflare Mirage of the Cloudflare Speed app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mirage")] pub r#mirage: Box>, /// Turn on or off the Cloudflare Opportunistic Encryption feature of the Edge Certificates tab in the Cloudflare SSL/TLS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "opportunisticEncryption")] pub r#opportunistic_encryption: Box>, /// List of properties to change request origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "origin")] pub r#origin: Box>, /// Sets a more compliant mode for parsing Cache Control headers - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originCacheControl")] pub r#origin_cache_control: Box>, /// Pass-through error page for origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originErrorPagePassthru")] pub r#origin_error_page_passthru: Box>, /// List of override configurations to apply to the ruleset. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overrides")] pub r#overrides: Box>, /// Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`, `http_config_settings`, `http_custom_errors`, `http_log_custom_fields`, `http_ratelimit`, `http_request_cache_settings`, `http_request_dynamic_redirect`, `http_request_firewall_custom`, `http_request_firewall_managed`, `http_request_late_transform`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`, `http_request_sbfm`, `http_request_transform`, `http_response_compression`, `http_response_firewall_managed`, `http_response_headers_transform`, `magic_transit` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "phases")] pub r#phases: Box>>, /// Apply options from the Polish feature of the Cloudflare Speed app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "polish")] pub r#polish: Box>, /// Products to target with the actions. Available values: `bic`, `hot`, `ratelimit`, `securityLevel`, `uablock`, `waf`, `zonelockdown` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "products")] pub r#products: Box>>, /// Sets the timeout value for reading content from an origin server. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "readTimeout")] pub r#read_timeout: Box>, /// List of request headers to include as part of custom fields logging, in lowercase. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requestFields")] pub r#request_fields: Box>>, /// Respect strong ETags. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "respectStrongEtags")] pub r#respect_strong_etags: Box>, /// List of response headers to include as part of custom fields logging, in lowercase. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "responseFields")] pub r#response_fields: Box>>, /// List of parameters that configure the response given to end users - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "responses")] pub r#responses: Box>>, /// Turn on or off Cloudflare Rocket Loader in the Cloudflare Speed app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rocketLoader")] pub r#rocket_loader: Box>, /// Map of managed WAF rule ID to comma-delimited string of ruleset rule IDs. Example: `rules = { "efb7b8c949ac4650a09736fc376e9aee" = "5de7edfa648c4d6891dc3e7f84534ffa,e3a567afc347477d9702d9047e97d760" }` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rules")] pub r#rules: Box>>, /// Which ruleset ID to target. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ruleset")] pub r#ruleset: Box>, /// List of managed WAF rule IDs to target. Only valid when the `"action"` is set to skip - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rulesets")] pub r#rulesets: Box>>, /// Control options for the Security Level feature from the Security app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "securityLevel")] pub r#security_level: Box>, /// List of serve stale parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serveStale")] pub r#serve_stale: Box>, /// Turn on or off the Server Side Excludes feature of the Cloudflare Scrape Shield app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serverSideExcludes")] pub r#server_side_excludes: Box>, /// List of properties to manange Server Name Indication. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sni")] pub r#sni: Box>, /// Control options for the SSL feature of the Edge Certificates tab in the Cloudflare SSL/TLS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssl")] pub r#ssl: Box>, /// HTTP status code of the custom error response - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, /// Turn on or off the SXG feature. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sxg")] pub r#sxg: Box>, /// List of URI properties to configure for the ruleset rule when performing URL rewrite transformations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "uri")] pub r#uri: Box>, /// Version of the ruleset to deploy. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_autominify.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_autominify.rs index 8ce388ca..05a3f3c2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_autominify.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_autominify.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersAutominify { /// SSL minification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "css")] pub r#css: Box>, /// HTML minification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "html")] pub r#html: Box>, /// JS minification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "js")] pub r#js: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_browser_ttl.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_browser_ttl.rs index dee66532..66db464f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_browser_ttl.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_browser_ttl.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersBrowserTtl { /// Default browser TTL. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "default")] pub r#default: Box>, /// Mode of the browser TTL. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key.rs index b11ba0ed..d59e8d2c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersCacheKey { /// Cache by device type. Conflicts with "custom_key.user.device_type". - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheByDeviceType")] pub r#cache_by_device_type: Box>, /// Cache deception armor. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheDeceptionArmor")] pub r#cache_deception_armor: Box>, /// Custom key parameters for the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customKey")] pub r#custom_key: Box>, /// Ignore query strings order. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ignoreQueryStringsOrder")] pub r#ignore_query_strings_order: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key.rs index 9a8145f3..c83290cf 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersCacheKeyCustomKey { /// Cookie parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cookie")] pub r#cookie: Box>, /// Header parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "header")] pub r#header: Box>, /// Host parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "host")] pub r#host: Box>, /// Query string parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "queryString")] pub r#query_string: Box>, /// User parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "user")] pub r#user: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_cookie.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_cookie.rs index 1c6f0cd8..1fe8f36a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_cookie.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_cookie.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyCookie { /// List of cookies to check for presence in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkPresences")] pub r#check_presences: Box>>, /// List of cookies to include in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_header.rs index a090340d..2ca35a5c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_header.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyHeader { /// List of headers to check for presence in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkPresences")] pub r#check_presences: Box>>, /// Dictionary of headers mapping to lists of values to check for presence in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "contains")] pub r#contains: Box>>>, /// Exclude the origin header from the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "excludeOrigin")] pub r#exclude_origin: Box>, /// List of headers to include in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_host.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_host.rs index 94324855..5564ad66 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_host.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_host.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyHost { /// Resolve hostname to IP address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "resolved")] pub r#resolved: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_query_string.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_query_string.rs index 608b0aa1..f1428032 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_query_string.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_query_string.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyQueryString { /// List of query string parameters to exclude from the custom key. Conflicts with "include". - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "excludes")] pub r#excludes: Box>>, /// List of query string parameters to include in the custom key. Conflicts with "exclude". - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_user.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_user.rs index c72ec784..0a65fc97 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_user.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_key_custom_key_user.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyUser { /// Add device type to the custom key. Conflicts with "cache_key.cache_by_device_type". - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "deviceType")] pub r#device_type: Box>, /// Add geo data to the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geo")] pub r#geo: Box>, /// Add language data to the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lang")] pub r#lang: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_reserve.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_reserve.rs index 206f11b3..2e61fff5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_reserve.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_cache_reserve.rs @@ -6,7 +6,7 @@ pub struct GetRulesetsRulesetRuleActionParametersCacheReserve { #[serde(rename = "eligible")] pub r#eligible: Box, /// The minimum file size, in bytes, eligible for storage in cache reserve. If omitted and "eligible" is true, Cloudflare will use 0 bytes by default. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "minimumFileSize")] pub r#minimum_file_size: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl.rs index 97f232da..85881196 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersEdgeTtl { /// Default edge TTL - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "default")] pub r#default: Box>, /// Mode of the edge TTL. @@ -10,7 +10,7 @@ pub struct GetRulesetsRulesetRuleActionParametersEdgeTtl { #[serde(rename = "mode")] pub r#mode: Box, /// Edge TTL for the status codes. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCodeTtls")] pub r#status_code_ttls: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl_status_code_ttl.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl_status_code_ttl.rs index 864fea69..36587e67 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl_status_code_ttl.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl_status_code_ttl.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersEdgeTtlStatusCodeTtl { /// Status code for which the edge TTL is applied. Conflicts with "status_code_range". - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, /// Status code range for which the edge TTL is applied. Conflicts with "status_code". - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCodeRanges")] pub r#status_code_ranges: Box>>, /// Status code edge TTL value. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl_status_code_ttl_status_code_range.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl_status_code_ttl_status_code_range.rs index 1970a2b0..4fabfd58 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl_status_code_ttl_status_code_range.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_edge_ttl_status_code_ttl_status_code_range.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange { /// From status code. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "from")] pub r#from: Box>, /// To status code. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "to")] pub r#to: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_from_value.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_from_value.rs index f0f57bfb..d4d622a1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_from_value.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_from_value.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersFromValue { /// Preserve query string for redirect URL. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preserveQueryString")] pub r#preserve_query_string: Box>, /// Status code for redirect. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, /// Target URL for redirect. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "targetUrl")] pub r#target_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_from_value_target_url.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_from_value_target_url.rs index 722f09d7..e8785652 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_from_value_target_url.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_from_value_target_url.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersFromValueTargetUrl { /// Use a value dynamically determined by the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. Conflicts with `"value"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expression")] pub r#expression: Box>, /// Static value to provide as the HTTP request header value. Conflicts with `"expression"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_header.rs index 5f1c160b..ca81046d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_header.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersHeader { /// Use a value dynamically determined by the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. Conflicts with `"value"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expression")] pub r#expression: Box>, /// Name of the HTTP request header to target. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Action to perform on the HTTP request header. Available values: `remove`, `set`, `add` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "operation")] pub r#operation: Box>, /// Static value to provide as the HTTP request header value. Conflicts with `"expression"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_matched_data.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_matched_data.rs index fd538aca..2146a1b8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_matched_data.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_matched_data.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersMatchedData { /// Public key to use within WAF Ruleset payload logging to view the HTTP request parameters. You can generate a public key [using the `matched-data-cli` command-line tool](https://developers.cloudflare.com/waf/managed-rulesets/payload-logging/command-line/generate-key-pair) or [in the Cloudflare dashboard](https://developers.cloudflare.com/waf/managed-rulesets/payload-logging/configure) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "publicKey")] pub r#public_key: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_origin.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_origin.rs index 4ca55fc1..fdc9bdc5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_origin.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_origin.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersOrigin { /// Origin Hostname where request is sent. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "host")] pub r#host: Box>, /// Origin Port where request is sent. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "port")] pub r#port: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides.rs index 83f3d16c..338e759c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersOverrides { /// Action to perform in the rule-level override. Available values: `block`, `challenge`, `compress_response`, `ddos_dynamic`, `ddos_mitigation`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `serve_error`, `set_cache_settings`, `set_config`, `skip` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, /// List of tag-based overrides. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "categories")] pub r#categories: Box>>, /// Defines if the current ruleset-level override enables or disables the ruleset. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// List of rule-based overrides. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rules")] pub r#rules: Box>>, /// Sensitivity level to override for all ruleset rules. Available values: `default`, `medium`, `low`, `eoff` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensitivityLevel")] pub r#sensitivity_level: Box>, /// Defines if the current ruleset-level override enables or disables the ruleset. Available values: `enabled`, `disabled` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "status")] pub r#status: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides_category.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides_category.rs index b6082e09..9c24e115 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides_category.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides_category.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersOverridesCategory { /// Action to perform in the tag-level override. Available values: `block`, `challenge`, `compress_response`, `ddos_dynamic`, `ddos_mitigation`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `serve_error`, `set_cache_settings`, `set_config`, `skip` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, /// Tag name to apply the ruleset rule override to. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "category")] pub r#category: Box>, /// Defines if the current tag-level override enables or disables the ruleset rules with the specified tag. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Defines if the current tag-level override enables or disables the ruleset rules with the specified tag. Available values: `enabled`, `disabled` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "status")] pub r#status: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides_rule.rs index 2af665cb..7d7ff164 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_overrides_rule.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersOverridesRule { /// Action to perform in the rule-level override. Available values: `block`, `challenge`, `compress_response`, `ddos_dynamic`, `ddos_mitigation`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `serve_error`, `set_cache_settings`, `set_config`, `skip` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, /// Defines if the current rule-level override enables or disables the rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// The ID of this resource. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Anomaly score threshold to apply in the ruleset rule override. Only applicable to modsecurity-based rulesets. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scoreThreshold")] pub r#score_threshold: Box>, /// Sensitivity level for a ruleset rule override. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensitivityLevel")] pub r#sensitivity_level: Box>, /// Defines if the current rule-level override enables or disables the rule. Available values: `enabled`, `disabled` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "status")] pub r#status: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_response.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_response.rs index 77c8f034..1f5c5b2a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_response.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_response.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersResponse { /// Body content to include in the response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "content")] pub r#content: Box>, /// HTTP content type to send in the response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "contentType")] pub r#content_type: Box>, /// HTTP status code to send in the response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_serve_stale.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_serve_stale.rs index 4c21b4b9..2028b28c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_serve_stale.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_serve_stale.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersServeStale { /// Disable stale while updating. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableStaleWhileUpdating")] pub r#disable_stale_while_updating: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_sni.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_sni.rs index 9aeb61c8..eb200bbc 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_sni.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_sni.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersSni { /// Value to define for SNI. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri.rs index b0fad9c9..df2672a4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri.rs @@ -1,15 +1,15 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersUri { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "origin")] pub r#origin: Box>, /// URI path configuration when performing a URL rewrite. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "path")] pub r#path: Box>, /// Query string configuration when performing a URL rewrite. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "query")] pub r#query: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri_path.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri_path.rs index bf027c27..b2954948 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri_path.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri_path.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersUriPath { /// Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expression")] pub r#expression: Box>, /// Static string value of the updated URI path or query string component. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri_query.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri_query.rs index df6e8171..61ca1d15 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri_query.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_action_parameters_uri_query.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleActionParametersUriQuery { /// Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expression")] pub r#expression: Box>, /// Static string value of the updated URI path or query string component. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_exposed_credential_check.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_exposed_credential_check.rs index dccc0d5c..ab66e180 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_exposed_credential_check.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_exposed_credential_check.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleExposedCredentialCheck { /// Firewall Rules expression language based on Wireshark display filters for where to check for the "password" value. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "passwordExpression")] pub r#password_expression: Box>, /// Firewall Rules expression language based on Wireshark display filters for where to check for the "username" value. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "usernameExpression")] pub r#username_expression: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_logging.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_logging.rs index b420e22e..6fda1adf 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_logging.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_logging.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleLogging { /// Override the default logging behavior when a rule is matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Override the default logging behavior when a rule is matched. Available values: `enabled`, `disabled` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "status")] pub r#status: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_ratelimit.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_ratelimit.rs index 290e7ae5..f97d3919 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_ratelimit.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_rulesets_ruleset_rule_ratelimit.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct GetRulesetsRulesetRuleRatelimit { /// List of parameters that define how Cloudflare tracks the request rate for this rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "characteristics")] pub r#characteristics: Box>>, /// Criteria for counting HTTP requests to trigger the Rate Limiting action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "countingExpression")] pub r#counting_expression: Box>, /// Once the request rate is reached, the Rate Limiting rule blocks further requests for the period of time defined in this field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mitigationTimeout")] pub r#mitigation_timeout: Box>, /// The period of time to consider (in seconds) when evaluating the request rate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "period")] pub r#period: Box>, /// The number of requests over the period of time that will trigger the Rate Limiting rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requestsPerPeriod")] pub r#requests_per_period: Box>, /// Whether to include requests to origin within the Rate Limiting count. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requestsToOrigin")] pub r#requests_to_origin: Box>, /// The maximum aggregate score over the period of time that will trigger Rate Limiting rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scorePerPeriod")] pub r#score_per_period: Box>, /// Name of HTTP header in the response, set by the origin server, with the score for the current request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scoreResponseHeaderName")] pub r#score_response_header_name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zero_trust_infrastructure_access_targets_target_ip.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zero_trust_infrastructure_access_targets_target_ip.rs index f54dc3f2..300801ee 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zero_trust_infrastructure_access_targets_target_ip.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zero_trust_infrastructure_access_targets_target_ip.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetZeroTrustInfrastructureAccessTargetsTargetIp { /// The target's IPv4 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4")] pub r#ipv_4: Box>, /// The target's IPv6 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6")] pub r#ipv_6: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zones_filter.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zones_filter.rs index fde1cdf8..7bc46aa5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zones_filter.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zones_filter.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct GetZonesFilter { /// The account identifier to target for the resource. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accountId")] pub r#account_id: Box>, /// The type of search to perform for the `name` value when querying the zone API. Available values: `contains`, `exact`. Defaults to `exact`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lookupType")] pub r#lookup_type: Box>, /// A RE2 compatible regular expression to filter the results. This is performed client side whereas the `name` and `lookup_type` are performed on the Cloudflare server side. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "match")] pub r#match: Box>, /// A string value to search for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Paused status of the zone to lookup. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "paused")] pub r#paused: Box>, /// Status of the zone to lookup. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "status")] pub r#status: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zones_zone.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zones_zone.rs index dede760d..31a06ede 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zones_zone.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/get_zones_zone.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct GetZonesZone { /// The zone ID. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Zone name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/hyperdrive_config_caching.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/hyperdrive_config_caching.rs index 3ec5d833..2a25fae4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/hyperdrive_config_caching.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/hyperdrive_config_caching.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct HyperdriveConfigCaching { /// Disable caching for this Hyperdrive configuration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disabled")] pub r#disabled: Box>, /// Configure the `max_age` value of this Hyperdrive configuration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxAge")] pub r#max_age: Box>, /// Disable caching for this Hyperdrive configuration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "staleWhileRevalidate")] pub r#stale_while_revalidate: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/hyperdrive_config_origin.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/hyperdrive_config_origin.rs index 166531d4..d68a3846 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/hyperdrive_config_origin.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/hyperdrive_config_origin.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct HyperdriveConfigOrigin { /// Client ID associated with the Cloudflare Access Service Token used to connect via Access. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accessClientId")] pub r#access_client_id: Box>, /// Client Secret associated with the Cloudflare Access Service Token used to connect via Access. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accessClientSecret")] pub r#access_client_secret: Box>, /// The name of your origin database. @@ -22,7 +22,7 @@ pub struct HyperdriveConfigOrigin { #[serde(rename = "password")] pub r#password: Box, /// The port (default: 5432 for Postgres) of your origin database. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "port")] pub r#port: Box>, /// Specifies the URL scheme used to connect to your origin database. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/infrastructure_access_target_ip.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/infrastructure_access_target_ip.rs index a3d2284b..a069baad 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/infrastructure_access_target_ip.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/infrastructure_access_target_ip.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct InfrastructureAccessTargetIp { /// The target's IPv4 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4")] pub r#ipv_4: Box>, /// The target's IPv6 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6")] pub r#ipv_6: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item.rs index 03798235..a9811b26 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item.rs @@ -2,10 +2,10 @@ #[builder(finish_fn = build_struct)] pub struct ListItem { /// An optional comment for the item. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "comment")] pub r#comment: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_redirect.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_redirect.rs index efd5d0c3..72295cf1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_redirect.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_redirect.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ListItemRedirect { /// Whether the redirect also matches subdomains of the source url. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includeSubdomains")] pub r#include_subdomains: Box>, /// Whether the redirect target url should keep the query string of the request's url. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preservePathSuffix")] pub r#preserve_path_suffix: Box>, /// Whether the redirect target url should keep the query string of the request's url. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preserveQueryString")] pub r#preserve_query_string: Box>, /// The source url of the redirect. @@ -18,11 +18,11 @@ pub struct ListItemRedirect { #[serde(rename = "sourceUrl")] pub r#source_url: Box, /// The status code to be used when redirecting a request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, /// Whether the redirect also matches subpaths of the source url. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "subpathMatching")] pub r#subpath_matching: Box>, /// The target url of the redirect. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_value.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_value.rs index b14f2a55..ef72bd60 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_value.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_value.rs @@ -1,16 +1,16 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ListItemValue { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "asn")] pub r#asn: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hostnames")] pub r#hostnames: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ip")] pub r#ip: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "redirects")] pub r#redirects: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_value_redirect.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_value_redirect.rs index 6e11d0e4..9c8dd878 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_value_redirect.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/list_item_value_redirect.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ListItemValueRedirect { /// Whether the redirect also matches subdomains of the source url. Available values: `disabled`, `enabled`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includeSubdomains")] pub r#include_subdomains: Box>, /// Whether to preserve the path suffix when doing subpath matching. Available values: `disabled`, `enabled`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preservePathSuffix")] pub r#preserve_path_suffix: Box>, /// Whether the redirect target url should keep the query string of the request's url. Available values: `disabled`, `enabled`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preserveQueryString")] pub r#preserve_query_string: Box>, /// The source url of the redirect. @@ -18,11 +18,11 @@ pub struct ListItemValueRedirect { #[serde(rename = "sourceUrl")] pub r#source_url: Box, /// The status code to be used when redirecting a request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, /// Whether the redirect also matches subpaths of the source url. Available values: `disabled`, `enabled`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "subpathMatching")] pub r#subpath_matching: Box>, /// The target url of the redirect. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_adaptive_routing.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_adaptive_routing.rs index 590e9131..fa00ed79 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_adaptive_routing.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_adaptive_routing.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerAdaptiveRouting { /// Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set `false`, zero-downtime failover will only occur between origins within the same pool. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "failoverAcrossPools")] pub r#failover_across_pools: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_location_strategy.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_location_strategy.rs index a9b550c9..6ac6204d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_location_strategy.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_location_strategy.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerLocationStrategy { /// Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. Defaults to `pop`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mode")] pub r#mode: Box>, /// Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when `steering_policy="proximity"`, and `geo` will prefer ECS only when `steering_policy="geo"`. Available values: `always`, `never`, `proximity`, `geo`. Defaults to `proximity`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preferEcs")] pub r#prefer_ecs: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_load_shedding.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_load_shedding.rs index d4aaaedc..7948bf61 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_load_shedding.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_load_shedding.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerPoolLoadShedding { /// Percent of traffic to shed 0 - 100. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultPercent")] pub r#default_percent: Box>, /// Method of shedding traffic. Available values: `""`, `hash`, `random`. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultPolicy")] pub r#default_policy: Box>, /// Percent of session traffic to shed 0 - 100. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sessionPercent")] pub r#session_percent: Box>, /// Method of shedding traffic. Available values: `""`, `hash`. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sessionPolicy")] pub r#session_policy: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_origin.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_origin.rs index 971fea5c..542b738b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_origin.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_origin.rs @@ -6,11 +6,11 @@ pub struct LoadBalancerPoolOrigin { #[serde(rename = "address")] pub r#address: Box, /// Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to `true`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// HTTP request headers. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headers")] pub r#headers: Box>>, /// A human-identifiable name for the origin. @@ -18,11 +18,11 @@ pub struct LoadBalancerPoolOrigin { #[serde(rename = "name")] pub r#name: Box, /// The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "virtualNetworkId")] pub r#virtual_network_id: Box>, /// The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. When `origin_steering.policy="least_outstanding_requests"`, weight is used to scale the origin's outstanding requests. When `origin_steering.policy="least_connections"`, weight is used to scale the origin's open connections. Defaults to `1`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "weight")] pub r#weight: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_origin_steering.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_origin_steering.rs index b39e6f49..de2edb27 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_origin_steering.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_pool_origin_steering.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerPoolOriginSteering { /// Origin steering policy to be used. Value `random` selects an origin randomly. Value `hash` selects an origin by computing a hash over the CF-Connecting-IP address. Value `least_outstanding_requests` selects an origin by taking into consideration origin weights, as well as each origin's number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects an origin by taking into consideration origin weights, as well as each origin's number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Available values: `""`, `hash`, `random`, `least_outstanding_requests`, `least_connections`. Defaults to `random`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "policy")] pub r#policy: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_random_steering.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_random_steering.rs index c35d7573..1805d2e2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_random_steering.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_random_steering.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerRandomSteering { /// The default weight for pools in the load balancer that are not specified in the `pool_weights` map. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultWeight")] pub r#default_weight: Box>, /// A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "poolWeights")] pub r#pool_weights: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule.rs index d3db8174..8474bcec 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerRule { /// The statement to evaluate to determine if this rule's effects should be applied. An empty condition is always true. See [load balancing rules](https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "condition")] pub r#condition: Box>, /// A disabled rule will not be executed. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disabled")] pub r#disabled: Box>, /// Settings for a HTTP response to return directly to the eyeball if the condition is true. Note: `overrides` or `fixed_response` must be set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fixedResponse")] pub r#fixed_response: Box>, /// Human readable name for this rule. @@ -18,15 +18,15 @@ pub struct LoadBalancerRule { #[serde(rename = "name")] pub r#name: Box, /// The load balancer settings to alter if this rule's `condition` is true. Note: `overrides` or `fixed_response` must be set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overrides")] pub r#overrides: Box>>, /// Priority used when determining the order of rule execution. Lower values are executed first. If not provided, the list order will be used. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "priority")] pub r#priority: Box>, /// Terminates indicates that if this rule is true no further rules should be executed. Note: setting a `fixed_response` forces this field to `true`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "terminates")] pub r#terminates: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_fixed_response.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_fixed_response.rs index 7929a3e2..6f83e5fb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_fixed_response.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_fixed_response.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerRuleFixedResponse { /// The value of the HTTP context-type header for this fixed response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "contentType")] pub r#content_type: Box>, /// The value of the HTTP location header for this fixed response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "location")] pub r#location: Box>, /// The text used as the html body for this fixed response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "messageBody")] pub r#message_body: Box>, /// The HTTP status code used for this fixed response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override.rs index 4250ddb5..ec1bfd73 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override.rs @@ -2,55 +2,55 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerRuleOverride { /// Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "adaptiveRoutings")] pub r#adaptive_routings: Box>>, /// A set containing mappings of country codes to a list of pool IDs (ordered by their failover priority) for the given country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "countryPools")] pub r#country_pools: Box>>, /// A list of pool IDs ordered by their failover priority. Used whenever `pop_pools`/`country_pools`/`region_pools` are not defined. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultPools")] pub r#default_pools: Box>>, /// The pool ID to use when all other pools are detected as unhealthy. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fallbackPool")] pub r#fallback_pool: Box>, /// Controls location-based steering for non-proxied requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "locationStrategies")] pub r#location_strategies: Box>>, /// A set containing mappings of Cloudflare Point-of-Presence (PoP) identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). This feature is only available to enterprise customers. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "popPools")] pub r#pop_pools: Box>>, /// Configures pool weights. When `steering_policy="random"`, a random pool is selected with probability proportional to pool weights. When `steering_policy="least_outstanding_requests"`, pool weights are used to scale each pool's outstanding requests. When `steering_policy="least_connections"`, pool weights are used to scale each pool's open connections. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "randomSteerings")] pub r#random_steerings: Box>>, /// A set containing mappings of region codes to a list of pool IDs (ordered by their failover priority) for the given region. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "regionPools")] pub r#region_pools: Box>>, /// Configure attributes for session affinity. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sessionAffinity")] pub r#session_affinity: Box>, /// Configure attributes for session affinity. Note that the property `drain_duration` is not currently supported as a rule override. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sessionAffinityAttributes")] pub r#session_affinity_attributes: Box>>, /// Time, in seconds, until this load balancer's session affinity cookie expires after being created. This parameter is ignored unless a supported session affinity policy is set. The current default of `82800` (23 hours) will be used unless `session_affinity_ttl` is explicitly set. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. Valid values are between `1800` and `604800`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sessionAffinityTtl")] pub r#session_affinity_ttl: Box>, /// The method the load balancer uses to determine the route to your origin. Value `off` uses `default_pool_ids`. Value `geo` uses `pop_pools`/`country_pools`/`region_pools`. For non-proxied requests, the `country` for `country_pools` is determined by `location_strategy`. Value `random` selects a pool randomly. Value `dynamic_latency` uses round trip time to select the closest pool in `default_pool_ids` (requires pool health checks). Value `proximity` uses the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests. Value `least_outstanding_requests` selects a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others. Value `least_connections` selects a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections. Value `""` maps to `geo` if you use `pop_pools`/`country_pools`/`region_pools` otherwise `off`. Available values: `off`, `geo`, `dynamic_latency`, `random`, `proximity`, `least_outstanding_requests`, `least_connections`, `""` Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "steeringPolicy")] pub r#steering_policy: Box>, /// Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This cannot be set for proxied load balancers. Defaults to `30`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ttl")] pub r#ttl: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_adaptive_routing.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_adaptive_routing.rs index f1525fe3..5fe049b5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_adaptive_routing.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_adaptive_routing.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerRuleOverrideAdaptiveRouting { /// Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin steering. When set `false`, zero-downtime failover will only occur between origins within the same pool. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "failoverAcrossPools")] pub r#failover_across_pools: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_location_strategy.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_location_strategy.rs index 0e05ede8..9bf25b3e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_location_strategy.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_location_strategy.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerRuleOverrideLocationStrategy { /// Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value `pop` will use the Cloudflare PoP location. Value `resolver_ip` will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: `pop`, `resolver_ip`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mode")] pub r#mode: Box>, /// Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value `always` will always prefer ECS, `never` will never prefer ECS, `proximity` will prefer ECS only when `steering_policy="proximity"`, and `geo` will prefer ECS only when `steering_policy="geo"`. Available values: `always`, `never`, `proximity`, `geo`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preferEcs")] pub r#prefer_ecs: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_random_steering.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_random_steering.rs index 0195bd91..f3df6303 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_random_steering.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_random_steering.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerRuleOverrideRandomSteering { /// The default weight for pools in the load balancer that are not specified in the `pool_weights` map. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultWeight")] pub r#default_weight: Box>, /// A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "poolWeights")] pub r#pool_weights: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_session_affinity_attribute.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_session_affinity_attribute.rs index 2db0b5f5..506da4d2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_session_affinity_attribute.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_rule_override_session_affinity_attribute.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerRuleOverrideSessionAffinityAttribute { /// Configures the HTTP header names to use when header session affinity is enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headers")] pub r#headers: Box>>, /// Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requireAllHeaders")] pub r#require_all_headers: Box>, /// Configures the SameSite attribute on session affinity cookie. Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set `secure="Never"`. Available values: `Auto`, `Lax`, `None`, `Strict`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samesite")] pub r#samesite: Box>, /// Configures the Secure attribute on session affinity cookie. Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "secure")] pub r#secure: Box>, /// Configures the zero-downtime failover between origins within a pool when session affinity is enabled. Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "zeroDowntimeFailover")] pub r#zero_downtime_failover: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_session_affinity_attribute.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_session_affinity_attribute.rs index 7034e507..55df90e7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_session_affinity_attribute.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/load_balancer_session_affinity_attribute.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct LoadBalancerSessionAffinityAttribute { /// Configures the drain duration in seconds. This field is only used when session affinity is enabled on the load balancer. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "drainDuration")] pub r#drain_duration: Box>, /// Configures the HTTP header names to use when header session affinity is enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headers")] pub r#headers: Box>>, /// Configures how headers are used when header session affinity is enabled. Set to true to require all headers to be present on requests in order for sessions to be created or false to require at least one header to be present. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requireAllHeaders")] pub r#require_all_headers: Box>, /// Configures the SameSite attribute on session affinity cookie. Value `Auto` will be translated to `Lax` or `None` depending if Always Use HTTPS is enabled. Note: when using value `None`, then you can not set `secure="Never"`. Available values: `Auto`, `Lax`, `None`, `Strict`. Defaults to `Auto`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samesite")] pub r#samesite: Box>, /// Configures the Secure attribute on session affinity cookie. Value `Always` indicates the Secure attribute will be set in the Set-Cookie header, `Never` indicates the Secure attribute will not be set, and `Auto` will set the Secure attribute depending if Always Use HTTPS is enabled. Available values: `Auto`, `Always`, `Never`. Defaults to `Auto`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "secure")] pub r#secure: Box>, /// Configures the zero-downtime failover between origins within a pool when session affinity is enabled. Value `none` means no failover takes place for sessions pinned to the origin. Value `temporary` means traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. Value `sticky` means the session affinity cookie is updated and subsequent requests are sent to the new origin. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. Available values: `none`, `temporary`, `sticky`. Defaults to `none`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "zeroDowntimeFailover")] pub r#zero_downtime_failover: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/logpush_job_output_options.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/logpush_job_output_options.rs index 9051c63d..760c0ef7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/logpush_job_output_options.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/logpush_job_output_options.rs @@ -2,52 +2,52 @@ #[builder(finish_fn = build_struct)] pub struct LogpushJobOutputOptions { /// String to be prepended before each batch. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "batchPrefix")] pub r#batch_prefix: Box>, /// String to be appended after each batch. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "batchSuffix")] pub r#batch_suffix: Box>, /// Mitigation for CVE-2021-44228. If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cve20214428")] pub r#cve_20214428: Box>, /// String to join fields. This field be ignored when record_template is set. Defaults to `,`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fieldDelimiter")] pub r#field_delimiter: Box>, /// List of field names to be included in the Logpush output. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fieldNames")] pub r#field_names: Box>>, /// Specifies the output type. Available values: `ndjson`, `csv`. Defaults to `ndjson`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "outputType")] pub r#output_type: Box>, /// String to be inserted in-between the records as separator. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "recordDelimiter")] pub r#record_delimiter: Box>, /// String to be prepended before each record. Defaults to `{`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "recordPrefix")] pub r#record_prefix: Box>, /// String to be appended after each record. Defaults to `} /// `. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "recordSuffix")] pub r#record_suffix: Box>, /// String to use as template for each record instead of the default comma-separated list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "recordTemplate")] pub r#record_template: Box>, /// Specifies the sampling rate. Defaults to `1`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sampleRate")] pub r#sample_rate: Box>, /// Specifies the format for timestamps. Available values: `unixnano`, `unix`, `rfc3339`. Defaults to `unixnano`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "timestampFormat")] pub r#timestamp_format: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_email_integration.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_email_integration.rs index 113c3655..7b9485ea 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_email_integration.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_email_integration.rs @@ -5,7 +5,7 @@ pub struct NotificationPolicyEmailIntegration { #[builder(into)] #[serde(rename = "id")] pub r#id: Box, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_filters.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_filters.rs index f35f3232..72c44e58 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_filters.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_filters.rs @@ -2,138 +2,138 @@ #[builder(finish_fn = build_struct)] pub struct NotificationPolicyFilters { /// Targeted actions for alert. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "actions")] pub r#actions: Box>>, /// Affected components for alert. Available values: `API`, `API Shield`, `Access`, `Always Online`, `Analytics`, `Apps Marketplace`, `Argo Smart Routing`, `Audit Logs`, `Authoritative DNS`, `Billing`, `Bot Management`, `Bring Your Own IP (BYOIP)`, `Browser Isolation`, `CDN Cache Purge`, `CDN/Cache`, `Cache Reserve`, `Challenge Platform`, `Cloud Access Security Broker (CASB)`, `Community Site`, `DNS Root Servers`, `DNS Updates`, `Dashboard`, `Data Loss Prevention (DLP)`, `Developer's Site`, `Digital Experience Monitoring (DEX)`, `Distributed Web Gateway`, `Durable Objects`, `Email Routing`, `Ethereum Gateway`, `Firewall`, `Gateway`, `Geo-Key Manager`, `Image Resizing`, `Images`, `Infrastructure`, `Lists`, `Load Balancing and Monitoring`, `Logs`, `Magic Firewall`, `Magic Transit`, `Magic WAN`, `Magic WAN Connector`, `Marketing Site`, `Mirage`, `Network`, `Notifications`, `Observatory`, `Page Shield`, `Pages`, `R2`, `Radar`, `Randomness Beacon`, `Recursive DNS`, `Registrar`, `Registration Data Access Protocol (RDAP)`, `SSL Certificate Provisioning`, `SSL for SaaS Provisioning`, `Security Center`, `Snippets`, `Spectrum`, `Speed Optimizations`, `Stream`, `Support Site`, `Time Services`, `Trace`, `Tunnel`, `Turnstile`, `WARP`, `Waiting Room`, `Web Analytics`, `Workers`, `Workers KV`, `Workers Preview`, `Zaraz`, `Zero Trust`, `Zero Trust Dashboard`, `Zone Versioning`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "affectedComponents")] pub r#affected_components: Box>>, /// Filter on Points of Presence. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "airportCodes")] pub r#airport_codes: Box>>, /// Alert trigger preferences. Example: `slo`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "alertTriggerPreferences")] pub r#alert_trigger_preferences: Box>>, /// State of the pool to alert on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enableds")] pub r#enableds: Box>>, /// Environment of pages. Available values: `ENVIRONMENT_PREVIEW`, `ENVIRONMENT_PRODUCTION`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environments")] pub r#environments: Box>>, /// Source configuration to alert on for pool or origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "eventSources")] pub r#event_sources: Box>>, /// Stream event type to alert on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "eventTypes")] pub r#event_types: Box>>, /// Pages event to alert. Available values: `EVENT_DEPLOYMENT_STARTED`, `EVENT_DEPLOYMENT_FAILED`, `EVENT_DEPLOYMENT_SUCCESS`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "events")] pub r#events: Box>>, /// Alert grouping. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groupBies")] pub r#group_bies: Box>>, /// Identifier health check. Required when using `filters.0.status`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "healthCheckIds")] pub r#health_check_ids: Box>>, /// The incident impact level that will trigger the dispatch of a notification. Available values: `INCIDENT_IMPACT_NONE`, `INCIDENT_IMPACT_MINOR`, `INCIDENT_IMPACT_MAJOR`, `INCIDENT_IMPACT_CRITICAL`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "incidentImpacts")] pub r#incident_impacts: Box>>, /// Stream input id to alert on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "inputIds")] pub r#input_ids: Box>>, /// A numerical limit. Example: `100`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "limits")] pub r#limits: Box>>, /// Megabits per second threshold for dos alert. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "megabitsPerSeconds")] pub r#megabits_per_seconds: Box>>, /// Health status to alert on for pool or origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "newHealths")] pub r#new_healths: Box>>, /// Tunnel health status to alert on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "newStatuses")] pub r#new_statuses: Box>>, /// Packets per second threshold for dos alert. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "packetsPerSeconds")] pub r#packets_per_seconds: Box>>, /// Load balancer pool identifier. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "poolIds")] pub r#pool_ids: Box>>, /// Product name. Available values: `worker_requests`, `worker_durable_objects_requests`, `worker_durable_objects_duration`, `worker_durable_objects_data_transfer`, `worker_durable_objects_stored_data`, `worker_durable_objects_storage_deletes`, `worker_durable_objects_storage_writes`, `worker_durable_objects_storage_reads`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "products")] pub r#products: Box>>, /// Identifier of pages project. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "projectIds")] pub r#project_ids: Box>>, /// Protocol to alert on for dos. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "protocols")] pub r#protocols: Box>>, /// Requests per second threshold for dos alert. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requestsPerSeconds")] pub r#requests_per_seconds: Box>>, /// Selectors for alert. Valid options depend on the alert type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "selectors")] pub r#selectors: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "services")] pub r#services: Box>>, /// A numerical limit. Example: `99.9`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "slos")] pub r#slos: Box>>, /// Status to alert on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statuses")] pub r#statuses: Box>>, /// Target host to alert on for dos. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "targetHostnames")] pub r#target_hostnames: Box>>, /// Target ip to alert on for dos in CIDR notation. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "targetIps")] pub r#target_ips: Box>>, /// Target domain to alert on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "targetZoneNames")] pub r#target_zone_names: Box>>, /// Tunnel IDs to alert on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tunnelIds")] pub r#tunnel_ids: Box>>, /// Tunnel Names to alert on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tunnelNames")] pub r#tunnel_names: Box>>, /// Filter for alert. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "wheres")] pub r#wheres: Box>>, /// A list of zone identifiers. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "zones")] pub r#zones: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_pagerduty_integration.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_pagerduty_integration.rs index 804dda85..6d866ae9 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_pagerduty_integration.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_pagerduty_integration.rs @@ -5,7 +5,7 @@ pub struct NotificationPolicyPagerdutyIntegration { #[builder(into)] #[serde(rename = "id")] pub r#id: Box, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_webhooks_integration.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_webhooks_integration.rs index 08a46b30..55923e75 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_webhooks_integration.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/notification_policy_webhooks_integration.rs @@ -5,7 +5,7 @@ pub struct NotificationPolicyWebhooksIntegration { #[builder(into)] #[serde(rename = "id")] pub r#id: Box, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions.rs index 58647883..8796adcc 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions.rs @@ -2,151 +2,151 @@ #[builder(finish_fn = build_struct)] pub struct PageRuleActions { /// Boolean of whether this action is enabled. Default: false. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "alwaysUseHttps")] pub r#always_use_https: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "automaticHttpsRewrites")] pub r#automatic_https_rewrites: Box>, /// The Time To Live for the browser cache. `0` means 'Respect Existing Headers' - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "browserCacheTtl")] pub r#browser_cache_ttl: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "browserCheck")] pub r#browser_check: Box>, /// String value of cookie name to conditionally bypass cache the page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bypassCacheOnCookie")] pub r#bypass_cache_on_cookie: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheByDeviceType")] pub r#cache_by_device_type: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheDeceptionArmor")] pub r#cache_deception_armor: Box>, /// Controls how Cloudflare creates Cache Keys used to identify files in cache. See below for full description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheKeyFields")] pub r#cache_key_fields: Box>, /// Whether to set the cache level to `"bypass"`, `"basic"`, `"simplified"`, `"aggressive"`, or `"cache_everything"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheLevel")] pub r#cache_level: Box>, /// String value of cookie name to conditionally cache the page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheOnCookie")] pub r#cache_on_cookie: Box>, /// Set cache TTL based on the response status from the origin web server. Can be specified multiple times. See below for full description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheTtlByStatuses")] pub r#cache_ttl_by_statuses: Box>>, /// Boolean of whether this action is enabled. Default: false. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableApps")] pub r#disable_apps: Box>, /// Boolean of whether this action is enabled. Default: false. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disablePerformance")] pub r#disable_performance: Box>, /// Boolean of whether this action is enabled. Default: false. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableRailgun")] pub r#disable_railgun: Box>, /// Boolean of whether this action is enabled. Default: false. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableSecurity")] pub r#disable_security: Box>, /// Boolean of whether this action is enabled. Default: false. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableZaraz")] pub r#disable_zaraz: Box>, /// The Time To Live for the edge cache. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "edgeCacheTtl")] pub r#edge_cache_ttl: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailObfuscation")] pub r#email_obfuscation: Box>, /// Whether origin Cache-Control action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "explicitCacheControl")] pub r#explicit_cache_control: Box>, /// The URL to forward to, and with what status. See below. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "forwardingUrl")] pub r#forwarding_url: Box>, /// Value of the Host header to send. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hostHeaderOverride")] pub r#host_header_override: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipGeolocation")] pub r#ip_geolocation: Box>, /// The configuration for HTML, CSS and JS minification. See below for full list of options. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "minifies")] pub r#minifies: Box>>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mirage")] pub r#mirage: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "opportunisticEncryption")] pub r#opportunistic_encryption: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originErrorPagePassThru")] pub r#origin_error_page_pass_thru: Box>, /// Whether this action is `"off"`, `"lossless"` or `"lossy"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "polish")] pub r#polish: Box>, /// Overridden origin server name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "resolveOverride")] pub r#resolve_override: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "respectStrongEtag")] pub r#respect_strong_etag: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "responseBuffering")] pub r#response_buffering: Box>, /// Whether to set the rocket loader to `"on"`, `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rocketLoader")] pub r#rocket_loader: Box>, /// Whether to set the security level to `"off"`, `"essentially_off"`, `"low"`, `"medium"`, `"high"`, or `"under_attack"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "securityLevel")] pub r#security_level: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serverSideExclude")] pub r#server_side_exclude: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sortQueryStringForCache")] pub r#sort_query_string_for_cache: Box>, /// Whether to set the SSL mode to `"off"`, `"flexible"`, `"full"`, `"strict"`, or `"origin_pull"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssl")] pub r#ssl: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "trueClientIpHeader")] pub r#true_client_ip_header: Box>, /// Whether this action is `"on"` or `"off"`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "waf")] pub r#waf: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields.rs index 7605b342..c8b4a897 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct PageRuleActionsCacheKeyFields { /// Controls what cookies go into Cache Key: - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cookie")] pub r#cookie: Box>, /// Controls what HTTP headers go into Cache Key: - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "header")] pub r#header: Box>, /// Controls which Host header goes into Cache Key: diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_cookie.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_cookie.rs index ac3e6065..d499abdf 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_cookie.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_cookie.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct PageRuleActionsCacheKeyFieldsCookie { /// Check for presence of specified cookies, without including their actual values. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkPresences")] pub r#check_presences: Box>>, /// Use values of specified cookies in Cache Key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_header.rs index 1eb63774..df9a2799 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_header.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct PageRuleActionsCacheKeyFieldsHeader { /// Check for presence of specified HTTP headers, without including their actual values. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkPresences")] pub r#check_presences: Box>>, /// Exclude these HTTP headers from Cache Key. Currently, only the `Origin` header can be excluded. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "excludes")] pub r#excludes: Box>>, /// Use values of specified HTTP headers in Cache Key. Please refer to [Support article](https://support.cloudflare.com/hc/en-us/articles/115004290387-Creating-Cache-Keys) for the list of HTTP headers that cannot be included. The `Origin` header is always included unless explicitly excluded. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_host.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_host.rs index 57fbf75c..a40079c9 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_host.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_host.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct PageRuleActionsCacheKeyFieldsHost { /// `false` (default) - includes the Host header in the HTTP request sent to the origin; `true` - includes the Host header that was resolved to get the origin IP for the request (e.g. changed with Resolve Override Page Rule). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "resolved")] pub r#resolved: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_query_string.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_query_string.rs index 8acf81d5..4bf1e9b4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_query_string.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_query_string.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct PageRuleActionsCacheKeyFieldsQueryString { /// Exclude these query string parameters from Cache Key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "excludes")] pub r#excludes: Box>>, /// `false` (default) - all query string parameters are used for Cache Key, unless explicitly excluded; `true` - all query string parameters are ignored; value should be `false` if any of `exclude` or `include` is non-empty. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ignore")] pub r#ignore: Box>, /// Only use values of specified query string parameters in Cache Key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_user.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_user.rs index f17e3f16..f2beb6f0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_user.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/page_rule_actions_cache_key_fields_user.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct PageRuleActionsCacheKeyFieldsUser { /// `true` - classifies a request as “mobile”, “desktop”, or “tablet” based on the User Agent; defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "deviceType")] pub r#device_type: Box>, /// `true` - includes the client’s country, derived from the IP address; defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geo")] pub r#geo: Box>, /// `true` - includes the first language code contained in the `Accept-Language` header sent by the client; defaults to `false`. @@ -65,7 +65,7 @@ pub struct PageRuleActionsCacheKeyFieldsUser { /// ); /// } /// ``` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lang")] pub r#lang: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_build_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_build_config.rs index b541122a..1f30559d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_build_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_build_config.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectBuildConfig { /// Enable build caching for the project. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buildCaching")] pub r#build_caching: Box>, /// Command used to build project. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buildCommand")] pub r#build_command: Box>, /// Output directory of the build. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "destinationDir")] pub r#destination_dir: Box>, /// Your project's root directory, where Cloudflare runs the build command. If your site is not in a subdirectory, leave this path value empty. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rootDir")] pub r#root_dir: Box>, /// The classifying tag for analytics. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "webAnalyticsTag")] pub r#web_analytics_tag: Box>, /// The auth token for analytics. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "webAnalyticsToken")] pub r#web_analytics_token: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs.rs index 62dd8858..652cb5e1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectDeploymentConfigs { /// Configuration for preview deploys. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preview")] pub r#preview: Box>, /// Configuration for production deploys. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "production")] pub r#production: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview.rs index fee96c5c..7b9129ca 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview.rs @@ -2,55 +2,55 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectDeploymentConfigsPreview { /// Use latest compatibility date for Pages Functions. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "alwaysUseLatestCompatibilityDate")] pub r#always_use_latest_compatibility_date: Box>, /// Compatibility date used for Pages Functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "compatibilityDate")] pub r#compatibility_date: Box>, /// Compatibility flags used for Pages Functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "compatibilityFlags")] pub r#compatibility_flags: Box>>, /// D1 Databases used for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "d1Databases")] pub r#d_1_databases: Box>>, /// Durable Object namespaces used for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "durableObjectNamespaces")] pub r#durable_object_namespaces: Box>>, /// Environment variables for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environmentVariables")] pub r#environment_variables: Box>>, /// Fail open used for Pages Functions. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "failOpen")] pub r#fail_open: Box>, /// KV namespaces used for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "kvNamespaces")] pub r#kv_namespaces: Box>>, /// Configuration for placement in the Cloudflare Pages project. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "placement")] pub r#placement: Box>, /// R2 Buckets used for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "r2Buckets")] pub r#r_2_buckets: Box>>, /// Encrypted environment variables for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "secrets")] pub r#secrets: Box>>, /// Services used for Pages Functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceBindings")] pub r#service_bindings: Box>>, /// Usage model used for Pages Functions. Available values: `unbound`, `bundled`, `standard`. Defaults to `bundled`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "usageModel")] pub r#usage_model: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview_placement.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview_placement.rs index e7d5e317..16ba8b0b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview_placement.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview_placement.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectDeploymentConfigsPreviewPlacement { /// Placement Mode for the Pages Function. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mode")] pub r#mode: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview_service_binding.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview_service_binding.rs index c6106403..2664dff5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview_service_binding.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_preview_service_binding.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectDeploymentConfigsPreviewServiceBinding { /// The name of the Worker environment to bind to. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environment")] pub r#environment: Box>, /// The global variable for the binding in your Worker code. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production.rs index dec77e17..ba849ce5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production.rs @@ -2,55 +2,55 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectDeploymentConfigsProduction { /// Use latest compatibility date for Pages Functions. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "alwaysUseLatestCompatibilityDate")] pub r#always_use_latest_compatibility_date: Box>, /// Compatibility date used for Pages Functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "compatibilityDate")] pub r#compatibility_date: Box>, /// Compatibility flags used for Pages Functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "compatibilityFlags")] pub r#compatibility_flags: Box>>, /// D1 Databases used for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "d1Databases")] pub r#d_1_databases: Box>>, /// Durable Object namespaces used for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "durableObjectNamespaces")] pub r#durable_object_namespaces: Box>>, /// Environment variables for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environmentVariables")] pub r#environment_variables: Box>>, /// Fail open used for Pages Functions. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "failOpen")] pub r#fail_open: Box>, /// KV namespaces used for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "kvNamespaces")] pub r#kv_namespaces: Box>>, /// Configuration for placement in the Cloudflare Pages project. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "placement")] pub r#placement: Box>, /// R2 Buckets used for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "r2Buckets")] pub r#r_2_buckets: Box>>, /// Encrypted environment variables for Pages Functions. Defaults to `map[]`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "secrets")] pub r#secrets: Box>>, /// Services used for Pages Functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceBindings")] pub r#service_bindings: Box>>, /// Usage model used for Pages Functions. Available values: `unbound`, `bundled`, `standard`. Defaults to `bundled`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "usageModel")] pub r#usage_model: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production_placement.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production_placement.rs index 1176d47b..bd9ce8b5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production_placement.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production_placement.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectDeploymentConfigsProductionPlacement { /// Placement Mode for the Pages Function. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mode")] pub r#mode: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production_service_binding.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production_service_binding.rs index 5b784585..936a6d01 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production_service_binding.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_deployment_configs_production_service_binding.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectDeploymentConfigsProductionServiceBinding { /// The name of the Worker environment to bind to. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environment")] pub r#environment: Box>, /// The global variable for the binding in your Worker code. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_source.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_source.rs index 2f5fe41e..0b8bf421 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_source.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_source.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectSource { /// Configuration for the source of the Cloudflare Pages project. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "config")] pub r#config: Box>, /// Project host type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "type")] pub r#type: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_source_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_source_config.rs index a5ec41e2..8158ea1f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_source_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/pages_project_source_config.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct PagesProjectSourceConfig { /// Toggle deployments on this repo. Defaults to `true`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "deploymentsEnabled")] pub r#deployments_enabled: Box>, /// Project owner username. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "owner")] pub r#owner: Box>, /// Enable Pages to comment on Pull Requests. Defaults to `true`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "prCommentsEnabled")] pub r#pr_comments_enabled: Box>, /// Branches will be excluded from automatic deployment. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "previewBranchExcludes")] pub r#preview_branch_excludes: Box>>, /// Branches will be included for automatic deployment. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "previewBranchIncludes")] pub r#preview_branch_includes: Box>>, /// Preview Deployment Setting. Available values: `custom`, `all`, `none`. Defaults to `all`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "previewDeploymentSetting")] pub r#preview_deployment_setting: Box>, /// Project production branch name. @@ -30,11 +30,11 @@ pub struct PagesProjectSourceConfig { #[serde(rename = "productionBranch")] pub r#production_branch: Box, /// Enable production deployments. Defaults to `true`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "productionDeploymentEnabled")] pub r#production_deployment_enabled: Box>, /// Project repository name. **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "repoName")] pub r#repo_name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_action.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_action.rs index 6647f13e..e2aef3e6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_action.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_action.rs @@ -6,11 +6,11 @@ pub struct RateLimitAction { #[serde(rename = "mode")] pub r#mode: Box, /// Custom content-type and body to return, this overrides the custom error for the zone. This field is not required. Omission will result in default HTML error page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "response")] pub r#response: Box>, /// The time in seconds as an integer to perform the mitigation action. This field is required if the `mode` is either `simulate` or `ban`. Must be the same or greater than the period. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "timeout")] pub r#timeout: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_correlate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_correlate.rs index 4244fa3d..4bd2045e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_correlate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_correlate.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct RateLimitCorrelate { /// If set to 'nat', NAT support will be enabled for rate limiting. Available values: `nat`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "by")] pub r#by: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match.rs index fb08dda8..b0e21d10 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RateLimitMatch { /// Matches HTTP requests (from the client to Cloudflare). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "request")] pub r#request: Box>, /// Matches HTTP responses before they are returned to the client from Cloudflare. If this is defined, then the entire counting of traffic occurs at this stage. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "response")] pub r#response: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match_request.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match_request.rs index a08b6a40..b5a1c0c7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match_request.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match_request.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct RateLimitMatchRequest { /// HTTP Methods to match traffic on. Available values: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `_ALL_`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "methods")] pub r#methods: Box>>, /// HTTP schemes to match traffic on. Available values: `HTTP`, `HTTPS`, `_ALL_`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "schemes")] pub r#schemes: Box>>, /// The URL pattern to match comprised of the host and path, i.e. example.org/path. Wildcard are expanded to match applicable traffic, query strings are not matched. Use _ for all traffic to your zone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "urlPattern")] pub r#url_pattern: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match_response.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match_response.rs index 66e58393..29c40d6f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match_response.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/rate_limit_match_response.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct RateLimitMatchResponse { /// List of HTTP headers maps to match the origin response on. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headers")] pub r#headers: Box>>>, /// Only count traffic that has come from your origin servers. If true, cached items that Cloudflare serve will not count towards rate limiting. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originTraffic")] pub r#origin_traffic: Box>, /// HTTP Status codes, can be one, many or indicate all by not providing this value. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statuses")] pub r#statuses: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/record_data.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/record_data.rs index 809f9ba5..c90aa167 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/record_data.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/record_data.rs @@ -1,121 +1,121 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct RecordData { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "algorithm")] pub r#algorithm: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "altitude")] pub r#altitude: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "content")] pub r#content: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "digest")] pub r#digest: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "digestType")] pub r#digest_type: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fingerprint")] pub r#fingerprint: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "flags")] pub r#flags: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keyTag")] pub r#key_tag: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "latDegrees")] pub r#lat_degrees: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "latDirection")] pub r#lat_direction: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "latMinutes")] pub r#lat_minutes: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "latSeconds")] pub r#lat_seconds: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "longDegrees")] pub r#long_degrees: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "longDirection")] pub r#long_direction: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "longMinutes")] pub r#long_minutes: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "longSeconds")] pub r#long_seconds: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "matchingType")] pub r#matching_type: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "order")] pub r#order: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "port")] pub r#port: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "precisionHorz")] pub r#precision_horz: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "precisionVert")] pub r#precision_vert: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preference")] pub r#preference: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "priority")] pub r#priority: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proto")] pub r#proto: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "protocol")] pub r#protocol: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "publicKey")] pub r#public_key: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "regex")] pub r#regex: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "replacement")] pub r#replacement: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "selector")] pub r#selector: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "service")] pub r#service: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "size")] pub r#size: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tag")] pub r#tag: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "target")] pub r#target: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "type")] pub r#type: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "usage")] pub r#usage: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "weight")] pub r#weight: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule.rs index 724ce445..20e5eef6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRule { /// Action to perform in the ruleset rule. Available values: `block`, `challenge`, `compress_response`, `ddos_dynamic`, `ddos_mitigation`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `serve_error`, `set_cache_settings`, `set_config`, `skip`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, /// List of parameters that configure the behavior of the ruleset rule action. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "actionParameters")] pub r#action_parameters: Box>, /// Brief summary of the ruleset rule and its intended use. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Whether the rule is active. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// List of parameters that configure exposed credential checks. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "exposedCredentialCheck")] pub r#exposed_credential_check: Box>, /// Criteria for an HTTP request to trigger the ruleset rule action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. @@ -26,27 +26,27 @@ pub struct RulesetRule { #[serde(rename = "expression")] pub r#expression: Box, /// Unique rule identifier. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// The most recent update to this rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lastUpdated")] pub r#last_updated: Box>, /// List parameters to configure how the rule generates logs. Only valid for skip action. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logging")] pub r#logging: Box>, /// List of parameters that configure HTTP rate limiting behaviour. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ratelimit")] pub r#ratelimit: Box>, /// Rule reference. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ref")] pub r#ref: Box>, /// Version of the ruleset to deploy. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters.rs index 915c1b01..c527b56d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters.rs @@ -2,218 +2,218 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParameters { /// Specifies uncommon ports to allow cacheable assets to be served from. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "additionalCacheablePorts")] pub r#additional_cacheable_ports: Box>>, /// Compression algorithms to use in order of preference. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "algorithms")] pub r#algorithms: Box>>, /// Turn on or off Cloudflare Automatic HTTPS rewrites. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "automaticHttpsRewrites")] pub r#automatic_https_rewrites: Box>, /// Indicate which file extensions to minify automatically. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "autominifies")] pub r#autominifies: Box>>, /// Inspect the visitor's browser for headers commonly associated with spammers and certain bots. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bic")] pub r#bic: Box>, /// List of browser TTL parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "browserTtl")] pub r#browser_ttl: Box>, /// Whether to cache if expression matches. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cache")] pub r#cache: Box>, /// List of cache key parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheKey")] pub r#cache_key: Box>, /// List of cache reserve parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheReserve")] pub r#cache_reserve: Box>, /// Content of the custom error response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "content")] pub r#content: Box>, /// Content-Type of the custom error response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "contentType")] pub r#content_type: Box>, /// List of cookie values to include as part of custom fields logging. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cookieFields")] pub r#cookie_fields: Box>>, /// Turn off all active Cloudflare Apps. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableApps")] pub r#disable_apps: Box>, /// Turn off railgun feature of the Cloudflare Speed app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableRailgun")] pub r#disable_railgun: Box>, /// Turn off RUM feature. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableRum")] pub r#disable_rum: Box>, /// Turn off zaraz feature. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableZaraz")] pub r#disable_zaraz: Box>, /// List of edge TTL parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "edgeTtl")] pub r#edge_ttl: Box>, /// Turn on or off the Cloudflare Email Obfuscation feature of the Cloudflare Scrape Shield app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailObfuscation")] pub r#email_obfuscation: Box>, /// Toggle fonts. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fonts")] pub r#fonts: Box>, /// Use a list to lookup information for the action. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fromList")] pub r#from_list: Box>, /// Use a value to lookup information for the action. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fromValue")] pub r#from_value: Box>, /// List of HTTP header modifications to perform in the ruleset rule. Note: Headers are order dependent and must be provided sorted alphabetically ascending based on the `name` value. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headers")] pub r#headers: Box>>, /// Host Header that request origin receives. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hostHeader")] pub r#host_header: Box>, /// Turn on or off the hotlink protection feature. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hotlinkProtection")] pub r#hotlink_protection: Box>, /// Identifier of the action parameter to modify. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "increment")] pub r#increment: Box>, /// List of properties to configure WAF payload logging. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "matchedData")] pub r#matched_data: Box>, /// Turn on or off Cloudflare Mirage of the Cloudflare Speed app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mirage")] pub r#mirage: Box>, /// Turn on or off the Cloudflare Opportunistic Encryption feature of the Edge Certificates tab in the Cloudflare SSL/TLS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "opportunisticEncryption")] pub r#opportunistic_encryption: Box>, /// List of properties to change request origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "origin")] pub r#origin: Box>, /// Enable or disable the use of a more compliant Cache Control parsing mechanism, enabled by default for most zones. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originCacheControl")] pub r#origin_cache_control: Box>, /// Pass-through error page for origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originErrorPagePassthru")] pub r#origin_error_page_passthru: Box>, /// List of override configurations to apply to the ruleset. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overrides")] pub r#overrides: Box>, /// Point in the request/response lifecycle where the ruleset will be created. Available values: `ddos_l4`, `ddos_l7`, `http_config_settings`, `http_custom_errors`, `http_log_custom_fields`, `http_ratelimit`, `http_request_cache_settings`, `http_request_dynamic_redirect`, `http_request_firewall_custom`, `http_request_firewall_managed`, `http_request_late_transform`, `http_request_origin`, `http_request_redirect`, `http_request_sanitize`, `http_request_sbfm`, `http_request_transform`, `http_response_compression`, `http_response_firewall_managed`, `http_response_headers_transform`, `magic_transit`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "phases")] pub r#phases: Box>>, /// Apply options from the Polish feature of the Cloudflare Speed app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "polish")] pub r#polish: Box>, /// Products to target with the actions. Available values: `bic`, `hot`, `ratelimit`, `securityLevel`, `uablock`, `waf`, `zonelockdown`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "products")] pub r#products: Box>>, /// Specifies a maximum timeout for reading content from an origin server. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "readTimeout")] pub r#read_timeout: Box>, /// List of request headers to include as part of custom fields logging, in lowercase. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requestFields")] pub r#request_fields: Box>>, /// Respect strong ETags. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "respectStrongEtags")] pub r#respect_strong_etags: Box>, /// List of response headers to include as part of custom fields logging, in lowercase. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "responseFields")] pub r#response_fields: Box>>, /// List of parameters that configure the response given to end users. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "responses")] pub r#responses: Box>>, /// Turn on or off Cloudflare Rocket Loader in the Cloudflare Speed app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rocketLoader")] pub r#rocket_loader: Box>, /// Map of managed WAF rule ID to comma-delimited string of ruleset rule IDs. Example: `rules = { "efb7b8c949ac4650a09736fc376e9aee" = "5de7edfa648c4d6891dc3e7f84534ffa,e3a567afc347477d9702d9047e97d760" }`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rules")] pub r#rules: Box>>, /// Which ruleset ID to target. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ruleset")] pub r#ruleset: Box>, /// List of managed WAF rule IDs to target. Only valid when the `"action"` is set to skip. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rulesets")] pub r#rulesets: Box>>, /// Control options for the Security Level feature from the Security app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "securityLevel")] pub r#security_level: Box>, /// List of serve stale parameters to apply to the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serveStale")] pub r#serve_stale: Box>, /// Turn on or off the Server Side Excludes feature of the Cloudflare Scrape Shield app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serverSideExcludes")] pub r#server_side_excludes: Box>, /// List of properties to manange Server Name Indication. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sni")] pub r#sni: Box>, /// Control options for the SSL feature of the Edge Certificates tab in the Cloudflare SSL/TLS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssl")] pub r#ssl: Box>, /// HTTP status code of the custom error response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, /// Turn on or off the SXG feature. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sxg")] pub r#sxg: Box>, /// List of URI properties to configure for the ruleset rule when performing URL rewrite transformations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "uri")] pub r#uri: Box>, /// Version of the ruleset to deploy. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_autominify.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_autominify.rs index ac1a5b74..7549780e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_autominify.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_autominify.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersAutominify { /// CSS minification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "css")] pub r#css: Box>, /// HTML minification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "html")] pub r#html: Box>, /// JS minification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "js")] pub r#js: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_browser_ttl.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_browser_ttl.rs index 3000729e..09652277 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_browser_ttl.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_browser_ttl.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersBrowserTtl { /// Default browser TTL. This value is required when override_origin is set - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "default")] pub r#default: Box>, /// Mode of the browser TTL. Available values: `override_origin`, `respect_origin`, `bypass` diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key.rs index a1d53978..e6f9be11 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersCacheKey { /// Cache by device type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheByDeviceType")] pub r#cache_by_device_type: Box>, /// Cache deception armor. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheDeceptionArmor")] pub r#cache_deception_armor: Box>, /// Custom key parameters for the request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customKey")] pub r#custom_key: Box>, /// Ignore query strings order. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ignoreQueryStringsOrder")] pub r#ignore_query_strings_order: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key.rs index cb88a447..b2fbf1d6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersCacheKeyCustomKey { /// Cookie parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cookie")] pub r#cookie: Box>, /// Header parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "header")] pub r#header: Box>, /// Host parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "host")] pub r#host: Box>, /// Query string parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "queryString")] pub r#query_string: Box>, /// User parameters for the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "user")] pub r#user: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_cookie.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_cookie.rs index 886d75e1..a5893362 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_cookie.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_cookie.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersCacheKeyCustomKeyCookie { /// List of cookies to check for presence in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkPresences")] pub r#check_presences: Box>>, /// List of cookies to include in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_header.rs index a491ca71..5866465f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_header.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersCacheKeyCustomKeyHeader { /// List of headers to check for presence in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkPresences")] pub r#check_presences: Box>>, /// Dictionary of headers mapping to lists of values to check for presence in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "contains")] pub r#contains: Box>>>, /// Exclude the origin header from the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "excludeOrigin")] pub r#exclude_origin: Box>, /// List of headers to include in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_host.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_host.rs index d5832512..7e4bda52 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_host.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_host.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersCacheKeyCustomKeyHost { /// Resolve hostname to IP address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "resolved")] pub r#resolved: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_query_string.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_query_string.rs index 4b4b7797..d218ffc2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_query_string.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_query_string.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersCacheKeyCustomKeyQueryString { /// List of query string parameters to exclude from the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "excludes")] pub r#excludes: Box>>, /// List of query string parameters to include in the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includes")] pub r#includes: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_user.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_user.rs index 36348542..36d85bb6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_user.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_key_custom_key_user.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersCacheKeyCustomKeyUser { /// Add device type to the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "deviceType")] pub r#device_type: Box>, /// Add geo data to the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geo")] pub r#geo: Box>, /// Add language data to the custom key. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lang")] pub r#lang: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_reserve.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_reserve.rs index bb9cdf99..f88d774a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_reserve.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_cache_reserve.rs @@ -6,7 +6,7 @@ pub struct RulesetRuleActionParametersCacheReserve { #[serde(rename = "eligible")] pub r#eligible: Box, /// The minimum file size, in bytes, eligible for storage in cache reserve. If omitted and "eligible" is true, Cloudflare will use 0 bytes by default. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "minimumFileSize")] pub r#minimum_file_size: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl.rs index a2dee7a6..5381afdf 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersEdgeTtl { /// Default edge TTL. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "default")] pub r#default: Box>, /// Mode of the edge TTL. Available values: `override_origin`, `respect_origin`, `bypass_by_default` @@ -10,7 +10,7 @@ pub struct RulesetRuleActionParametersEdgeTtl { #[serde(rename = "mode")] pub r#mode: Box, /// Edge TTL for the status codes. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCodeTtls")] pub r#status_code_ttls: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl_status_code_ttl.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl_status_code_ttl.rs index 40bb9262..df2afccd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl_status_code_ttl.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl_status_code_ttl.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersEdgeTtlStatusCodeTtl { /// Status code for which the edge TTL is applied. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, /// Status code range for which the edge TTL is applied. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCodeRanges")] pub r#status_code_ranges: Box>>, /// Status code edge TTL value. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl_status_code_ttl_status_code_range.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl_status_code_ttl_status_code_range.rs index 0a1e1c80..bc5e98a7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl_status_code_ttl_status_code_range.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_edge_ttl_status_code_ttl_status_code_range.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange { /// From status code. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "from")] pub r#from: Box>, /// To status code. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "to")] pub r#to: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_list.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_list.rs index 1f829999..fcbef341 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_list.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_list.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersFromList { /// Expression to use for the list lookup. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "key")] pub r#key: Box>, /// Name of the list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_value.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_value.rs index ac8be407..d05b3e21 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_value.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_value.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersFromValue { /// Preserve query string for redirect URL. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preserveQueryString")] pub r#preserve_query_string: Box>, /// Status code for redirect. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, /// Target URL for redirect. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "targetUrl")] pub r#target_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_value_target_url.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_value_target_url.rs index 6f0d111e..fc96c552 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_value_target_url.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_from_value_target_url.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersFromValueTargetUrl { /// Use a value dynamically determined by the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expression")] pub r#expression: Box>, /// Static value to provide as the HTTP request header value. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_header.rs index 3e02e850..55125cdb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_header.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersHeader { /// Use a value dynamically determined by the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expression")] pub r#expression: Box>, /// Name of the HTTP request header to target. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Action to perform on the HTTP request header. Available values: `remove`, `set`, `add`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "operation")] pub r#operation: Box>, /// Static value to provide as the HTTP request header value. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_matched_data.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_matched_data.rs index ab4b4759..486d92d3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_matched_data.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_matched_data.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersMatchedData { /// Public key to use within WAF Ruleset payload logging to view the HTTP request parameters. You can generate a public key [using the `matched-data-cli` command-line tool](https://developers.cloudflare.com/waf/managed-rulesets/payload-logging/command-line/generate-key-pair) or [in the Cloudflare dashboard](https://developers.cloudflare.com/waf/managed-rulesets/payload-logging/configure). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "publicKey")] pub r#public_key: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_origin.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_origin.rs index 8c83a54b..73556ba2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_origin.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_origin.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersOrigin { /// Origin Hostname where request is sent. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "host")] pub r#host: Box>, /// Origin Port where request is sent. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "port")] pub r#port: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides.rs index 784f1be6..23c355b8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersOverrides { /// Action to perform in the rule-level override. Available values: `block`, `challenge`, `compress_response`, `ddos_dynamic`, `ddos_mitigation`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `serve_error`, `set_cache_settings`, `set_config`, `skip`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, /// List of tag-based overrides. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "categories")] pub r#categories: Box>>, /// Defines if the current ruleset-level override enables or disables the ruleset. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// List of rule-based overrides. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rules")] pub r#rules: Box>>, /// Sensitivity level to override for all ruleset rules. Available values: `default`, `medium`, `low`, `eoff`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensitivityLevel")] pub r#sensitivity_level: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides_category.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides_category.rs index c5a65c8b..c296de82 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides_category.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides_category.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersOverridesCategory { /// Action to perform in the tag-level override. Available values: `block`, `challenge`, `compress_response`, `ddos_dynamic`, `ddos_mitigation`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `serve_error`, `set_cache_settings`, `set_config`, `skip`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, /// Tag name to apply the ruleset rule override to. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "category")] pub r#category: Box>, /// Defines if the current tag-level override enables or disables the ruleset rules with the specified tag. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides_rule.rs index 508dffdf..c19ff8e0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_overrides_rule.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersOverridesRule { /// Action to perform in the rule-level override. Available values: `block`, `challenge`, `compress_response`, `ddos_dynamic`, `ddos_mitigation`, `execute`, `force_connection_close`, `js_challenge`, `log`, `log_custom_field`, `managed_challenge`, `redirect`, `rewrite`, `route`, `score`, `serve_error`, `set_cache_settings`, `set_config`, `skip`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, /// Defines if the current rule-level override enables or disables the rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Rule ID to apply the override to. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Anomaly score threshold to apply in the ruleset rule override. Only applicable to modsecurity-based rulesets. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scoreThreshold")] pub r#score_threshold: Box>, /// Sensitivity level for a ruleset rule override. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensitivityLevel")] pub r#sensitivity_level: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_response.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_response.rs index a4b81808..6207e69d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_response.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_response.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersResponse { /// Body content to include in the response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "content")] pub r#content: Box>, /// HTTP content type to send in the response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "contentType")] pub r#content_type: Box>, /// HTTP status code to send in the response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "statusCode")] pub r#status_code: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_serve_stale.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_serve_stale.rs index 84a51d05..7fbe8449 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_serve_stale.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_serve_stale.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersServeStale { /// Disable stale while updating. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableStaleWhileUpdating")] pub r#disable_stale_while_updating: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_sni.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_sni.rs index d54f22c1..bb07c0a3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_sni.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_sni.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersSni { /// Value to define for SNI. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri.rs index 9638f119..b09ad22d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri.rs @@ -1,15 +1,15 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersUri { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "origin")] pub r#origin: Box>, /// URI path configuration when performing a URL rewrite. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "path")] pub r#path: Box>, /// Query string configuration when performing a URL rewrite. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "query")] pub r#query: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri_path.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri_path.rs index e6958367..ecc0d608 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri_path.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri_path.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersUriPath { /// Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expression")] pub r#expression: Box>, /// Static string value of the updated URI path or query string component. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri_query.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri_query.rs index 560cc466..e0518ce9 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri_query.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_action_parameters_uri_query.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleActionParametersUriQuery { /// Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "expression")] pub r#expression: Box>, /// Static string value of the updated URI path or query string component. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_exposed_credential_check.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_exposed_credential_check.rs index e844d3be..f901c6cd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_exposed_credential_check.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_exposed_credential_check.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleExposedCredentialCheck { /// Firewall Rules expression language based on Wireshark display filters for where to check for the "password" value. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "passwordExpression")] pub r#password_expression: Box>, /// Firewall Rules expression language based on Wireshark display filters for where to check for the "username" value. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "usernameExpression")] pub r#username_expression: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_logging.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_logging.rs index 99ef6fb6..cf6032c6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_logging.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_logging.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleLogging { /// Override the default logging behavior when a rule is matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_ratelimit.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_ratelimit.rs index 2af0b442..e437f074 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_ratelimit.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/ruleset_rule_ratelimit.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct RulesetRuleRatelimit { /// List of parameters that define how Cloudflare tracks the request rate for this rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "characteristics")] pub r#characteristics: Box>>, /// Criteria for counting HTTP requests to trigger the Rate Limiting action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "countingExpression")] pub r#counting_expression: Box>, /// Once the request rate is reached, the Rate Limiting rule blocks further requests for the period of time defined in this field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mitigationTimeout")] pub r#mitigation_timeout: Box>, /// The period of time to consider (in seconds) when evaluating the request rate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "period")] pub r#period: Box>, /// The number of requests over the period of time that will trigger the Rate Limiting rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requestsPerPeriod")] pub r#requests_per_period: Box>, /// Whether to include requests to origin within the Rate Limiting count. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requestsToOrigin")] pub r#requests_to_origin: Box>, /// The maximum aggregate score over the period of time that will trigger Rate Limiting rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scorePerPeriod")] pub r#score_per_period: Box>, /// Name of HTTP header in the response, set by the origin server, with the score for the current request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scoreResponseHeaderName")] pub r#score_response_header_name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/spectrum_application_edge_ips.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/spectrum_application_edge_ips.rs index 537bf6a7..a82ef859 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/spectrum_application_edge_ips.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/spectrum_application_edge_ips.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct SpectrumApplicationEdgeIps { /// The IP versions supported for inbound connections on Spectrum anycast IPs. Required when `type` is not `static`. Available values: `all`, `ipv4`, `ipv6`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "connectivity")] pub r#connectivity: Box>, /// The collection of customer owned IPs to broadcast via anycast for this hostname and application. Requires [Bring Your Own IP](https://developers.cloudflare.com/spectrum/getting-started/byoip/) provisioned. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The type of edge IP configuration specified. Available values: `dynamic`, `static`. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/split_tunnel_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/split_tunnel_tunnel.rs index db2e541f..5566af82 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/split_tunnel_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/split_tunnel_tunnel.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct SplitTunnelTunnel { /// The address for the tunnel. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "address")] pub r#address: Box>, /// A description for the tunnel. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// The domain name for the tunnel. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "host")] pub r#host: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_antivirus.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_antivirus.rs index 8c33b1f2..4669b82a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_antivirus.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_antivirus.rs @@ -14,7 +14,7 @@ pub struct TeamsAccountAntivirus { #[serde(rename = "failClosed")] pub r#fail_closed: Box, /// Set notifications for antivirus. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "notificationSettings")] pub r#notification_settings: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_antivirus_notification_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_antivirus_notification_settings.rs index d9733eab..3b21272d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_antivirus_notification_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_antivirus_notification_settings.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct TeamsAccountAntivirusNotificationSettings { /// Enable notification settings. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Notification content. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "message")] pub r#message: Box>, /// Support URL to show in the notification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "supportUrl")] pub r#support_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_block_page.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_block_page.rs index e5903a15..d6cd70b4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_block_page.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_block_page.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct TeamsAccountBlockPage { /// Hex code of block page background color. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "backgroundColor")] pub r#background_color: Box>, /// Indicator of enablement. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Block page footer text. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "footerText")] pub r#footer_text: Box>, /// Block page header text. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headerText")] pub r#header_text: Box>, /// URL of block page logo. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logoPath")] pub r#logo_path: Box>, /// Admin email for users to contact. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mailtoAddress")] pub r#mailto_address: Box>, /// Subject line for emails created from block page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mailtoSubject")] pub r#mailto_subject: Box>, /// Name of block page configuration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_custom_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_custom_certificate.rs index 75557d43..c2f962e2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_custom_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_custom_certificate.rs @@ -6,10 +6,10 @@ pub struct TeamsAccountCustomCertificate { #[serde(rename = "enabled")] pub r#enabled: Box, /// ID of custom certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "updatedAt")] pub r#updated_at: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_fips.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_fips.rs index c5fe0e69..f5d08c40 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_fips.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_account_fips.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct TeamsAccountFips { /// Only allow FIPS-compliant TLS configuration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tls")] pub r#tls: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_location_network.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_location_network.rs index ac097426..4fa3d541 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_location_network.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_location_network.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct TeamsLocationNetwork { /// The ID of this resource. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// CIDR notation representation of the network IP. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings.rs index a79441a6..a216b824 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings.rs @@ -2,83 +2,83 @@ #[builder(finish_fn = build_struct)] pub struct TeamsRuleRuleSettings { /// Add custom headers to allowed requests in the form of key-value pairs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "addHeaders")] pub r#add_headers: Box>>, /// Allow parent MSP accounts to enable bypass their children's rules. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowChildBypass")] pub r#allow_child_bypass: Box>, /// Settings for auditing SSH usage. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "auditSsh")] pub r#audit_ssh: Box>, /// Configure how browser isolation behaves. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bisoAdminControls")] pub r#biso_admin_controls: Box>, /// Indicator of block page enablement. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "blockPageEnabled")] pub r#block_page_enabled: Box>, /// The displayed reason for a user being blocked. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "blockPageReason")] pub r#block_page_reason: Box>, /// Allow child MSP accounts to bypass their parent's rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bypassParentRule")] pub r#bypass_parent_rule: Box>, /// Configure how session check behaves. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkSession")] pub r#check_session: Box>, /// Add your own custom resolvers to route queries that match the resolver policy. Cannot be used when resolve*dns*through*cloudflare is set. DNS queries will route to the address closest to their origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dnsResolvers")] pub r#dns_resolvers: Box>, /// Configure how Proxy traffic egresses. Can be set for rules with Egress action and Egress filter. Can be omitted to indicate local egress via Warp IPs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "egress")] pub r#egress: Box>, /// Set to true, to ignore the category matches at CNAME domains in a response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ignoreCnameCategoryMatches")] pub r#ignore_cname_category_matches: Box>, /// Disable DNSSEC validation (must be Allow rule). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "insecureDisableDnssecValidation")] pub r#insecure_disable_dnssec_validation: Box>, /// Turns on IP category based filter on dns if the rule contains dns category checks. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipCategories")] pub r#ip_categories: Box>, /// Settings to forward layer 4 traffic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "l4override")] pub r#l_4_override: Box>, /// Notification settings on a block rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "notificationSettings")] pub r#notification_settings: Box>, /// The host to override matching DNS queries with. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overrideHost")] pub r#override_host: Box>, /// The IPs to override matching DNS queries with. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overrideIps")] pub r#override_ips: Box>>, /// Configure DLP Payload Logging settings for this rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "payloadLog")] pub r#payload_log: Box>, /// Enable sending queries that match the resolver policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot be set when `dns_resolvers` are specified. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "resolveDnsThroughCloudflare")] pub r#resolve_dns_through_cloudflare: Box>, /// Configure untrusted certificate settings for this rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "untrustedCert")] pub r#untrusted_cert: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_biso_admin_controls.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_biso_admin_controls.rs index 9999560e..7e785d4a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_biso_admin_controls.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_biso_admin_controls.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct TeamsRuleRuleSettingsBisoAdminControls { /// Disable clipboard redirection. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableClipboardRedirection")] pub r#disable_clipboard_redirection: Box>, /// Disable copy-paste. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableCopyPaste")] pub r#disable_copy_paste: Box>, /// Disable download. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableDownload")] pub r#disable_download: Box>, /// Disable keyboard usage. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableKeyboard")] pub r#disable_keyboard: Box>, /// Disable printing. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disablePrinting")] pub r#disable_printing: Box>, /// Disable upload. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableUpload")] pub r#disable_upload: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers.rs index a01e0b71..26c3477a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct TeamsRuleRuleSettingsDnsResolvers { /// IPv4 resolvers. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4s")] pub r#ipv_4_s: Box>>, /// IPv6 resolvers. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6s")] pub r#ipv_6_s: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers_ipv_4.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers_ipv_4.rs index ddc2572f..8062df57 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers_ipv_4.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers_ipv_4.rs @@ -6,15 +6,15 @@ pub struct TeamsRuleRuleSettingsDnsResolversIpv4 { #[serde(rename = "ip")] pub r#ip: Box, /// A port number to use for the upstream resolver. Defaults to `53`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "port")] pub r#port: Box>, /// Whether to connect to this resolver over a private network. Must be set when `vnet_id` is set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "routeThroughPrivateNetwork")] pub r#route_through_private_network: Box>, /// specify a virtual network for this resolver. Uses default virtual network id if omitted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "vnetId")] pub r#vnet_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers_ipv_6.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers_ipv_6.rs index 8fdb9ca0..1c6c3143 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers_ipv_6.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_dns_resolvers_ipv_6.rs @@ -6,15 +6,15 @@ pub struct TeamsRuleRuleSettingsDnsResolversIpv6 { #[serde(rename = "ip")] pub r#ip: Box, /// A port number to use for the upstream resolver. Defaults to `53`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "port")] pub r#port: Box>, /// Whether to connect to this resolver over a private network. Must be set when `vnet_id` is set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "routeThroughPrivateNetwork")] pub r#route_through_private_network: Box>, /// specify a virtual network for this resolver. Uses default virtual network id if omitted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "vnetId")] pub r#vnet_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_egress.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_egress.rs index 6e0fae71..b6826da0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_egress.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_egress.rs @@ -6,7 +6,7 @@ pub struct TeamsRuleRuleSettingsEgress { #[serde(rename = "ipv4")] pub r#ipv_4: Box, /// The IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egreass via Warp IPs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4Fallback")] pub r#ipv_4_fallback: Box>, /// The IPv6 range to be used for egress. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_notification_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_notification_settings.rs index 66ce874c..e6174f2a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_notification_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_notification_settings.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct TeamsRuleRuleSettingsNotificationSettings { /// Enable notification settings. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Notification content. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "message")] pub r#message: Box>, /// Support URL to show in the notification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "supportUrl")] pub r#support_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_untrusted_cert.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_untrusted_cert.rs index f918a89e..c1f514f2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_untrusted_cert.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/teams_rule_rule_settings_untrusted_cert.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct TeamsRuleRuleSettingsUntrustedCert { /// Action to be taken when the SSL certificate of upstream is invalid. Available values: `pass_through`, `block`, `error`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config.rs index f3ad5a54..d4aebae1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config.rs @@ -5,11 +5,11 @@ pub struct TunnelConfigConfig { #[builder(into)] #[serde(rename = "ingressRules")] pub r#ingress_rules: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originRequest")] pub r#origin_request: Box>, /// If you're exposing a [private network](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/private-net/), you need to add the `warp-routing` key and set it to `true`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "warpRouting")] pub r#warp_routing: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule.rs index 90f97311..b86f65bd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule.rs @@ -2,14 +2,14 @@ #[builder(finish_fn = build_struct)] pub struct TunnelConfigConfigIngressRule { /// Hostname to match the incoming request with. If the hostname matches, the request will be sent to the service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hostname")] pub r#hostname: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originRequest")] pub r#origin_request: Box>, /// Path of the incoming request. If the path matches, the request will be sent to the local service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "path")] pub r#path: Box>, /// Name of the service to which the request will be sent. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request.rs index 7a3a646b..0d244db8 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request.rs @@ -2,75 +2,75 @@ #[builder(finish_fn = build_struct)] pub struct TunnelConfigConfigIngressRuleOriginRequest { /// Access rules for the ingress service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "access")] pub r#access: Box>, /// Runs as jump host. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bastionMode")] pub r#bastion_mode: Box>, /// Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "caPool")] pub r#ca_pool: Box>, /// Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by `tlsTimeout`. Defaults to `30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "connectTimeout")] pub r#connect_timeout: Box>, /// Disables chunked transfer encoding. Useful if you are running a Web Server Gateway Interface (WSGI) server. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableChunkedEncoding")] pub r#disable_chunked_encoding: Box>, /// Enables HTTP/2 support for the origin connection. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http2Origin")] pub r#http_2_origin: Box>, /// Sets the HTTP Host header on requests sent to the local service. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "httpHostHeader")] pub r#http_host_header: Box>, /// IP rules for the proxy service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipRules")] pub r#ip_rules: Box>>, /// Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections. Defaults to `100`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keepAliveConnections")] pub r#keep_alive_connections: Box>, /// Timeout after which an idle keepalive connection can be discarded. Defaults to `1m30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keepAliveTimeout")] pub r#keep_alive_timeout: Box>, /// Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noHappyEyeballs")] pub r#no_happy_eyeballs: Box>, /// Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noTlsVerify")] pub r#no_tls_verify: Box>, /// Hostname that cloudflared should expect from your origin server certificate. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originServerName")] pub r#origin_server_name: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen address for that proxy. Defaults to `127.0.0.1`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyAddress")] pub r#proxy_address: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen port for that proxy. If set to zero, an unused port will randomly be chosen. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyPort")] pub r#proxy_port: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Available values: `""`, `socks`. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyType")] pub r#proxy_type: Box>, /// The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server. Defaults to `30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tcpKeepAlive")] pub r#tcp_keep_alive: Box>, /// Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server. Defaults to `10s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tlsTimeout")] pub r#tls_timeout: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request_access.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request_access.rs index e3b63041..0c878088 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request_access.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request_access.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct TunnelConfigConfigIngressRuleOriginRequestAccess { /// Audience tags of the access rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "audTags")] pub r#aud_tags: Box>>, /// Whether the access rule is required. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, /// Name of the team to which the access rule applies. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teamName")] pub r#team_name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request_ip_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request_ip_rule.rs index a8a812b8..99a72e24 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request_ip_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_ingress_rule_origin_request_ip_rule.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct TunnelConfigConfigIngressRuleOriginRequestIpRule { /// Whether to allow the IP prefix. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allow")] pub r#allow: Box>, /// Ports to use within the IP rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ports")] pub r#ports: Box>>, /// IP rule prefix. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "prefix")] pub r#prefix: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request.rs index c934ac39..a791540f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request.rs @@ -2,75 +2,75 @@ #[builder(finish_fn = build_struct)] pub struct TunnelConfigConfigOriginRequest { /// Access rules for the ingress service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "access")] pub r#access: Box>, /// Runs as jump host. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bastionMode")] pub r#bastion_mode: Box>, /// Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "caPool")] pub r#ca_pool: Box>, /// Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by `tlsTimeout`. Defaults to `30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "connectTimeout")] pub r#connect_timeout: Box>, /// Disables chunked transfer encoding. Useful if you are running a Web Server Gateway Interface (WSGI) server. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableChunkedEncoding")] pub r#disable_chunked_encoding: Box>, /// Enables HTTP/2 support for the origin connection. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http2Origin")] pub r#http_2_origin: Box>, /// Sets the HTTP Host header on requests sent to the local service. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "httpHostHeader")] pub r#http_host_header: Box>, /// IP rules for the proxy service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipRules")] pub r#ip_rules: Box>>, /// Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections. Defaults to `100`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keepAliveConnections")] pub r#keep_alive_connections: Box>, /// Timeout after which an idle keepalive connection can be discarded. Defaults to `1m30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keepAliveTimeout")] pub r#keep_alive_timeout: Box>, /// Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noHappyEyeballs")] pub r#no_happy_eyeballs: Box>, /// Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noTlsVerify")] pub r#no_tls_verify: Box>, /// Hostname that cloudflared should expect from your origin server certificate. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originServerName")] pub r#origin_server_name: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen address for that proxy. Defaults to `127.0.0.1`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyAddress")] pub r#proxy_address: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen port for that proxy. If set to zero, an unused port will randomly be chosen. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyPort")] pub r#proxy_port: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Available values: `""`, `socks`. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyType")] pub r#proxy_type: Box>, /// The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server. Defaults to `30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tcpKeepAlive")] pub r#tcp_keep_alive: Box>, /// Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server. Defaults to `10s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tlsTimeout")] pub r#tls_timeout: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request_access.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request_access.rs index 59a6315b..ddc7c929 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request_access.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request_access.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct TunnelConfigConfigOriginRequestAccess { /// Audience tags of the access rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "audTags")] pub r#aud_tags: Box>>, /// Whether the access rule is required. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, /// Name of the team to which the access rule applies. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teamName")] pub r#team_name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request_ip_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request_ip_rule.rs index 47f6452f..b6b5e8db 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request_ip_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_origin_request_ip_rule.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct TunnelConfigConfigOriginRequestIpRule { /// Whether to allow the IP prefix. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allow")] pub r#allow: Box>, /// Ports to use within the IP rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ports")] pub r#ports: Box>>, /// IP rule prefix. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "prefix")] pub r#prefix: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_warp_routing.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_warp_routing.rs index d34541a9..102b4e0b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_warp_routing.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/tunnel_config_config_warp_routing.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct TunnelConfigConfigWarpRouting { /// Whether WARP routing is enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/waiting_room_additional_route.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/waiting_room_additional_route.rs index 7bedf664..fa8f6e9d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/waiting_room_additional_route.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/waiting_room_additional_route.rs @@ -6,7 +6,7 @@ pub struct WaitingRoomAdditionalRoute { #[serde(rename = "host")] pub r#host: Box, /// The path within the additional host to enable the waiting room on. Defaults to `/`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "path")] pub r#path: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/waiting_room_rules_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/waiting_room_rules_rule.rs index fbe30eb4..f5841e3c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/waiting_room_rules_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/waiting_room_rules_rule.rs @@ -6,7 +6,7 @@ pub struct WaitingRoomRulesRule { #[serde(rename = "action")] pub r#action: Box, /// Brief summary of the waiting room rule and its intended use. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Criteria for an HTTP request to trigger the waiting room rule action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Waiting Room Rules Docs](https://developers.cloudflare.com/waiting-room/additional-options/waiting-room-rules/bypass-rules/). @@ -14,15 +14,15 @@ pub struct WaitingRoomRulesRule { #[serde(rename = "expression")] pub r#expression: Box, /// Unique rule identifier. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Whether the rule is enabled or disabled. Available values: `enabled`, `disabled`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "status")] pub r#status: Box>, /// Version of the waiting room rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/worker_script_service_binding.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/worker_script_service_binding.rs index 59740b51..1233921e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/worker_script_service_binding.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/worker_script_service_binding.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct WorkerScriptServiceBinding { /// The name of the Worker environment to bind to. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environment")] pub r#environment: Box>, /// The global variable for the binding in your Worker code. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/workers_script_service_binding.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/workers_script_service_binding.rs index 24293aea..2eca02c7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/workers_script_service_binding.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/workers_script_service_binding.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct WorkersScriptServiceBinding { /// The name of the Worker environment to bind to. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environment")] pub r#environment: Box>, /// The global variable for the binding in your Worker code. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_cors_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_cors_header.rs index 62a846ae..3cb79338 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_cors_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_cors_header.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationCorsHeader { /// Value to determine whether all HTTP headers are exposed. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowAllHeaders")] pub r#allow_all_headers: Box>, /// Value to determine whether all methods are exposed. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowAllMethods")] pub r#allow_all_methods: Box>, /// Value to determine whether all origins are permitted to make CORS requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowAllOrigins")] pub r#allow_all_origins: Box>, /// Value to determine if credentials (cookies, authorization headers, or TLS client certificates) are included with requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowCredentials")] pub r#allow_credentials: Box>, /// List of HTTP headers to expose via CORS. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowedHeaders")] pub r#allowed_headers: Box>>, /// List of methods to expose via CORS. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowedMethods")] pub r#allowed_methods: Box>>, /// List of origins permitted to make CORS requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowedOrigins")] pub r#allowed_origins: Box>>, /// The maximum time a preflight request will be cached. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxAge")] pub r#max_age: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_footer_link.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_footer_link.rs index db945109..d80ed5fb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_footer_link.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_footer_link.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationFooterLink { /// The name of the footer link. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The URL of the footer link. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "url")] pub r#url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_landing_page_design.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_landing_page_design.rs index 85946f55..87842372 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_landing_page_design.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_landing_page_design.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationLandingPageDesign { /// The button color of the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buttonColor")] pub r#button_color: Box>, /// The button text color of the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buttonTextColor")] pub r#button_text_color: Box>, /// The URL of the image to be displayed in the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "imageUrl")] pub r#image_url: Box>, /// The message of the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "message")] pub r#message: Box>, /// The title of the landing page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "title")] pub r#title: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app.rs index cae94698..4c0614da 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app.rs @@ -2,95 +2,95 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationSaasApp { /// The lifetime of the Access Token after creation. Valid units are `m` and `h`. Must be greater than or equal to 1m and less than or equal to 24h. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accessTokenLifetime")] pub r#access_token_lifetime: Box>, /// Allow PKCE flow without a client secret. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowPkceWithoutClientSecret")] pub r#allow_pkce_without_client_secret: Box>, /// The URL where this applications tile redirects users. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "appLauncherUrl")] pub r#app_launcher_url: Box>, /// **Modifying this attribute will force creation of a new resource.** - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authType")] pub r#auth_type: Box>, /// The application client id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientId")] pub r#client_id: Box>, /// The application client secret, only returned on initial apply. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientSecret")] pub r#client_secret: Box>, /// The service provider's endpoint that is responsible for receiving and parsing a SAML assertion. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "consumerServiceUrl")] pub r#consumer_service_url: Box>, /// Custom attribute mapped from IDPs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customAttributes")] pub r#custom_attributes: Box>>, /// Custom claim mapped from IDPs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customClaims")] pub r#custom_claims: Box>>, /// The relay state used if not provided by the identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultRelayState")] pub r#default_relay_state: Box>, /// The OIDC flows supported by this application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "grantTypes")] pub r#grant_types: Box>>, /// A regex to filter Cloudflare groups returned in ID token and userinfo endpoint. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groupFilterRegex")] pub r#group_filter_regex: Box>, /// Hybrid and Implicit Flow options. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hybridAndImplicitOptions")] pub r#hybrid_and_implicit_options: Box>, /// The unique identifier for the SaaS application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "idpEntityId")] pub r#idp_entity_id: Box>, /// The format of the name identifier sent to the SaaS application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameIdFormat")] pub r#name_id_format: Box>, /// A [JSONata](https://jsonata.org/) expression that transforms an application's user identities into a NameID value for its SAML assertion. This expression should evaluate to a singular string. The output of this expression can override the `name_id_format` setting. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameIdTransformJsonata")] pub r#name_id_transform_jsonata: Box>, /// The public certificate that will be used to verify identities. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "publicKey")] pub r#public_key: Box>, /// The permitted URL's for Cloudflare to return Authorization codes and Access/ID tokens. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "redirectUris")] pub r#redirect_uris: Box>>, /// Refresh token grant options. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "refreshTokenOptions")] pub r#refresh_token_options: Box>>, /// A [JSONata](https://jsonata.org/) expression that transforms an application's user identities into attribute assertions in the SAML response. The expression can transform id, email, name, and groups values. It can also transform fields listed in the saml*attributes or oidc*fields of the identity provider used to authenticate. The output of this expression must be a JSON object. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samlAttributeTransformJsonata")] pub r#saml_attribute_transform_jsonata: Box>, /// Define the user information shared with access. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scopes")] pub r#scopes: Box>>, /// A globally unique name for an identity or service provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "spEntityId")] pub r#sp_entity_id: Box>, /// The endpoint where the SaaS application will send login requests. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssoEndpoint")] pub r#sso_endpoint: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_attribute.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_attribute.rs index 54ccb286..9353c6a3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_attribute.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_attribute.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationSaasAppCustomAttribute { /// A friendly name for the attribute as provided to the SaaS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "friendlyName")] pub r#friendly_name: Box>, /// The name of the attribute as provided to the SaaS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// A globally unique name for an identity or service provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameFormat")] pub r#name_format: Box>, /// True if the attribute must be always present. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_attribute_source.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_attribute_source.rs index cbcd7739..8b33d7be 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_attribute_source.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_attribute_source.rs @@ -6,7 +6,7 @@ pub struct ZeroTrustAccessApplicationSaasAppCustomAttributeSource { #[serde(rename = "name")] pub r#name: Box, /// A mapping from IdP ID to claim name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameByIdp")] pub r#name_by_idp: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_claim.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_claim.rs index 548a7f9d..b78805a3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_claim.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_claim.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationSaasAppCustomClaim { /// The name of the attribute as provided to the SaaS app. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// True if the attribute must be always present. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, /// The scope of the claim. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scope")] pub r#scope: Box>, #[builder(into)] diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_claim_source.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_claim_source.rs index b06bfec3..351b4cf0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_claim_source.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_custom_claim_source.rs @@ -6,7 +6,7 @@ pub struct ZeroTrustAccessApplicationSaasAppCustomClaimSource { #[serde(rename = "name")] pub r#name: Box, /// A mapping from IdP ID to claim name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nameByIdp")] pub r#name_by_idp: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_hybrid_and_implicit_options.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_hybrid_and_implicit_options.rs index 75812771..961f5934 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_hybrid_and_implicit_options.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_hybrid_and_implicit_options.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationSaasAppHybridAndImplicitOptions { /// If true, the authorization endpoint will return an access token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "returnAccessTokenFromAuthorizationEndpoint")] pub r#return_access_token_from_authorization_endpoint: Box>, /// If true, the authorization endpoint will return an id token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "returnIdTokenFromAuthorizationEndpoint")] pub r#return_id_token_from_authorization_endpoint: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_refresh_token_option.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_refresh_token_option.rs index c4d9c288..ab3d2085 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_refresh_token_option.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_saas_app_refresh_token_option.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationSaasAppRefreshTokenOption { /// How long a refresh token will be valid for after creation. Valid units are `m`, `h` and `d`. Must be longer than 1m. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lifetime")] pub r#lifetime: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config.rs index ff5c6842..79fec0d2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationScimConfig { /// Attributes for configuring HTTP Basic, OAuth Bearer token, or OAuth 2 authentication schemes for SCIM provisioning to an application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authentication")] pub r#authentication: Box>, /// If false, propagates DELETE requests to the target application for SCIM resources. If true, sets 'active' to false on the SCIM resource. Note: Some targets do not support DELETE operations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "deactivateOnDelete")] pub r#deactivate_on_delete: Box>, /// Whether SCIM provisioning is turned on for this application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// The UID of the IdP to use as the source for SCIM resources to provision to this application. @@ -18,7 +18,7 @@ pub struct ZeroTrustAccessApplicationScimConfig { #[serde(rename = "idpUid")] pub r#idp_uid: Box, /// A list of mappings to apply to SCIM resources before provisioning them in this application. These can transform or filter the resources to be provisioned. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mappings")] pub r#mappings: Box>>, /// The base URI for the application's SCIM-compatible API. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_authentication.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_authentication.rs index cecb27b6..89773f90 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_authentication.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_authentication.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationScimConfigAuthentication { /// URL used to generate the auth code used during token generation. Required when using `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.token_url`. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authorizationUrl")] pub r#authorization_url: Box>, /// Client ID used to authenticate when generating a token for authenticating with the remote SCIM service. Required when using `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientId")] pub r#client_id: Box>, /// Secret used to authenticate when generating a token for authenticating with the remove SCIM service. Required when using `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientSecret")] pub r#client_secret: Box>, /// Required when using `scim_config.0.authentication.0.user`. Conflicts with `scim_config.0.authentication.0.token`, `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`, `scim_config.0.authentication.0.scopes`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "password")] pub r#password: Box>, /// The authentication scheme to use when making SCIM requests to this application. @@ -22,19 +22,19 @@ pub struct ZeroTrustAccessApplicationScimConfigAuthentication { #[serde(rename = "scheme")] pub r#scheme: Box, /// The authorization scopes to request when generating the token used to authenticate with the remove SCIM service. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scopes")] pub r#scopes: Box>>, /// Token used to authenticate with the remote SCIM service. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`, `scim_config.0.authentication.0.scopes`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "token")] pub r#token: Box>, /// URL used to generate the token used to authenticate with the remote SCIM service. Required when using `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.client_id`. Conflicts with `scim_config.0.authentication.0.user`, `scim_config.0.authentication.0.password`, `scim_config.0.authentication.0.token`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tokenUrl")] pub r#token_url: Box>, /// User name used to authenticate with the remote SCIM service. Required when using `scim_config.0.authentication.0.password`. Conflicts with `scim_config.0.authentication.0.token`, `scim_config.0.authentication.0.client_id`, `scim_config.0.authentication.0.client_secret`, `scim_config.0.authentication.0.authorization_url`, `scim_config.0.authentication.0.token_url`, `scim_config.0.authentication.0.scopes`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "user")] pub r#user: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_mapping.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_mapping.rs index ea249321..3e4ab317 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_mapping.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_mapping.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationScimConfigMapping { /// Whether or not this mapping is enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// A [SCIM filter expression](https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2.2) that matches resources that should be provisioned to this application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "filter")] pub r#filter: Box>, /// Whether or not this mapping applies to creates, updates, or deletes. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "operations")] pub r#operations: Box>, /// Which SCIM resource type this mapping applies to. @@ -18,7 +18,7 @@ pub struct ZeroTrustAccessApplicationScimConfigMapping { #[serde(rename = "schema")] pub r#schema: Box, /// A [JSONata](https://jsonata.org/) expression that transforms the resource before provisioning it in the application. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "transformJsonata")] pub r#transform_jsonata: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_mapping_operations.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_mapping_operations.rs index f6bdd41a..3491880e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_mapping_operations.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_application_scim_config_mapping_operations.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessApplicationScimConfigMappingOperations { /// Whether or not this mapping applies to create (POST) operations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "create")] pub r#create: Box>, /// Whether or not this mapping applies to DELETE operations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "delete")] pub r#delete: Box>, /// Whether or not this mapping applies to update (PATCH/PUT) operations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "update")] pub r#update: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude.rs index 2661fbc3..61a72386 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupExclude { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluations")] pub r#external_evaluations: Box>>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_azure.rs index 9c4661d5..a01d5f4a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupExcludeAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_external_evaluation.rs index c2f18509..f2971db0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupExcludeExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_github.rs index e606c83e..84f37431 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupExcludeGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_gsuite.rs index 1ec3c96f..246dcd26 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupExcludeGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_okta.rs index cc7e957e..9efbf72c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupExcludeOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_saml.rs index 9b59e809..05c8fedf 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_exclude_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupExcludeSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include.rs index 3286b6b5..d238454a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupInclude { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluations")] pub r#external_evaluations: Box>>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_azure.rs index 4e726479..80640bd2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupIncludeAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_external_evaluation.rs index 59b0ef44..3b1a590a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupIncludeExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_github.rs index 4e43dc78..9273c060 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupIncludeGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_gsuite.rs index 2bccedc1..6bae9db3 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupIncludeGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_okta.rs index f64360ad..7b62109a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupIncludeOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_saml.rs index a986106a..57976568 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_include_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupIncludeSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require.rs index 33a09d23..2e5e464e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupRequire { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluations")] pub r#external_evaluations: Box>>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_azure.rs index de912f32..feafdf1d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupRequireAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_external_evaluation.rs index 58332584..3416e3cb 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupRequireExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_github.rs index 88f9e5ac..c526382f 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupRequireGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_gsuite.rs index 3e68ad1c..68c4c82a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupRequireGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_okta.rs index 49428134..b4e9952d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupRequireOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_saml.rs index 2b474dbf..311603a0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_group_require_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessGroupRequireSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_identity_provider_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_identity_provider_config.rs index e23bed02..83333e9d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_identity_provider_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_identity_provider_config.rs @@ -1,85 +1,85 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessIdentityProviderConfig { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "apiToken")] pub r#api_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "appsDomain")] pub r#apps_domain: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributes")] pub r#attributes: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authUrl")] pub r#auth_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authorizationServerId")] pub r#authorization_server_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "centrifyAccount")] pub r#centrify_account: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "centrifyAppId")] pub r#centrify_app_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certsUrl")] pub r#certs_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "claims")] pub r#claims: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientId")] pub r#client_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientSecret")] pub r#client_secret: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "conditionalAccessEnabled")] pub r#conditional_access_enabled: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "directoryId")] pub r#directory_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailAttributeName")] pub r#email_attribute_name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailClaimName")] pub r#email_claim_name: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "idpPublicCert")] pub r#idp_public_cert: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "issuerUrl")] pub r#issuer_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktaAccount")] pub r#okta_account: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oneloginAccount")] pub r#onelogin_account: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pingEnvId")] pub r#ping_env_id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pkceEnabled")] pub r#pkce_enabled: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "redirectUrl")] pub r#redirect_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "scopes")] pub r#scopes: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "signRequest")] pub r#sign_request: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssoTargetUrl")] pub r#sso_target_url: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "supportGroups")] pub r#support_groups: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tokenUrl")] pub r#token_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_identity_provider_scim_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_identity_provider_scim_config.rs index d5356fef..ab6fb227 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_identity_provider_scim_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_identity_provider_scim_config.rs @@ -1,19 +1,19 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessIdentityProviderScimConfig { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groupMemberDeprovision")] pub r#group_member_deprovision: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "seatDeprovision")] pub r#seat_deprovision: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "secret")] pub r#secret: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "userDeprovision")] pub r#user_deprovision: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_mtls_hostname_settings_setting.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_mtls_hostname_settings_setting.rs index 1b3249a1..966fdd10 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_mtls_hostname_settings_setting.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_mtls_hostname_settings_setting.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessMtlsHostnameSettingsSetting { /// Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "chinaNetwork")] pub r#china_network: Box>, /// Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientCertificateForwarding")] pub r#client_certificate_forwarding: Box>, /// The hostname that these settings apply to. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_organization_custom_page.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_organization_custom_page.rs index a1b064e8..7332a82d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_organization_custom_page.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_organization_custom_page.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessOrganizationCustomPage { /// The id of the forbidden page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "forbidden")] pub r#forbidden: Box>, /// The id of the identity denied page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityDenied")] pub r#identity_denied: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_organization_login_design.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_organization_login_design.rs index fd4e17ab..5e6035f1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_organization_login_design.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_organization_login_design.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessOrganizationLoginDesign { /// The background color on the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "backgroundColor")] pub r#background_color: Box>, /// The text at the bottom of the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "footerText")] pub r#footer_text: Box>, /// The text at the top of the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headerText")] pub r#header_text: Box>, /// The URL of the logo on the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logoPath")] pub r#logo_path: Box>, /// The text color on the login page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "textColor")] pub r#text_color: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_approval_group.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_approval_group.rs index 63a3e55a..ea0440dd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_approval_group.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_approval_group.rs @@ -6,10 +6,10 @@ pub struct ZeroTrustAccessPolicyApprovalGroup { #[serde(rename = "approvalsNeeded")] pub r#approvals_needed: Box, /// List of emails to request approval from. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailAddresses")] pub r#email_addresses: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailListUuid")] pub r#email_list_uuid: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude.rs index e8561d0e..2e1b1ac6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyExclude { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluations")] pub r#external_evaluations: Box>>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_azure.rs index 1551300d..d97c87b5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyExcludeAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_external_evaluation.rs index def846ba..50401e41 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyExcludeExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_github.rs index 607067c1..8c4b52cd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyExcludeGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_gsuite.rs index 50ff9f3d..f8ced8c6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyExcludeGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_okta.rs index 0118d533..ed7d992b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyExcludeOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_saml.rs index b6c1acc0..f15b6d8d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_exclude_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyExcludeSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include.rs index 88e3136c..eb5161f0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyInclude { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluations")] pub r#external_evaluations: Box>>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_azure.rs index b6e831e4..283e50ed 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyIncludeAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_external_evaluation.rs index 4416b634..a37d234d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyIncludeExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_github.rs index 9db7e8f8..ef30afa2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyIncludeGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_gsuite.rs index 62a2a45a..7728f151 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyIncludeGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_okta.rs index e1dbfe9e..3a78ef70 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyIncludeOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_saml.rs index 54ac05c9..0e1215c0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_include_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyIncludeSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require.rs index 9f237393..004f2ea5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require.rs @@ -2,94 +2,94 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyRequire { /// Matches any valid Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "anyValidServiceToken")] pub r#any_valid_service_token: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authContexts")] pub r#auth_contexts: Box>>, /// The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authMethod")] pub r#auth_method: Box>, /// Matches an Azure group. Requires an Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "azures")] pub r#azures: Box>>, /// Matches any valid client certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificate")] pub r#certificate: Box>, /// Matches a valid client certificate common name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonName")] pub r#common_name: Box>, /// Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commonNames")] pub r#common_names: Box>>, /// The ID of a device posture integration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "devicePostures")] pub r#device_postures: Box>>, /// The email domain to match. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailDomains")] pub r#email_domains: Box>>, /// The ID of a previously created email list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailLists")] pub r#email_lists: Box>>, /// The email of the user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// Matches everyone. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "everyone")] pub r#everyone: Box>, /// Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "externalEvaluations")] pub r#external_evaluations: Box>>, /// Matches a specific country. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "geos")] pub r#geos: Box>>, /// Matches a Github organization. Requires a Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "githubs")] pub r#githubs: Box>>, /// The ID of a previously created Access group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// Matches a group in Google Workspace. Requires a Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gsuites")] pub r#gsuites: Box>>, /// The ID of a previously created IP list. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipLists")] pub r#ip_lists: Box>>, /// An IPv4 or IPv6 CIDR block. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ips")] pub r#ips: Box>>, /// The ID of a configured identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "loginMethods")] pub r#login_methods: Box>>, /// Matches an Okta group. Requires an Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "oktas")] pub r#oktas: Box>>, /// Matches a SAML group. Requires a SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "samls")] pub r#samls: Box>>, /// The ID of an Access service token. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serviceTokens")] pub r#service_tokens: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_azure.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_azure.rs index ad48c308..d3a23e9e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_azure.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_azure.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyRequireAzure { /// The ID of the Azure identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The ID of the Azure group or user. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ids")] pub r#ids: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_external_evaluation.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_external_evaluation.rs index 41bc9fb0..a6367ba0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_external_evaluation.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_external_evaluation.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyRequireExternalEvaluation { /// The API endpoint containing your business logic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "evaluateUrl")] pub r#evaluate_url: Box>, /// The API endpoint containing the key that Access uses to verify that the response came from your API. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keysUrl")] pub r#keys_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_github.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_github.rs index 4b1f78ec..a6a692df 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_github.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_github.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyRequireGithub { /// The ID of your Github identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the organization. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The teams that should be matched. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teams")] pub r#teams: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_gsuite.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_gsuite.rs index 4de67d97..b3d11ef2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_gsuite.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_gsuite.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyRequireGsuite { /// The email of the Google Workspace group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emails")] pub r#emails: Box>>, /// The ID of your Google Workspace identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_okta.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_okta.rs index 5c855054..9d5fd305 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_okta.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_okta.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyRequireOkta { /// The ID of your Okta identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, /// The name of the Okta Group. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "names")] pub r#names: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_saml.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_saml.rs index 3e58c288..8c8f7b4e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_saml.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_access_policy_require_saml.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustAccessPolicyRequireSaml { /// The name of the SAML attribute. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeName")] pub r#attribute_name: Box>, /// The SAML attribute value to look for. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "attributeValue")] pub r#attribute_value: Box>, /// The ID of your SAML identity provider. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityProviderId")] pub r#identity_provider_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_integration_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_integration_config.rs index a52b5e98..5504b9c0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_integration_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_integration_config.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustDevicePostureIntegrationConfig { /// The Access client ID to be used as the `Cf-Access-Client-ID` header when making a request to the `api_url`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accessClientId")] pub r#access_client_id: Box>, /// The Access client secret to be used as the `Cf-Access-Client-Secret` header when making a request to the `api_url`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "accessClientSecret")] pub r#access_client_secret: Box>, /// The third-party API's URL. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "apiUrl")] pub r#api_url: Box>, /// The third-party authorization API URL. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authUrl")] pub r#auth_url: Box>, /// The client identifier for authenticating API calls. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientId")] pub r#client_id: Box>, /// The client key for authenticating API calls. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientKey")] pub r#client_key: Box>, /// The client secret for authenticating API calls. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "clientSecret")] pub r#client_secret: Box>, /// The customer identifier for authenticating API calls. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "customerId")] pub r#customer_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_input.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_input.rs index 1bd8510c..2288aee7 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_input.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_input.rs @@ -2,159 +2,159 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustDevicePostureRuleInput { /// The number of active threats from SentinelOne. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "activeThreats")] pub r#active_threats: Box>, /// The UUID of a Cloudflare managed certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "certificateId")] pub r#certificate_id: Box>, /// Specific volume(s) to check for encryption. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkDisks")] pub r#check_disks: Box>>, /// Confirm the certificate was not imported from another device. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkPrivateKey")] pub r#check_private_key: Box>, /// The common name for a certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cn")] pub r#cn: Box>, /// The workspace one or intune device compliance status. `compliant` and `noncompliant` are values supported by both providers. `unknown`, `conflict`, `error`, `ingraceperiod` values are only supported by intune. Available values: `compliant`, `noncompliant`, `unknown`, `conflict`, `error`, `ingraceperiod`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "complianceStatus")] pub r#compliance_status: Box>, /// The workspace one or intune connection id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "connectionId")] pub r#connection_id: Box>, /// The count comparison operator for kolide. Available values: `>`, `>=`, `<`, `<=`, `==`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "countOperator")] pub r#count_operator: Box>, /// The domain that the client must join. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "domain")] pub r#domain: Box>, /// The time a device last seen in Tanium. Must be in the format `1h` or `30m`. Valid units are `d`, `h` and `m`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "eidLastSeen")] pub r#eid_last_seen: Box>, /// True if the firewall must be enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Checks if the file should exist. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "exists")] pub r#exists: Box>, /// List of values indicating purposes for which the certificate public key can be used. Available values: `clientAuth`, `emailProtection`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "extendedKeyUsages")] pub r#extended_key_usages: Box>>, /// The Teams List id. Required for `serial_number` and `unique_client_id` rule types. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// True if SentinelOne device is infected. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "infected")] pub r#infected: Box>, /// True if SentinelOne device is active. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "isActive")] pub r#is_active: Box>, /// The number of issues for kolide. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "issueCount")] pub r#issue_count: Box>, /// The duration of time that the host was last seen from Crowdstrike. Must be in the format `1h` or `30m`. Valid units are `d`, `h` and `m`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "lastSeen")] pub r#last_seen: Box>, /// List of operating system locations to check for a client certificate.. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "locations")] pub r#locations: Box>>, /// The network status from SentinelOne. Available values: `connected`, `disconnected`, `disconnecting`, `connecting`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "networkStatus")] pub r#network_status: Box>, /// The current operational state of a SentinelOne Agent. Available values: `na`, `partially_disabled`, `auto_fully_disabled`, `fully_disabled`, `auto_partially_disabled`, `disabled_error`, `db_corruption`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "operationalState")] pub r#operational_state: Box>, /// The version comparison operator. Available values: `>`, `>=`, `<`, `<=`, `==`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "operator")] pub r#operator: Box>, /// OS signal score from Crowdstrike. Value must be between 1 and 100. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "os")] pub r#os: Box>, /// The operating system excluding version information. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osDistroName")] pub r#os_distro_name: Box>, /// The operating system version excluding OS name information or release name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osDistroRevision")] pub r#os_distro_revision: Box>, /// Extra version value following the operating system semantic version. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "osVersionExtra")] pub r#os_version_extra: Box>, /// Overall ZTA score from Crowdstrike. Value must be between 1 and 100. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overall")] pub r#overall: Box>, /// The path to the file. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "path")] pub r#path: Box>, /// True if all drives must be encrypted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "requireAll")] pub r#require_all: Box>, /// The risk level from Tanium. Available values: `low`, `medium`, `high`, `critical`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "riskLevel")] pub r#risk_level: Box>, /// Checks if the application should be running. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "running")] pub r#running: Box>, /// A value between 0-100 assigned to devices set by the 3rd party posture provider for custom device posture integrations. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "score")] pub r#score: Box>, /// Sensor signal score from Crowdstrike. Value must be between 1 and 100. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensorConfig")] pub r#sensor_config: Box>, /// The sha256 hash of the file. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sha256")] pub r#sha_256: Box>, /// The host’s current online status from Crowdstrike. Available values: `online`, `offline`, `unknown`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "state")] pub r#state: Box>, /// The thumbprint of the file certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "thumbprint")] pub r#thumbprint: Box>, /// The total score from Tanium. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "totalScore")] pub r#total_score: Box>, /// The operating system semantic version. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, /// The version comparison operator for Crowdstrike. Available values: `>`, `>=`, `<`, `<=`, `==`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "versionOperator")] pub r#version_operator: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_input_location.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_input_location.rs index 28d58158..d4f60619 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_input_location.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_input_location.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustDevicePostureRuleInputLocation { /// List of paths to check for client certificate rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "paths")] pub r#paths: Box>>, /// List of trust stores to check for client certificate rule. Available values: `system`, `user`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "trustStores")] pub r#trust_stores: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_match.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_match.rs index cebaeda9..33b74f9e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_match.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_device_posture_rule_match.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustDevicePostureRuleMatch { /// The platform of the device. Available values: `windows`, `mac`, `linux`, `android`, `ios`, `chromeos`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "platform")] pub r#platform: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dex_test_data.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dex_test_data.rs index dfdacd52..ebfaa3dd 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dex_test_data.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dex_test_data.rs @@ -10,7 +10,7 @@ pub struct ZeroTrustDexTestData { #[serde(rename = "kind")] pub r#kind: Box, /// The http request method. Available values: `GET`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "method")] pub r#method: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dlp_profile_entry.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dlp_profile_entry.rs index bd76f5c2..1298f632 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dlp_profile_entry.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dlp_profile_entry.rs @@ -2,18 +2,18 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustDlpProfileEntry { /// Whether the entry is active. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Unique entry identifier. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Name of the entry to deploy. #[builder(into)] #[serde(rename = "name")] pub r#name: Box, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pattern")] pub r#pattern: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dlp_profile_entry_pattern.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dlp_profile_entry_pattern.rs index 4e3bfbdc..dfcd9965 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dlp_profile_entry_pattern.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dlp_profile_entry_pattern.rs @@ -6,7 +6,7 @@ pub struct ZeroTrustDlpProfileEntryPattern { #[serde(rename = "regex")] pub r#regex: Box, /// The validation algorithm to apply with this pattern. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "validation")] pub r#validation: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dns_location_network.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dns_location_network.rs index e369c282..813303e4 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dns_location_network.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_dns_location_network.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustDnsLocationNetwork { /// The ID of this resource. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// CIDR notation representation of the network IP. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings.rs index 63a984cf..0a0da48c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings.rs @@ -2,83 +2,83 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustGatewayPolicyRuleSettings { /// Add custom headers to allowed requests in the form of key-value pairs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "addHeaders")] pub r#add_headers: Box>>, /// Allow parent MSP accounts to enable bypass their children's rules. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allowChildBypass")] pub r#allow_child_bypass: Box>, /// Settings for auditing SSH usage. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "auditSsh")] pub r#audit_ssh: Box>, /// Configure how browser isolation behaves. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bisoAdminControls")] pub r#biso_admin_controls: Box>, /// Indicator of block page enablement. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "blockPageEnabled")] pub r#block_page_enabled: Box>, /// The displayed reason for a user being blocked. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "blockPageReason")] pub r#block_page_reason: Box>, /// Allow child MSP accounts to bypass their parent's rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bypassParentRule")] pub r#bypass_parent_rule: Box>, /// Configure how session check behaves. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "checkSession")] pub r#check_session: Box>, /// Add your own custom resolvers to route queries that match the resolver policy. Cannot be used when resolve*dns*through*cloudflare is set. DNS queries will route to the address closest to their origin. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dnsResolvers")] pub r#dns_resolvers: Box>, /// Configure how Proxy traffic egresses. Can be set for rules with Egress action and Egress filter. Can be omitted to indicate local egress via Warp IPs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "egress")] pub r#egress: Box>, /// Set to true, to ignore the category matches at CNAME domains in a response. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ignoreCnameCategoryMatches")] pub r#ignore_cname_category_matches: Box>, /// Disable DNSSEC validation (must be Allow rule). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "insecureDisableDnssecValidation")] pub r#insecure_disable_dnssec_validation: Box>, /// Turns on IP category based filter on dns if the rule contains dns category checks. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipCategories")] pub r#ip_categories: Box>, /// Settings to forward layer 4 traffic. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "l4override")] pub r#l_4_override: Box>, /// Notification settings on a block rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "notificationSettings")] pub r#notification_settings: Box>, /// The host to override matching DNS queries with. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overrideHost")] pub r#override_host: Box>, /// The IPs to override matching DNS queries with. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "overrideIps")] pub r#override_ips: Box>>, /// Configure DLP Payload Logging settings for this rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "payloadLog")] pub r#payload_log: Box>, /// Enable sending queries that match the resolver policy to Cloudflare's default 1.1.1.1 DNS resolver. Cannot be set when `dns_resolvers` are specified. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "resolveDnsThroughCloudflare")] pub r#resolve_dns_through_cloudflare: Box>, /// Configure untrusted certificate settings for this rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "untrustedCert")] pub r#untrusted_cert: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_biso_admin_controls.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_biso_admin_controls.rs index 985cd48f..b91babbe 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_biso_admin_controls.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_biso_admin_controls.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustGatewayPolicyRuleSettingsBisoAdminControls { /// Disable clipboard redirection. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableClipboardRedirection")] pub r#disable_clipboard_redirection: Box>, /// Disable copy-paste. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableCopyPaste")] pub r#disable_copy_paste: Box>, /// Disable download. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableDownload")] pub r#disable_download: Box>, /// Disable keyboard usage. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableKeyboard")] pub r#disable_keyboard: Box>, /// Disable printing. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disablePrinting")] pub r#disable_printing: Box>, /// Disable upload. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableUpload")] pub r#disable_upload: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers.rs index 2225ff68..3694f53d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustGatewayPolicyRuleSettingsDnsResolvers { /// IPv4 resolvers. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4s")] pub r#ipv_4_s: Box>>, /// IPv6 resolvers. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6s")] pub r#ipv_6_s: Box>>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers_ipv_4.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers_ipv_4.rs index d0f912be..3b9cf1f9 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers_ipv_4.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers_ipv_4.rs @@ -6,15 +6,15 @@ pub struct ZeroTrustGatewayPolicyRuleSettingsDnsResolversIpv4 { #[serde(rename = "ip")] pub r#ip: Box, /// A port number to use for the upstream resolver. Defaults to `53`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "port")] pub r#port: Box>, /// Whether to connect to this resolver over a private network. Must be set when `vnet_id` is set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "routeThroughPrivateNetwork")] pub r#route_through_private_network: Box>, /// specify a virtual network for this resolver. Uses default virtual network id if omitted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "vnetId")] pub r#vnet_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers_ipv_6.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers_ipv_6.rs index 024a61b6..0134ca26 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers_ipv_6.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_dns_resolvers_ipv_6.rs @@ -6,15 +6,15 @@ pub struct ZeroTrustGatewayPolicyRuleSettingsDnsResolversIpv6 { #[serde(rename = "ip")] pub r#ip: Box, /// A port number to use for the upstream resolver. Defaults to `53`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "port")] pub r#port: Box>, /// Whether to connect to this resolver over a private network. Must be set when `vnet_id` is set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "routeThroughPrivateNetwork")] pub r#route_through_private_network: Box>, /// specify a virtual network for this resolver. Uses default virtual network id if omitted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "vnetId")] pub r#vnet_id: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_egress.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_egress.rs index a4ae03cb..a39cc601 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_egress.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_egress.rs @@ -6,7 +6,7 @@ pub struct ZeroTrustGatewayPolicyRuleSettingsEgress { #[serde(rename = "ipv4")] pub r#ipv_4: Box, /// The IPv4 address to be used for egress in the event of an error egressing with the primary IPv4. Can be '0.0.0.0' to indicate local egreass via Warp IPs. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4Fallback")] pub r#ipv_4_fallback: Box>, /// The IPv6 range to be used for egress. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_notification_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_notification_settings.rs index 1c10bfe7..a59f5328 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_notification_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_notification_settings.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustGatewayPolicyRuleSettingsNotificationSettings { /// Enable notification settings. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Notification content. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "message")] pub r#message: Box>, /// Support URL to show in the notification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "supportUrl")] pub r#support_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_untrusted_cert.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_untrusted_cert.rs index 780ee4c2..d88d4e90 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_untrusted_cert.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_policy_rule_settings_untrusted_cert.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustGatewayPolicyRuleSettingsUntrustedCert { /// Action to be taken when the SSL certificate of upstream is invalid. Available values: `pass_through`, `block`, `error`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "action")] pub r#action: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_antivirus.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_antivirus.rs index cd2aab7f..536c6da0 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_antivirus.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_antivirus.rs @@ -14,7 +14,7 @@ pub struct ZeroTrustGatewaySettingsAntivirus { #[serde(rename = "failClosed")] pub r#fail_closed: Box, /// Set notifications for antivirus. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "notificationSettings")] pub r#notification_settings: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_antivirus_notification_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_antivirus_notification_settings.rs index a2f18aed..2a3e67ef 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_antivirus_notification_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_antivirus_notification_settings.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustGatewaySettingsAntivirusNotificationSettings { /// Enable notification settings. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Notification content. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "message")] pub r#message: Box>, /// Support URL to show in the notification. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "supportUrl")] pub r#support_url: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_block_page.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_block_page.rs index 8d149b83..a9730cb1 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_block_page.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_block_page.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustGatewaySettingsBlockPage { /// Hex code of block page background color. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "backgroundColor")] pub r#background_color: Box>, /// Indicator of enablement. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, /// Block page footer text. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "footerText")] pub r#footer_text: Box>, /// Block page header text. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "headerText")] pub r#header_text: Box>, /// URL of block page logo. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logoPath")] pub r#logo_path: Box>, /// Admin email for users to contact. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mailtoAddress")] pub r#mailto_address: Box>, /// Subject line for emails created from block page. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mailtoSubject")] pub r#mailto_subject: Box>, /// Name of block page configuration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_custom_certificate.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_custom_certificate.rs index 17c4d1eb..b017a05d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_custom_certificate.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_custom_certificate.rs @@ -6,10 +6,10 @@ pub struct ZeroTrustGatewaySettingsCustomCertificate { #[serde(rename = "enabled")] pub r#enabled: Box, /// ID of custom certificate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "updatedAt")] pub r#updated_at: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_fips.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_fips.rs index cf9ac994..c40bdc85 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_fips.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_gateway_settings_fips.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustGatewaySettingsFips { /// Only allow FIPS-compliant TLS configuration. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tls")] pub r#tls: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_infrastructure_access_target_ip.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_infrastructure_access_target_ip.rs index 48d5471f..17aea917 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_infrastructure_access_target_ip.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_infrastructure_access_target_ip.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustInfrastructureAccessTargetIp { /// The target's IPv4 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4")] pub r#ipv_4: Box>, /// The target's IPv6 address. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6")] pub r#ipv_6: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_local_fallback_domain_domain.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_local_fallback_domain_domain.rs index 60f73a37..f8cbfb52 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_local_fallback_domain_domain.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_local_fallback_domain_domain.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustLocalFallbackDomainDomain { /// A description of the fallback domain, displayed in the client UI. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// A list of IP addresses to handle domain resolution. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dnsServers")] pub r#dns_servers: Box>>, /// The domain suffix to match when resolving locally. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "suffix")] pub r#suffix: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_split_tunnel_tunnel.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_split_tunnel_tunnel.rs index 3298ce5f..3058d90d 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_split_tunnel_tunnel.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_split_tunnel_tunnel.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustSplitTunnelTunnel { /// The address for the tunnel. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "address")] pub r#address: Box>, /// A description for the tunnel. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// The domain name for the tunnel. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "host")] pub r#host: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config.rs index 978febb3..fbf5132a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config.rs @@ -5,11 +5,11 @@ pub struct ZeroTrustTunnelCloudflaredConfigConfig { #[builder(into)] #[serde(rename = "ingressRules")] pub r#ingress_rules: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originRequest")] pub r#origin_request: Box>, /// If you're exposing a [private network](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/private-net/), you need to add the `warp-routing` key and set it to `true`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "warpRouting")] pub r#warp_routing: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule.rs index f43e1664..766fa64c 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule.rs @@ -2,14 +2,14 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustTunnelCloudflaredConfigConfigIngressRule { /// Hostname to match the incoming request with. If the hostname matches, the request will be sent to the service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hostname")] pub r#hostname: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originRequest")] pub r#origin_request: Box>, /// Path of the incoming request. If the path matches, the request will be sent to the local service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "path")] pub r#path: Box>, /// Name of the service to which the request will be sent. diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request.rs index c94de417..44a5861a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request.rs @@ -2,75 +2,75 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequest { /// Access rules for the ingress service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "access")] pub r#access: Box>, /// Runs as jump host. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bastionMode")] pub r#bastion_mode: Box>, /// Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "caPool")] pub r#ca_pool: Box>, /// Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by `tlsTimeout`. Defaults to `30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "connectTimeout")] pub r#connect_timeout: Box>, /// Disables chunked transfer encoding. Useful if you are running a Web Server Gateway Interface (WSGI) server. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableChunkedEncoding")] pub r#disable_chunked_encoding: Box>, /// Enables HTTP/2 support for the origin connection. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http2Origin")] pub r#http_2_origin: Box>, /// Sets the HTTP Host header on requests sent to the local service. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "httpHostHeader")] pub r#http_host_header: Box>, /// IP rules for the proxy service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipRules")] pub r#ip_rules: Box>>, /// Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections. Defaults to `100`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keepAliveConnections")] pub r#keep_alive_connections: Box>, /// Timeout after which an idle keepalive connection can be discarded. Defaults to `1m30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keepAliveTimeout")] pub r#keep_alive_timeout: Box>, /// Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noHappyEyeballs")] pub r#no_happy_eyeballs: Box>, /// Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noTlsVerify")] pub r#no_tls_verify: Box>, /// Hostname that cloudflared should expect from your origin server certificate. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originServerName")] pub r#origin_server_name: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen address for that proxy. Defaults to `127.0.0.1`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyAddress")] pub r#proxy_address: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen port for that proxy. If set to zero, an unused port will randomly be chosen. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyPort")] pub r#proxy_port: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Available values: `""`, `socks`. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyType")] pub r#proxy_type: Box>, /// The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server. Defaults to `30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tcpKeepAlive")] pub r#tcp_keep_alive: Box>, /// Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server. Defaults to `10s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tlsTimeout")] pub r#tls_timeout: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request_access.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request_access.rs index fb0097d4..caa1e47b 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request_access.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request_access.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequestAccess { /// Audience tags of the access rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "audTags")] pub r#aud_tags: Box>>, /// Whether the access rule is required. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, /// Name of the team to which the access rule applies. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teamName")] pub r#team_name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request_ip_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request_ip_rule.rs index 9f80af74..59d0e1d2 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request_ip_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_ingress_rule_origin_request_ip_rule.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustTunnelCloudflaredConfigConfigIngressRuleOriginRequestIpRule { /// Whether to allow the IP prefix. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allow")] pub r#allow: Box>, /// Ports to use within the IP rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ports")] pub r#ports: Box>>, /// IP rule prefix. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "prefix")] pub r#prefix: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request.rs index 7683212e..6657763e 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request.rs @@ -2,75 +2,75 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustTunnelCloudflaredConfigConfigOriginRequest { /// Access rules for the ingress service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "access")] pub r#access: Box>, /// Runs as jump host. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bastionMode")] pub r#bastion_mode: Box>, /// Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "caPool")] pub r#ca_pool: Box>, /// Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by `tlsTimeout`. Defaults to `30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "connectTimeout")] pub r#connect_timeout: Box>, /// Disables chunked transfer encoding. Useful if you are running a Web Server Gateway Interface (WSGI) server. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disableChunkedEncoding")] pub r#disable_chunked_encoding: Box>, /// Enables HTTP/2 support for the origin connection. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http2Origin")] pub r#http_2_origin: Box>, /// Sets the HTTP Host header on requests sent to the local service. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "httpHostHeader")] pub r#http_host_header: Box>, /// IP rules for the proxy service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipRules")] pub r#ip_rules: Box>>, /// Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections. Defaults to `100`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keepAliveConnections")] pub r#keep_alive_connections: Box>, /// Timeout after which an idle keepalive connection can be discarded. Defaults to `1m30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keepAliveTimeout")] pub r#keep_alive_timeout: Box>, /// Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noHappyEyeballs")] pub r#no_happy_eyeballs: Box>, /// Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noTlsVerify")] pub r#no_tls_verify: Box>, /// Hostname that cloudflared should expect from your origin server certificate. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originServerName")] pub r#origin_server_name: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen address for that proxy. Defaults to `127.0.0.1`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyAddress")] pub r#proxy_address: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen port for that proxy. If set to zero, an unused port will randomly be chosen. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyPort")] pub r#proxy_port: Box>, /// cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Available values: `""`, `socks`. Defaults to `""`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyType")] pub r#proxy_type: Box>, /// The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server. Defaults to `30s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tcpKeepAlive")] pub r#tcp_keep_alive: Box>, /// Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server. Defaults to `10s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tlsTimeout")] pub r#tls_timeout: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request_access.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request_access.rs index d7d4877e..d71025a6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request_access.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request_access.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustTunnelCloudflaredConfigConfigOriginRequestAccess { /// Audience tags of the access rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "audTags")] pub r#aud_tags: Box>>, /// Whether the access rule is required. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, /// Name of the team to which the access rule applies. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "teamName")] pub r#team_name: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request_ip_rule.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request_ip_rule.rs index 26eb0598..83984b10 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request_ip_rule.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_origin_request_ip_rule.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustTunnelCloudflaredConfigConfigOriginRequestIpRule { /// Whether to allow the IP prefix. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "allow")] pub r#allow: Box>, /// Ports to use within the IP rule. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ports")] pub r#ports: Box>>, /// IP rule prefix. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "prefix")] pub r#prefix: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_warp_routing.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_warp_routing.rs index de3435cf..aa6912e5 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_warp_routing.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zero_trust_tunnel_cloudflared_config_config_warp_routing.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ZeroTrustTunnelCloudflaredConfigConfigWarpRouting { /// Whether WARP routing is enabled. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_initial_setting.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_initial_setting.rs index 48fb8dd7..78a4ee75 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_initial_setting.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_initial_setting.rs @@ -1,181 +1,181 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ZoneSettingsOverrideInitialSetting { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "alwaysOnline")] pub r#always_online: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "alwaysUseHttps")] pub r#always_use_https: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "automaticHttpsRewrites")] pub r#automatic_https_rewrites: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "binaryAst")] pub r#binary_ast: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "brotli")] pub r#brotli: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "browserCacheTtl")] pub r#browser_cache_ttl: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "browserCheck")] pub r#browser_check: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheLevel")] pub r#cache_level: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "challengeTtl")] pub r#challenge_ttl: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ciphers")] pub r#ciphers: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cnameFlattening")] pub r#cname_flattening: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "developmentMode")] pub r#development_mode: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "earlyHints")] pub r#early_hints: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailObfuscation")] pub r#email_obfuscation: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "filterLogsToCloudflare")] pub r#filter_logs_to_cloudflare: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fonts")] pub r#fonts: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "h2Prioritization")] pub r#h_2_prioritization: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hotlinkProtection")] pub r#hotlink_protection: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http2")] pub r#http_2: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http3")] pub r#http_3: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "imageResizing")] pub r#image_resizing: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipGeolocation")] pub r#ip_geolocation: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6")] pub r#ipv_6: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logToCloudflare")] pub r#log_to_cloudflare: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxUpload")] pub r#max_upload: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "minTlsVersion")] pub r#min_tls_version: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "minify")] pub r#minify: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mirage")] pub r#mirage: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mobileRedirect")] pub r#mobile_redirect: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nel")] pub r#nel: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "opportunisticEncryption")] pub r#opportunistic_encryption: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "opportunisticOnion")] pub r#opportunistic_onion: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "orangeToOrange")] pub r#orange_to_orange: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originErrorPagePassThru")] pub r#origin_error_page_pass_thru: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originMaxHttpVersion")] pub r#origin_max_http_version: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "polish")] pub r#polish: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "prefetchPreload")] pub r#prefetch_preload: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "privacyPass")] pub r#privacy_pass: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyReadTimeout")] pub r#proxy_read_timeout: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pseudoIpv4")] pub r#pseudo_ipv_4: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "replaceInsecureJs")] pub r#replace_insecure_js: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "responseBuffering")] pub r#response_buffering: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rocketLoader")] pub r#rocket_loader: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "securityHeader")] pub r#security_header: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "securityLevel")] pub r#security_level: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serverSideExclude")] pub r#server_side_exclude: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sortQueryStringForCache")] pub r#sort_query_string_for_cache: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "speedBrain")] pub r#speed_brain: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssl")] pub r#ssl: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tls12Only")] pub r#tls_12_only: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tls13")] pub r#tls_13: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tlsClientAuth")] pub r#tls_client_auth: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "trueClientIpHeader")] pub r#true_client_ip_header: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "universalSsl")] pub r#universal_ssl: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "visitorIp")] pub r#visitor_ip: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "waf")] pub r#waf: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "webp")] pub r#webp: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "websockets")] pub r#websockets: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "zeroRtt")] pub r#zero_rtt: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_initial_setting_security_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_initial_setting_security_header.rs index 0cee90e2..b0ebb32a 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_initial_setting_security_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_initial_setting_security_header.rs @@ -1,19 +1,19 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ZoneSettingsOverrideInitialSettingSecurityHeader { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includeSubdomains")] pub r#include_subdomains: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxAge")] pub r#max_age: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nosniff")] pub r#nosniff: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preload")] pub r#preload: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_settings.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_settings.rs index 38e639f7..f6df0517 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_settings.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_settings.rs @@ -1,181 +1,181 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ZoneSettingsOverrideSettings { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "alwaysOnline")] pub r#always_online: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "alwaysUseHttps")] pub r#always_use_https: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "automaticHttpsRewrites")] pub r#automatic_https_rewrites: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "binaryAst")] pub r#binary_ast: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "brotli")] pub r#brotli: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "browserCacheTtl")] pub r#browser_cache_ttl: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "browserCheck")] pub r#browser_check: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheLevel")] pub r#cache_level: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "challengeTtl")] pub r#challenge_ttl: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ciphers")] pub r#ciphers: Box>>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cnameFlattening")] pub r#cname_flattening: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "developmentMode")] pub r#development_mode: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "earlyHints")] pub r#early_hints: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "emailObfuscation")] pub r#email_obfuscation: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "filterLogsToCloudflare")] pub r#filter_logs_to_cloudflare: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fonts")] pub r#fonts: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "h2Prioritization")] pub r#h_2_prioritization: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hotlinkProtection")] pub r#hotlink_protection: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http2")] pub r#http_2: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "http3")] pub r#http_3: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "imageResizing")] pub r#image_resizing: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipGeolocation")] pub r#ip_geolocation: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6")] pub r#ipv_6: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logToCloudflare")] pub r#log_to_cloudflare: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxUpload")] pub r#max_upload: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "minTlsVersion")] pub r#min_tls_version: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "minify")] pub r#minify: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mirage")] pub r#mirage: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mobileRedirect")] pub r#mobile_redirect: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nel")] pub r#nel: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "opportunisticEncryption")] pub r#opportunistic_encryption: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "opportunisticOnion")] pub r#opportunistic_onion: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "orangeToOrange")] pub r#orange_to_orange: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originErrorPagePassThru")] pub r#origin_error_page_pass_thru: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "originMaxHttpVersion")] pub r#origin_max_http_version: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "polish")] pub r#polish: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "prefetchPreload")] pub r#prefetch_preload: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "privacyPass")] pub r#privacy_pass: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "proxyReadTimeout")] pub r#proxy_read_timeout: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pseudoIpv4")] pub r#pseudo_ipv_4: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "replaceInsecureJs")] pub r#replace_insecure_js: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "responseBuffering")] pub r#response_buffering: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "rocketLoader")] pub r#rocket_loader: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "securityHeader")] pub r#security_header: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "securityLevel")] pub r#security_level: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serverSideExclude")] pub r#server_side_exclude: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sortQueryStringForCache")] pub r#sort_query_string_for_cache: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "speedBrain")] pub r#speed_brain: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ssl")] pub r#ssl: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tls12Only")] pub r#tls_12_only: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tls13")] pub r#tls_13: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tlsClientAuth")] pub r#tls_client_auth: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "trueClientIpHeader")] pub r#true_client_ip_header: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "universalSsl")] pub r#universal_ssl: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "visitorIp")] pub r#visitor_ip: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "waf")] pub r#waf: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "webp")] pub r#webp: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "websockets")] pub r#websockets: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "zeroRtt")] pub r#zero_rtt: Box>, } diff --git a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_settings_security_header.rs b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_settings_security_header.rs index 7765bc43..9fb651d6 100644 --- a/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_settings_security_header.rs +++ b/providers/pulumi_wasm_provider_cloudflare_rust/src/types/zone_settings_override_settings_security_header.rs @@ -1,19 +1,19 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ZoneSettingsOverrideSettingsSecurityHeader { - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "enabled")] pub r#enabled: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "includeSubdomains")] pub r#include_subdomains: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxAge")] pub r#max_age: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nosniff")] pub r#nosniff: Box>, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "preload")] pub r#preload: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/function/get_logs.rs b/providers/pulumi_wasm_provider_docker_rust/src/function/get_logs.rs index e169e5b0..fc1e0232 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/function/get_logs.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/function/get_logs.rs @@ -3,30 +3,30 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct GetLogsArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub details: pulumi_wasm_rust::Output>, /// Discard headers that docker appends to each log entry - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub discard_headers: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub follow: pulumi_wasm_rust::Output>, /// If true populate computed value `logs_list_string` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logs_list_string_enabled: pulumi_wasm_rust::Output>, /// The name of the Docker Container #[builder(into)] pub name: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub show_stderr: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub show_stdout: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub since: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tail: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub timestamps: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub until: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/function/get_plugin.rs b/providers/pulumi_wasm_provider_docker_rust/src/function/get_plugin.rs index 93d62b6a..2172fa73 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/function/get_plugin.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/function/get_plugin.rs @@ -22,10 +22,10 @@ #[builder(finish_fn = build_struct)] pub struct GetPluginArgs { /// The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub alias: pulumi_wasm_rust::Output>, /// The ID of the plugin, which has precedence over the `alias` of both are given - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub id: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/function/get_registry_image.rs b/providers/pulumi_wasm_provider_docker_rust/src/function/get_registry_image.rs index 541ffaa4..67ebb2ed 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/function/get_registry_image.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/function/get_registry_image.rs @@ -24,7 +24,7 @@ #[builder(finish_fn = build_struct)] pub struct GetRegistryImageArgs { /// If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub insecure_skip_verify: pulumi_wasm_rust::Output>, /// The name of the Docker image, including any tags. e.g. `alpine:latest` #[builder(into)] diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/container.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/container.rs index 8c0f1515..a817b8c2 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/container.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/container.rs @@ -68,191 +68,191 @@ #[builder(finish_fn = build_struct)] pub struct ContainerArgs { /// If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub attach: pulumi_wasm_rust::Output>, /// Add or drop certrain linux capabilities. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub capabilities: pulumi_wasm_rust::Output>, /// Cgroup namespace mode to use for the container. Possible values are: `private`, `host`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub cgroupns_mode: pulumi_wasm_rust::Output>, /// The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-f","baz.con"]`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub command: pulumi_wasm_rust::Output>>, /// The total number of milliseconds to wait for the container to reach status 'running' - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub container_read_refresh_timeout_milliseconds: pulumi_wasm_rust::Output>, /// A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub cpu_set: pulumi_wasm_rust::Output>, /// CPU shares (relative weight) for the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub cpu_shares: pulumi_wasm_rust::Output>, /// If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on successful stop. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub destroy_grace_seconds: pulumi_wasm_rust::Output>, /// Bind devices to the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub devices: pulumi_wasm_rust::Output>>, /// DNS servers to use. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub dns: pulumi_wasm_rust::Output>>, /// DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub dns_opts: pulumi_wasm_rust::Output>>, /// DNS search domains that are used when bare unqualified hostnames are used inside of the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub dns_searches: pulumi_wasm_rust::Output>>, /// Domain name of the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub domainname: pulumi_wasm_rust::Output>, /// The command to use as the Entrypoint for the container. The Entrypoint allows you to configure a container to run as an executable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be `"/usr/bin/myprogra"]`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub entrypoints: pulumi_wasm_rust::Output>>, /// Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub envs: pulumi_wasm_rust::Output>>, /// GPU devices to add to the container. Currently, only the value `all` is supported. Passing any other value will result in unexpected behavior. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub gpus: pulumi_wasm_rust::Output>, /// Additional groups for the container user - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub group_adds: pulumi_wasm_rust::Output>>, /// A test to perform to check that the container is healthy - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub healthcheck: pulumi_wasm_rust::Output>, /// Hostname of the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hostname: pulumi_wasm_rust::Output>, /// Hostname to add - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub hosts: pulumi_wasm_rust::Output>>, /// The ID of the image to back this container. The easiest way to get this value is to use the `docker.RemoteImage` resource as is shown in the example. #[builder(into)] pub image: pulumi_wasm_rust::Output, /// Configured whether an init process should be injected for this container. If unset this will default to the `dockerd` defaults. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub init: pulumi_wasm_rust::Output>, /// IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:` or `host`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipc_mode: pulumi_wasm_rust::Output>, /// User-defined key/value metadata. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub labels: pulumi_wasm_rust::Output>>, /// The logging driver to use for the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub log_driver: pulumi_wasm_rust::Output>, /// Key/value pairs to use as options for the logging driver. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub log_opts: pulumi_wasm_rust::Output>>, /// Save the container logs (`attach` must be enabled). Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub logs: pulumi_wasm_rust::Output>, /// The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub max_retry_count: pulumi_wasm_rust::Output>, /// The memory limit for the container in MBs. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub memory: pulumi_wasm_rust::Output>, /// The total memory limit (memory + swap) for the container in MBs. This setting may compute to `-1` after `pulumi up` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub memory_swap: pulumi_wasm_rust::Output>, /// Specification for mounts to be added to containers created as part of the service. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub mounts: pulumi_wasm_rust::Output>>, /// If `true`, then the Docker container will be kept running. If `false`, then as long as the container exists, Terraform /// assumes it is successful. Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub must_run: pulumi_wasm_rust::Output>, /// The name or id of the network to use. You can use `name` or `id` attribute from a `docker.Network` resource. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// Network mode of the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub network_mode: pulumi_wasm_rust::Output>, /// The networks the container is attached to - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub networks_advanced: pulumi_wasm_rust::Output>>, /// he PID (Process) Namespace mode for the container. Either `container:` or `host`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub pid_mode: pulumi_wasm_rust::Output>, /// Publish a container's port(s) to the host. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ports: pulumi_wasm_rust::Output>>, /// If `true`, the container runs in privileged mode. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub privileged: pulumi_wasm_rust::Output>, /// Publish all ports of the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub publish_all_ports: pulumi_wasm_rust::Output>, /// Whether the mount should be read-only. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub read_only: pulumi_wasm_rust::Output>, /// If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub remove_volumes: pulumi_wasm_rust::Output>, /// The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub restart: pulumi_wasm_rust::Output>, /// If `true`, then the container will be automatically removed when it exits. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rm: pulumi_wasm_rust::Output>, /// Runtime to use for the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub runtime: pulumi_wasm_rust::Output>, /// List of string values to customize labels for MLS systems, such as SELinux. See https://docs.docker.com/engine/reference/run/#security-configuration. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub security_opts: pulumi_wasm_rust::Output>>, /// Size of `/dev/shm` in MBs. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub shm_size: pulumi_wasm_rust::Output>, /// If `true`, then the Docker container will be started after creation. If `false`, then the container is only created. Defaults to `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub start: pulumi_wasm_rust::Output>, /// If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub stdin_open: pulumi_wasm_rust::Output>, /// Signal to stop a container (default `SIGTERM`). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub stop_signal: pulumi_wasm_rust::Output>, /// Timeout (in seconds) to stop a container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub stop_timeout: pulumi_wasm_rust::Output>, /// Key/value pairs for the storage driver options, e.g. `size`: `120G` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub storage_opts: pulumi_wasm_rust::Output>>, /// A map of kernel parameters (sysctls) to set in the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub sysctls: pulumi_wasm_rust::Output>>, /// A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tmpfs: pulumi_wasm_rust::Output>>, /// If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub tty: pulumi_wasm_rust::Output>, /// Ulimit options to add. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ulimits: pulumi_wasm_rust::Output>>, /// Specifies files to upload to the container before starting it. Only one of `content` or `content_base64` can be set and at least one of them has to be set. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub uploads: pulumi_wasm_rust::Output>>, /// User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by name. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub user: pulumi_wasm_rust::Output>, /// Sets the usernamespace mode for the container when usernamespace remapping option is enabled. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub userns_mode: pulumi_wasm_rust::Output>, /// Spec for mounting volumes in the container. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub volumes: pulumi_wasm_rust::Output>>, /// If `true`, then the Docker container is waited for being healthy state after creation. If `false`, then the container health state is not checked. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub wait: pulumi_wasm_rust::Output>, /// The timeout in seconds to wait the container to be healthy after creation. Defaults to `60`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub wait_timeout: pulumi_wasm_rust::Output>, /// The working directory for commands to run in. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub working_dir: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/image.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/image.rs index af19e852..b0c7ee13 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/image.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/image.rs @@ -141,20 +141,20 @@ #[builder(finish_fn = build_struct)] pub struct ImageArgs { /// The Docker build context - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub build: pulumi_wasm_rust::Output>, /// A flag to build an image on preview - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub build_on_preview: pulumi_wasm_rust::Output>, /// The image name, of the format repository[:tag], e.g. `docker.io/username/demo-image:v1`. /// This reference is not unique to each build and push.For the unique manifest SHA of a pushed docker image, or the local image ID, please use `repoDigest`. #[builder(into)] pub image_name: pulumi_wasm_rust::Output, /// The registry to push the image to - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub registry: pulumi_wasm_rust::Output>, /// A flag to skip a registry push. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub skip_push: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/network.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/network.rs index f64a691b..92d9c9b5 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/network.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/network.rs @@ -53,40 +53,40 @@ #[builder(finish_fn = build_struct)] pub struct NetworkArgs { /// Enable manual container attachment to the network. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub attachable: pulumi_wasm_rust::Output>, /// Requests daemon to check for networks with same name. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub check_duplicate: pulumi_wasm_rust::Output>, /// The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub driver: pulumi_wasm_rust::Output>, /// Create swarm routing-mesh network. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ingress: pulumi_wasm_rust::Output>, /// Whether the network is internal. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub internal: pulumi_wasm_rust::Output>, /// The IPAM configuration options - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipam_configs: pulumi_wasm_rust::Output>>, /// Driver used by the custom IP scheme of the network. Defaults to `default` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipam_driver: pulumi_wasm_rust::Output>, /// Provide explicit options to the IPAM driver. Valid options vary with `ipam_driver` and refer to that driver's documentation for more details. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipam_options: pulumi_wasm_rust::Output>>, /// Enable IPv6 networking. Defaults to `false`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub ipv6: pulumi_wasm_rust::Output>, /// User-defined key/value metadata - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub labels: pulumi_wasm_rust::Output>>, /// The name of the Docker network. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub options: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/plugin.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/plugin.rs index cdac71da..3ec5b429 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/plugin.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/plugin.rs @@ -31,31 +31,31 @@ #[builder(finish_fn = build_struct)] pub struct PluginArgs { /// Docker Plugin alias - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub alias: pulumi_wasm_rust::Output>, /// HTTP client timeout to enable the plugin - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enable_timeout: pulumi_wasm_rust::Output>, /// If `true` the plugin is enabled. Defaults to `true` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub enabled: pulumi_wasm_rust::Output>, /// The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub envs: pulumi_wasm_rust::Output>>, /// If true, then the plugin is destroyed forcibly - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub force_destroy: pulumi_wasm_rust::Output>, /// If true, then the plugin is disabled forcibly - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub force_disable: pulumi_wasm_rust::Output>, /// If true, grant all permissions necessary to run the plugin - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub grant_all_permissions: pulumi_wasm_rust::Output>, /// Grant specific permissions only - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub grant_permissions: pulumi_wasm_rust::Output>>, /// The name of the permission - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/registry_image.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/registry_image.rs index 9787332a..ab5f7498 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/registry_image.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/registry_image.rs @@ -32,16 +32,16 @@ #[builder(finish_fn = build_struct)] pub struct RegistryImageArgs { /// If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub insecure_skip_verify: pulumi_wasm_rust::Output>, /// If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false` - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keep_remotely: pulumi_wasm_rust::Output>, /// The name of the Docker image. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// A map of arbitrary strings that, when changed, will force the `docker.RegistryImage` resource to be replaced. This can be used to repush a local image - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub triggers: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/remote_image.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/remote_image.rs index 80686663..26f8ea2f 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/remote_image.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/remote_image.rs @@ -72,25 +72,25 @@ #[builder(finish_fn = build_struct)] pub struct RemoteImageArgs { /// Configuration to build an image. Please see [docker build command reference](https://docs.docker.com/engine/reference/commandline/build/#options) too. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub build: pulumi_wasm_rust::Output>, /// Always remove intermediate containers - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub force_remove: pulumi_wasm_rust::Output>, /// If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keep_locally: pulumi_wasm_rust::Output>, /// type of ulimit, e.g. `nofile` #[builder(into)] pub name: pulumi_wasm_rust::Output, /// Set platform if server is multi-platform capable - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub platform: pulumi_wasm_rust::Output>, /// List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the docker*registry*image. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub pull_triggers: pulumi_wasm_rust::Output>>, /// A map of arbitrary strings that, when changed, will force the `docker.RemoteImage` resource to be replaced. This can be used to rebuild an image when contents of source code folders change - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub triggers: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/secret.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/secret.rs index e822b130..ae933277 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/secret.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/secret.rs @@ -13,10 +13,10 @@ pub struct SecretArgs { #[builder(into)] pub data: pulumi_wasm_rust::Output, /// User-defined key/value metadata - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub labels: pulumi_wasm_rust::Output>>, /// User-defined name of the secret - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/service.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/service.rs index 05351e32..49890900 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/service.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/service.rs @@ -64,31 +64,31 @@ #[builder(finish_fn = build_struct)] pub struct ServiceArgs { /// Configuration for the authentication for pulling the images of the service - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub auth: pulumi_wasm_rust::Output>, /// A configuration to ensure that a service converges aka reaches the desired that of all task up and running - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub converge_config: pulumi_wasm_rust::Output>, /// Properties that can be configured to access and load balance a service - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub endpoint_spec: pulumi_wasm_rust::Output>, /// User-defined key/value metadata - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub labels: pulumi_wasm_rust::Output>>, /// Scheduling mode for the service - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub mode: pulumi_wasm_rust::Output>, /// Name of the service - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, /// Specification for the rollback strategy of the service - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub rollback_config: pulumi_wasm_rust::Output>, /// User modifiable task configuration #[builder(into)] pub task_spec: pulumi_wasm_rust::Output, /// Specification for the update strategy of the service - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub update_config: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/service_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/service_config.rs index 3dad1c97..20f33490 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/service_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/service_config.rs @@ -46,7 +46,7 @@ pub struct ServiceConfigArgs { #[builder(into)] pub data: pulumi_wasm_rust::Output, /// User-defined name of the config - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/resource/volume.rs b/providers/pulumi_wasm_provider_docker_rust/src/resource/volume.rs index 2ef7cb69..9605479f 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/resource/volume.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/resource/volume.rs @@ -52,16 +52,16 @@ #[builder(finish_fn = build_struct)] pub struct VolumeArgs { /// Driver type for the volume. Defaults to `local`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub driver: pulumi_wasm_rust::Output>, /// Options specific to the driver. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub driver_opts: pulumi_wasm_rust::Output>>, /// User-defined key/value metadata - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub labels: pulumi_wasm_rust::Output>>, /// The name of the Docker volume (will be generated if not provided). - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub name: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/cache_from.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/cache_from.rs index 9c4ceccf..decc009e 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/cache_from.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/cache_from.rs @@ -4,7 +4,7 @@ #[builder(finish_fn = build_struct)] pub struct CacheFrom { /// Specifies cached images - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "images")] pub r#images: Box>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_capabilities.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_capabilities.rs index f3edffe3..a9440369 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_capabilities.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_capabilities.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ContainerCapabilities { /// List of linux capabilities to add. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "adds")] pub r#adds: Box>>, /// List of linux capabilities to drop. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "drops")] pub r#drops: Box>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_device.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_device.rs index babeb320..58760844 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_device.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_device.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ContainerDevice { /// The path in the container where the device will be bound. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "containerPath")] pub r#container_path: Box>, /// The path on the host where the device is located. @@ -10,7 +10,7 @@ pub struct ContainerDevice { #[serde(rename = "hostPath")] pub r#host_path: Box, /// The cgroup permissions given to the container to access the device. Defaults to `rwm`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "permissions")] pub r#permissions: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_healthcheck.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_healthcheck.rs index 11fe4379..97d00265 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_healthcheck.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_healthcheck.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ContainerHealthcheck { /// Time between running the check (ms|s|m|h). Defaults to `0s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "interval")] pub r#interval: Box>, /// Consecutive failures needed to report unhealthy. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "retries")] pub r#retries: Box>, /// Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "startPeriod")] pub r#start_period: Box>, /// Command to run to check health. For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`. @@ -18,7 +18,7 @@ pub struct ContainerHealthcheck { #[serde(rename = "tests")] pub r#tests: Box>, /// Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "timeout")] pub r#timeout: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount.rs index 23c26c37..400eec31 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ContainerMount { /// Optional configuration for the bind type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bindOptions")] pub r#bind_options: Box>, /// Whether the mount should be read-only. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "readOnly")] pub r#read_only: Box>, /// Mount source (e.g. a volume name, a host path). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "source")] pub r#source: Box>, /// Container path @@ -18,7 +18,7 @@ pub struct ContainerMount { #[serde(rename = "target")] pub r#target: Box, /// Optional configuration for the tmpfs type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tmpfsOptions")] pub r#tmpfs_options: Box>, /// The mount type @@ -26,7 +26,7 @@ pub struct ContainerMount { #[serde(rename = "type")] pub r#type: Box, /// Optional configuration for the volume type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "volumeOptions")] pub r#volume_options: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_bind_options.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_bind_options.rs index a2329c79..527fb348 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_bind_options.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_bind_options.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ContainerMountBindOptions { /// A propagation mode with the value. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "propagation")] pub r#propagation: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_tmpfs_options.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_tmpfs_options.rs index acaec03d..b8bcba0d 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_tmpfs_options.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_tmpfs_options.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ContainerMountTmpfsOptions { /// The permission mode for the tmpfs mount in an integer. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mode")] pub r#mode: Box>, /// The size for the tmpfs mount in bytes. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sizeBytes")] pub r#size_bytes: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_volume_options.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_volume_options.rs index dad91923..668fc3de 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_volume_options.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_mount_volume_options.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct ContainerMountVolumeOptions { /// Name of the driver to use to create the volume. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "driverName")] pub r#driver_name: Box>, /// key/value map of driver specific options. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "driverOptions")] pub r#driver_options: Box>>, /// User-defined key/value metadata. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "labels")] pub r#labels: Box>>, /// Populate volume with data from the target. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noCopy")] pub r#no_copy: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_network_data.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_network_data.rs index 59005fbf..56ceaf87 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_network_data.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_network_data.rs @@ -2,35 +2,35 @@ #[builder(finish_fn = build_struct)] pub struct ContainerNetworkData { /// The network gateway of the container. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gateway")] pub r#gateway: Box>, /// The IPV6 address of the container. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "globalIpv6Address")] pub r#global_ipv_6_address: Box>, /// The IPV6 prefix length address of the container. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "globalIpv6PrefixLength")] pub r#global_ipv_6_prefix_length: Box>, /// The IP address of the container. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipAddress")] pub r#ip_address: Box>, /// The IP prefix length of the container. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipPrefixLength")] pub r#ip_prefix_length: Box>, /// The IPV6 gateway of the container. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6Gateway")] pub r#ipv_6_gateway: Box>, /// The MAC address of the container. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "macAddress")] pub r#mac_address: Box>, /// The name of the network - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "networkName")] pub r#network_name: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_networks_advanced.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_networks_advanced.rs index f01257f6..194a9441 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_networks_advanced.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_networks_advanced.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ContainerNetworksAdvanced { /// The network aliases of the container in the specific network. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "aliases")] pub r#aliases: Box>>, /// The IPV4 address of the container in the specific network. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv4Address")] pub r#ipv_4_address: Box>, /// The IPV6 address of the container in the specific network. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipv6Address")] pub r#ipv_6_address: Box>, /// The name or id of the network to use. You can use `name` or `id` attribute from a `docker.Network` resource. diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_port.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_port.rs index 5968f7b8..0b7c48a5 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_port.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_port.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ContainerPort { /// Port exposed out of the container. If not given a free random port `>= 32768` will be used. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "external")] pub r#external: Box>, /// Port within the container. @@ -10,11 +10,11 @@ pub struct ContainerPort { #[serde(rename = "internal")] pub r#internal: Box, /// IP address/mask that can access this port. Defaults to `0.0.0.0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ip")] pub r#ip: Box>, /// Protocol that can be used over this port. Defaults to `tcp`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "protocol")] pub r#protocol: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_upload.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_upload.rs index d148ccd1..1fd0c6b7 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_upload.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_upload.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ContainerUpload { /// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with `content_base64` & `source` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "content")] pub r#content: Box>, /// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See here for the reason. Conflicts with `content` & `source` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "contentBase64")] pub r#content_base_64: Box>, /// If `true`, the file will be uploaded with user executable permission. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "executable")] pub r#executable: Box>, /// Path to the file in the container where is upload goes to @@ -18,11 +18,11 @@ pub struct ContainerUpload { #[serde(rename = "file")] pub r#file: Box, /// A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with `content` & `content_base64` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "source")] pub r#source: Box>, /// If using `source`, this will force an update if the file content has updated but the filename has not. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sourceHash")] pub r#source_hash: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/container_volume.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/container_volume.rs index 34de7bc9..4ce034b0 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/container_volume.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/container_volume.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct ContainerVolume { /// The path in the container where the volume will be mounted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "containerPath")] pub r#container_path: Box>, /// The container where the volume is coming from. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fromContainer")] pub r#from_container: Box>, /// The path on the host where the volume is coming from. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hostPath")] pub r#host_path: Box>, /// If `true`, this volume will be readonly. Defaults to `false`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "readOnly")] pub r#read_only: Box>, /// The name of the docker volume which should be mounted. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "volumeName")] pub r#volume_name: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/docker_build.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/docker_build.rs index 3eee7b44..9af703a9 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/docker_build.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/docker_build.rs @@ -4,39 +4,39 @@ #[builder(finish_fn = build_struct)] pub struct DockerBuild { /// Custom host-to-IP mappings to use while building (format: "host:ip") - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "addHosts")] pub r#add_hosts: Box>>, /// An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass build-time variables that can be accessed like environment variables inside the RUN instruction. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "args")] pub r#args: Box>>, /// The version of the Docker builder. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "builderVersion")] pub r#builder_version: Box>, /// A list of image names to use as build cache. Images provided must have a cache manifest. Must provide authentication to cache registry. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheFrom")] pub r#cache_from: Box>, /// The path to the build context to use. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "context")] pub r#context: Box>, /// The path to the Dockerfile to use. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dockerfile")] pub r#dockerfile: Box>, /// Set the networking mode for RUN instructions - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "network")] pub r#network: Box>, /// The architecture of the platform you want to build this image for, e.g. `linux/arm64`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "platform")] pub r#platform: Box>, /// The target of the Dockerfile to build - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "target")] pub r#target: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/get_network_ipam_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/get_network_ipam_config.rs index 006f1c83..1545550f 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/get_network_ipam_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/get_network_ipam_config.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct GetNetworkIpamConfig { /// Auxiliary IPv4 or IPv6 addresses used by Network driver - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "auxAddress")] pub r#aux_address: Box>>, /// The IP address of the gateway - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gateway")] pub r#gateway: Box>, /// The ip range in CIDR form - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipRange")] pub r#ip_range: Box>, /// The subnet in CIDR form - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "subnet")] pub r#subnet: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/network_ipam_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/network_ipam_config.rs index c9062e01..e1c621c2 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/network_ipam_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/network_ipam_config.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct NetworkIpamConfig { /// Auxiliary IPv4 or IPv6 addresses used by Network driver - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "auxAddress")] pub r#aux_address: Box>>, /// The IP address of the gateway - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "gateway")] pub r#gateway: Box>, /// The ip range in CIDR form - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ipRange")] pub r#ip_range: Box>, /// The subnet in CIDR form - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "subnet")] pub r#subnet: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/provider_registry_auth.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/provider_registry_auth.rs index 53c07402..74cf99e5 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/provider_registry_auth.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/provider_registry_auth.rs @@ -5,23 +5,23 @@ pub struct ProviderRegistryAuth { #[builder(into)] #[serde(rename = "address")] pub r#address: Box, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authDisabled")] pub r#auth_disabled: Box>, /// Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `config_file` has predencen over all other options. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "configFile")] pub r#config_file: Box>, /// Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "configFileContent")] pub r#config_file_content: Box>, /// Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "password")] pub r#password: Box>, /// Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "username")] pub r#username: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/registry.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/registry.rs index 447e5014..0157fd67 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/registry.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/registry.rs @@ -4,15 +4,15 @@ #[builder(finish_fn = build_struct)] pub struct Registry { /// The password to authenticate to the registry. Does not cause image rebuild when changed. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "password")] pub r#password: Box>, /// The URL of the Docker registry server - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "server")] pub r#server: Box>, /// The username to authenticate to the registry. Does not cause image rebuild when changed. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "username")] pub r#username: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/registry_auth.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/registry_auth.rs index 9b428d9e..70309f48 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/registry_auth.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/registry_auth.rs @@ -5,23 +5,23 @@ pub struct RegistryAuth { #[builder(into)] #[serde(rename = "address")] pub r#address: Box, - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authDisabled")] pub r#auth_disabled: Box>, /// Path to docker json file for registry auth. Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `config_file` has predencen over all other options. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "configFile")] pub r#config_file: Box>, /// Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "configFileContent")] pub r#config_file_content: Box>, /// Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "password")] pub r#password: Box>, /// Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "username")] pub r#username: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/remote_image_build.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/remote_image_build.rs index aa1a35d7..56334131 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/remote_image_build.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/remote_image_build.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct RemoteImageBuild { /// The configuration for the authentication - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "authConfigs")] pub r#auth_configs: Box>>, /// Set build-time variables - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buildArg")] pub r#build_arg: Box>>, /// Pairs for build-time variables in the form TODO - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buildArgs")] pub r#build_args: Box>>, /// BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "buildId")] pub r#build_id: Box>, /// Images to consider as cache sources - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cacheFroms")] pub r#cache_froms: Box>>, /// Optional parent cgroup for the container - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cgroupParent")] pub r#cgroup_parent: Box>, /// Value to specify the build context. Currently, only a `PATH` context is supported. You can use the helper function '${path.cwd}/context-dir'. Please see https://docs.docker.com/build/building/context/ for more information about build contexts. @@ -30,115 +30,115 @@ pub struct RemoteImageBuild { #[serde(rename = "context")] pub r#context: Box, /// The length of a CPU period in microseconds - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cpuPeriod")] pub r#cpu_period: Box>, /// Microseconds of CPU time that the container can get in a CPU period - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cpuQuota")] pub r#cpu_quota: Box>, /// CPUs in which to allow execution (e.g., `0-3`, `0`, `1`) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cpuSetCpus")] pub r#cpu_set_cpus: Box>, /// MEMs in which to allow execution (`0-3`, `0`, `1`) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cpuSetMems")] pub r#cpu_set_mems: Box>, /// CPU shares (relative weight) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "cpuShares")] pub r#cpu_shares: Box>, /// Name of the Dockerfile. Defaults to `Dockerfile`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dockerfile")] pub r#dockerfile: Box>, /// A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"] - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "extraHosts")] pub r#extra_hosts: Box>>, /// Always remove intermediate containers - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "forceRemove")] pub r#force_remove: Box>, /// Isolation represents the isolation technology of a container. The supported values are - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "isolation")] pub r#isolation: Box>, /// Set metadata for an image - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "label")] pub r#label: Box>>, /// User-defined key/value metadata - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "labels")] pub r#labels: Box>>, /// Set memory limit for build - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "memory")] pub r#memory: Box>, /// Total memory (memory + swap), -1 to enable unlimited swap - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "memorySwap")] pub r#memory_swap: Box>, /// Set the networking mode for the RUN instructions during build - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "networkMode")] pub r#network_mode: Box>, /// Do not use the cache when building the image - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noCache")] pub r#no_cache: Box>, /// Set platform if server is multi-platform capable - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "platform")] pub r#platform: Box>, /// Attempt to pull the image even if an older image exists locally - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "pullParent")] pub r#pull_parent: Box>, /// A Git repository URI or HTTP/HTTPS context URI - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "remoteContext")] pub r#remote_context: Box>, /// Remove intermediate containers after a successful build. Defaults to `true`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "remove")] pub r#remove: Box>, /// The security options - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "securityOpts")] pub r#security_opts: Box>>, /// Set an ID for the build session - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sessionId")] pub r#session_id: Box>, /// Size of /dev/shm in bytes. The size must be greater than 0 - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "shmSize")] pub r#shm_size: Box>, /// If true the new layers are squashed into a new image with a single new layer - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "squash")] pub r#squash: Box>, /// Suppress the build output and print image ID on success - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "suppressOutput")] pub r#suppress_output: Box>, /// Name and optionally a tag in the 'name:tag' format - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tags")] pub r#tags: Box>>, /// Set the target build stage to build - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "target")] pub r#target: Box>, /// Configuration for ulimits - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ulimits")] pub r#ulimits: Box>>, /// Version of the underlying builder to use - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/remote_image_build_auth_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/remote_image_build_auth_config.rs index 3ada10d0..19209d33 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/remote_image_build_auth_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/remote_image_build_auth_config.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct RemoteImageBuildAuthConfig { /// the auth token - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "auth")] pub r#auth: Box>, /// the user emal - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "email")] pub r#email: Box>, /// hostname of the registry @@ -14,23 +14,23 @@ pub struct RemoteImageBuildAuthConfig { #[serde(rename = "hostName")] pub r#host_name: Box, /// the identity token - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "identityToken")] pub r#identity_token: Box>, /// the registry password - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "password")] pub r#password: Box>, /// the registry token - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "registryToken")] pub r#registry_token: Box>, /// the server address - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "serverAddress")] pub r#server_address: Box>, /// the registry user name - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "userName")] pub r#user_name: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_auth.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_auth.rs index 214d95a8..589172a8 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_auth.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_auth.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ServiceAuth { /// The password - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "password")] pub r#password: Box>, /// The address of the server for the authentication @@ -10,7 +10,7 @@ pub struct ServiceAuth { #[serde(rename = "serverAddress")] pub r#server_address: Box, /// The username - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "username")] pub r#username: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_converge_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_converge_config.rs index ea3a1de6..2ded6701 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_converge_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_converge_config.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceConvergeConfig { /// The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "delay")] pub r#delay: Box>, /// The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "timeout")] pub r#timeout: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_endpoint_spec.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_endpoint_spec.rs index d98eafae..c24d4d49 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_endpoint_spec.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_endpoint_spec.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceEndpointSpec { /// The mode of resolution to use for internal load balancing between tasks - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mode")] pub r#mode: Box>, /// List of exposed ports that this service is accessible on from the outside. Ports can only be provided if 'vip' resolution mode is used - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "ports")] pub r#ports: Box>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_endpoint_spec_port.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_endpoint_spec_port.rs index f55e1277..15ed9520 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_endpoint_spec_port.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_endpoint_spec_port.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct ServiceEndpointSpecPort { /// A random name for the port - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "protocol")] pub r#protocol: Box>, /// Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "publishMode")] pub r#publish_mode: Box>, /// The port on the swarm hosts - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "publishedPort")] pub r#published_port: Box>, /// The port inside the container diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_mode.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_mode.rs index 556c4712..008b9968 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_mode.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_mode.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceMode { /// When `true`, tasks will run on every worker node. Conflicts with `replicated` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "global")] pub r#global: Box>, /// The replicated service mode - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "replicated")] pub r#replicated: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_mode_replicated.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_mode_replicated.rs index e726764d..93536815 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_mode_replicated.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_mode_replicated.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ServiceModeReplicated { /// The amount of replicas of the service. Defaults to `1` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "replicas")] pub r#replicas: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_rollback_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_rollback_config.rs index e8cb150d..c1862231 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_rollback_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_rollback_config.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct ServiceRollbackConfig { /// Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "delay")] pub r#delay: Box>, /// Action on rollback failure: pause | continue. Defaults to `pause`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "failureAction")] pub r#failure_action: Box>, /// Failure rate to tolerate during a rollback. Defaults to `0.0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxFailureRatio")] pub r#max_failure_ratio: Box>, /// Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "monitor")] pub r#monitor: Box>, /// Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "order")] pub r#order: Box>, /// Maximum number of tasks to be rollbacked in one iteration. Defaults to `1` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "parallelism")] pub r#parallelism: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec.rs index ca4c603d..cf68eed2 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec.rs @@ -6,31 +6,31 @@ pub struct ServiceTaskSpec { #[serde(rename = "containerSpec")] pub r#container_spec: Box, /// A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "forceUpdate")] pub r#force_update: Box>, /// Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "logDriver")] pub r#log_driver: Box>, /// The networks the container is attached to - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "networksAdvanceds")] pub r#networks_advanceds: Box>>, /// The placement preferences - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "placement")] pub r#placement: Box>, /// Resource requirements which apply to each individual container created as part of the service - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "resources")] pub r#resources: Box>, /// Specification for the restart policy which applies to containers created as part of this service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "restartPolicy")] pub r#restart_policy: Box>, /// Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go). - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "runtime")] pub r#runtime: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec.rs index af479829..4cafaf9d 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec.rs @@ -2,43 +2,43 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpec { /// Arguments to the command - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "args")] pub r#args: Box>>, /// The command/entrypoint to be run in the image. According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "commands")] pub r#commands: Box>>, /// References to zero or more configs that will be exposed to the service - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "configs")] pub r#configs: Box>>, /// The working directory for commands to run in - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dir")] pub r#dir: Box>, /// Specification for DNS related configurations in resolver configuration file (`resolv.conf`) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dnsConfig")] pub r#dns_config: Box>, /// A list of environment variables in the form VAR="value" - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "env")] pub r#env: Box>>, /// A list of additional groups that the container process will run as - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "groups")] pub r#groups: Box>>, /// A test to perform to check that the container is healthy - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "healthcheck")] pub r#healthcheck: Box>, /// The hostname to use for the container, as a valid RFC 1123 hostname - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hostname")] pub r#hostname: Box>, /// A list of hostname/IP mappings to add to the container's hosts file - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "hosts")] pub r#hosts: Box>>, /// The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `docker.RemoteImage` with the `repo_digest` or `docker.RegistryImage` with the `name` attribute for this, as shown in the examples. @@ -46,43 +46,43 @@ pub struct ServiceTaskSpecContainerSpec { #[serde(rename = "image")] pub r#image: Box, /// Isolation technology of the containers running the service. (Windows only). Defaults to `default`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "isolation")] pub r#isolation: Box>, /// User-defined key/value metadata - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "labels")] pub r#labels: Box>>, /// Specification for mounts to be added to containers created as part of the service - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mounts")] pub r#mounts: Box>>, /// Security options for the container - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "privileges")] pub r#privileges: Box>, /// Mount the container's root filesystem as read only - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "readOnly")] pub r#read_only: Box>, /// References to zero or more secrets that will be exposed to the service - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "secrets")] pub r#secrets: Box>>, /// Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "stopGracePeriod")] pub r#stop_grace_period: Box>, /// Signal to stop the container - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "stopSignal")] pub r#stop_signal: Box>, /// Sysctls config (Linux only) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sysctl")] pub r#sysctl: Box>>, /// The user inside the container - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "user")] pub r#user: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_config.rs index 68e2a9f3..23cad1df 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_config.rs @@ -6,15 +6,15 @@ pub struct ServiceTaskSpecContainerSpecConfig { #[serde(rename = "configId")] pub r#config_id: Box, /// Name of the config that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "configName")] pub r#config_name: Box>, /// Represents the file GID. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fileGid")] pub r#file_gid: Box>, /// Represents represents the FileMode of the file. Defaults to `0o444`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fileMode")] pub r#file_mode: Box>, /// Represents the final filename in the filesystem @@ -22,7 +22,7 @@ pub struct ServiceTaskSpecContainerSpecConfig { #[serde(rename = "fileName")] pub r#file_name: Box, /// Represents the file UID. Defaults to `0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fileUid")] pub r#file_uid: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_dns_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_dns_config.rs index d56f7ec3..bdf8039f 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_dns_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_dns_config.rs @@ -6,11 +6,11 @@ pub struct ServiceTaskSpecContainerSpecDnsConfig { #[serde(rename = "nameservers")] pub r#nameservers: Box>, /// A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "options")] pub r#options: Box>>, /// A search list for host-name lookup - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "searches")] pub r#searches: Box>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_healthcheck.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_healthcheck.rs index cd62326a..8030995f 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_healthcheck.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_healthcheck.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecHealthcheck { /// Time between running the check (ms|s|m|h). Defaults to `0s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "interval")] pub r#interval: Box>, /// Consecutive failures needed to report unhealthy. Defaults to `0` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "retries")] pub r#retries: Box>, /// Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "startPeriod")] pub r#start_period: Box>, /// The test to perform as list @@ -18,7 +18,7 @@ pub struct ServiceTaskSpecContainerSpecHealthcheck { #[serde(rename = "tests")] pub r#tests: Box>, /// Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "timeout")] pub r#timeout: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount.rs index 0d0ff21a..5625b668 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecMount { /// Optional configuration for the bind type - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "bindOptions")] pub r#bind_options: Box>, /// Whether the mount should be read-only - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "readOnly")] pub r#read_only: Box>, /// Mount source (e.g. a volume name, a host path) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "source")] pub r#source: Box>, /// Container path @@ -18,7 +18,7 @@ pub struct ServiceTaskSpecContainerSpecMount { #[serde(rename = "target")] pub r#target: Box, /// Optional configuration for the tmpfs type - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "tmpfsOptions")] pub r#tmpfs_options: Box>, /// The mount type @@ -26,7 +26,7 @@ pub struct ServiceTaskSpecContainerSpecMount { #[serde(rename = "type")] pub r#type: Box, /// Optional configuration for the volume type - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "volumeOptions")] pub r#volume_options: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_bind_options.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_bind_options.rs index 9f42490e..653f4542 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_bind_options.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_bind_options.rs @@ -2,7 +2,7 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecMountBindOptions { /// Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "propagation")] pub r#propagation: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_tmpfs_options.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_tmpfs_options.rs index 76413099..c796d761 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_tmpfs_options.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_tmpfs_options.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecMountTmpfsOptions { /// The permission mode for the tmpfs mount in an integer - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "mode")] pub r#mode: Box>, /// The size for the tmpfs mount in bytes - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sizeBytes")] pub r#size_bytes: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_volume_options.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_volume_options.rs index 64bf63fe..657fccb7 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_volume_options.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_mount_volume_options.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecMountVolumeOptions { /// Name of the driver to use to create the volume - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "driverName")] pub r#driver_name: Box>, /// key/value map of driver specific options - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "driverOptions")] pub r#driver_options: Box>>, /// User-defined key/value metadata - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "labels")] pub r#labels: Box>>, /// Populate volume with data from the target - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "noCopy")] pub r#no_copy: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges.rs index 0fdf537f..52ed44e5 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecPrivileges { /// CredentialSpec for managed service account (Windows only) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "credentialSpec")] pub r#credential_spec: Box>, /// SELinux labels of the container - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "seLinuxContext")] pub r#se_linux_context: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges_credential_spec.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges_credential_spec.rs index 5d8076b7..dcbb2ca5 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges_credential_spec.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges_credential_spec.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecPrivilegesCredentialSpec { /// Load credential spec from this file - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "file")] pub r#file: Box>, /// Load credential spec from this value in the Windows registry - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "registry")] pub r#registry: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges_se_linux_context.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges_se_linux_context.rs index 91384c85..2008b4ba 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges_se_linux_context.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_privileges_se_linux_context.rs @@ -2,23 +2,23 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext { /// Disable SELinux - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "disable")] pub r#disable: Box>, /// SELinux level label - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "level")] pub r#level: Box>, /// SELinux role label - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "role")] pub r#role: Box>, /// SELinux type label - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "type")] pub r#type: Box>, /// SELinux user label - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "user")] pub r#user: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_secret.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_secret.rs index 254383a7..e69c8bfc 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_secret.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_container_spec_secret.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecContainerSpecSecret { /// Represents the file GID. Defaults to `0` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fileGid")] pub r#file_gid: Box>, /// Represents represents the FileMode of the file. Defaults to `0o444` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fileMode")] pub r#file_mode: Box>, /// Represents the final filename in the filesystem @@ -14,7 +14,7 @@ pub struct ServiceTaskSpecContainerSpecSecret { #[serde(rename = "fileName")] pub r#file_name: Box, /// Represents the file UID. Defaults to `0` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "fileUid")] pub r#file_uid: Box>, /// ID of the specific secret that we're referencing @@ -22,7 +22,7 @@ pub struct ServiceTaskSpecContainerSpecSecret { #[serde(rename = "secretId")] pub r#secret_id: Box, /// Name of the secret that this references, but this is just provided for lookup/display purposes. The config in the reference will be identified by its ID - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "secretName")] pub r#secret_name: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_log_driver.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_log_driver.rs index 71ae1831..180765fa 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_log_driver.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_log_driver.rs @@ -6,7 +6,7 @@ pub struct ServiceTaskSpecLogDriver { #[serde(rename = "name")] pub r#name: Box, /// The options for the logging driver - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "options")] pub r#options: Box>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_networks_advanced.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_networks_advanced.rs index b5f9099b..ccca5e40 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_networks_advanced.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_networks_advanced.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecNetworksAdvanced { /// The network aliases of the container in the specific network. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "aliases")] pub r#aliases: Box>>, /// An array of driver options for the network, e.g. `opts1=value` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "driverOpts")] pub r#driver_opts: Box>>, /// The name/id of the network. diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_placement.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_placement.rs index d65f3565..57dc7ea8 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_placement.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_placement.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecPlacement { /// An array of constraints. e.g.: `node.role==manager` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "constraints")] pub r#constraints: Box>>, /// Maximum number of replicas for per node (default value is `0`, which is unlimited) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxReplicas")] pub r#max_replicas: Box>, /// Platforms stores all the platforms that the service's image can run on - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "platforms")] pub r#platforms: Box>>, /// Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "prefs")] pub r#prefs: Box>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources.rs index a8401f2c..136e8352 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecResources { /// Describes the resources which can be advertised by a node and requested by a task - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "limits")] pub r#limits: Box>, /// An object describing the resources which can be advertised by a node and requested by a task - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "reservation")] pub r#reservation: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_limits.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_limits.rs index 71322cde..6dd53c50 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_limits.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_limits.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecResourcesLimits { /// The amounf of memory in bytes the container allocates - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "memoryBytes")] pub r#memory_bytes: Box>, /// CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nanoCpus")] pub r#nano_cpus: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_reservation.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_reservation.rs index 183a382e..ae93f9e7 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_reservation.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_reservation.rs @@ -2,15 +2,15 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecResourcesReservation { /// User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, GPU=UUID1) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "genericResources")] pub r#generic_resources: Box>, /// The amounf of memory in bytes the container allocates - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "memoryBytes")] pub r#memory_bytes: Box>, /// CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "nanoCpus")] pub r#nano_cpus: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_reservation_generic_resources.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_reservation_generic_resources.rs index 15c91d09..74f2adca 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_reservation_generic_resources.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_resources_reservation_generic_resources.rs @@ -2,11 +2,11 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecResourcesReservationGenericResources { /// The Integer resources - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "discreteResourcesSpecs")] pub r#discrete_resources_specs: Box>>, /// The String resources - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "namedResourcesSpecs")] pub r#named_resources_specs: Box>>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_restart_policy.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_restart_policy.rs index 49a94b09..cc01ffa5 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_restart_policy.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_task_spec_restart_policy.rs @@ -2,19 +2,19 @@ #[builder(finish_fn = build_struct)] pub struct ServiceTaskSpecRestartPolicy { /// Condition for restart - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "condition")] pub r#condition: Box>, /// Delay between restart attempts (ms|s|m|h) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "delay")] pub r#delay: Box>, /// Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxAttempts")] pub r#max_attempts: Box>, /// The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h) - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "window")] pub r#window: Box>, } diff --git a/providers/pulumi_wasm_provider_docker_rust/src/types/service_update_config.rs b/providers/pulumi_wasm_provider_docker_rust/src/types/service_update_config.rs index f11bba37..f106b658 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/types/service_update_config.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/types/service_update_config.rs @@ -2,27 +2,27 @@ #[builder(finish_fn = build_struct)] pub struct ServiceUpdateConfig { /// Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "delay")] pub r#delay: Box>, /// Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "failureAction")] pub r#failure_action: Box>, /// Failure rate to tolerate during an update. Defaults to `0.0`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "maxFailureRatio")] pub r#max_failure_ratio: Box>, /// Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "monitor")] pub r#monitor: Box>, /// Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "order")] pub r#order: Box>, /// Maximum number of tasks to be updated in one iteration. Defaults to `1` - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "parallelism")] pub r#parallelism: Box>, } diff --git a/providers/pulumi_wasm_provider_random_rust/src/resource/random_bytes.rs b/providers/pulumi_wasm_provider_random_rust/src/resource/random_bytes.rs index 5b1d1544..bbcd2872 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/resource/random_bytes.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/resource/random_bytes.rs @@ -29,7 +29,7 @@ #[builder(finish_fn = build_struct)] pub struct RandomBytesArgs { /// Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keepers: pulumi_wasm_rust::Output>>, /// The number of bytes requested. The minimum value for length is 1. #[builder(into)] diff --git a/providers/pulumi_wasm_provider_random_rust/src/resource/random_id.rs b/providers/pulumi_wasm_provider_random_rust/src/resource/random_id.rs index 94cd2a8a..8aa79bb5 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/resource/random_id.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/resource/random_id.rs @@ -58,10 +58,10 @@ pub struct RandomIdArgs { #[builder(into)] pub byte_length: pulumi_wasm_rust::Output, /// Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keepers: pulumi_wasm_rust::Output>>, /// Arbitrary string to prefix the output value with. This string is supplied as-is, meaning it is not guaranteed to be URL-safe or base64 encoded. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub prefix: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_random_rust/src/resource/random_integer.rs b/providers/pulumi_wasm_provider_random_rust/src/resource/random_integer.rs index ba61650a..9cfdf3d1 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/resource/random_integer.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/resource/random_integer.rs @@ -39,7 +39,7 @@ #[builder(finish_fn = build_struct)] pub struct RandomIntegerArgs { /// Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keepers: pulumi_wasm_rust::Output>>, /// The maximum inclusive value of the range. #[builder(into)] @@ -48,7 +48,7 @@ pub struct RandomIntegerArgs { #[builder(into)] pub min: pulumi_wasm_rust::Output, /// A custom seed to always produce the same value. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub seed: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_random_rust/src/resource/random_password.rs b/providers/pulumi_wasm_provider_random_rust/src/resource/random_password.rs index d0a7c752..6dc82ac1 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/resource/random_password.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/resource/random_password.rs @@ -36,40 +36,40 @@ #[builder(finish_fn = build_struct)] pub struct RandomPasswordArgs { /// Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keepers: pulumi_wasm_rust::Output>>, /// The length of the string desired. The minimum value for length is 1 and, length must also be >= (`min_upper` + `min_lower` + `min_numeric` + `min_special`). #[builder(into)] pub length: pulumi_wasm_rust::Output, /// Include lowercase alphabet characters in the result. Default value is `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub lower: pulumi_wasm_rust::Output>, /// Minimum number of lowercase alphabet characters in the result. Default value is `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_lower: pulumi_wasm_rust::Output>, /// Minimum number of numeric characters in the result. Default value is `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_numeric: pulumi_wasm_rust::Output>, /// Minimum number of special characters in the result. Default value is `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_special: pulumi_wasm_rust::Output>, /// Minimum number of uppercase alphabet characters in the result. Default value is `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_upper: pulumi_wasm_rust::Output>, /// Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub number: pulumi_wasm_rust::Output>, /// Include numeric characters in the result. Default value is `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub numeric: pulumi_wasm_rust::Output>, /// Supply your own list of special characters to use for string generation. This overrides the default character list in the special argument. The `special` argument must still be set to true for any overwritten characters to be used in generation. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub override_special: pulumi_wasm_rust::Output>, /// Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`. Default value is `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub special: pulumi_wasm_rust::Output>, /// Include uppercase alphabet characters in the result. Default value is `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub upper: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_random_rust/src/resource/random_pet.rs b/providers/pulumi_wasm_provider_random_rust/src/resource/random_pet.rs index fccd9027..6c17f522 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/resource/random_pet.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/resource/random_pet.rs @@ -28,16 +28,16 @@ #[builder(finish_fn = build_struct)] pub struct RandomPetArgs { /// Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keepers: pulumi_wasm_rust::Output>>, /// The length (in words) of the pet name. Defaults to 2 - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub length: pulumi_wasm_rust::Output>, /// A string to prefix the name with. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub prefix: pulumi_wasm_rust::Output>, /// The character to separate words in the pet name. Defaults to "-" - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub separator: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_random_rust/src/resource/random_shuffle.rs b/providers/pulumi_wasm_provider_random_rust/src/resource/random_shuffle.rs index af1cc4a9..e575f702 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/resource/random_shuffle.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/resource/random_shuffle.rs @@ -28,13 +28,13 @@ pub struct RandomShuffleArgs { #[builder(into)] pub inputs: pulumi_wasm_rust::Output>, /// Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keepers: pulumi_wasm_rust::Output>>, /// The number of results to return. Defaults to the number of items in the `input` list. If fewer items are requested, some elements will be excluded from the result. If more items are requested, items will be repeated in the result but not more frequently than the number of items in the input list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub result_count: pulumi_wasm_rust::Output>, /// Arbitrary string with which to seed the random number generator, in order to produce less-volatile permutations of the list. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub seed: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_random_rust/src/resource/random_string.rs b/providers/pulumi_wasm_provider_random_rust/src/resource/random_string.rs index 6568b35c..9735275f 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/resource/random_string.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/resource/random_string.rs @@ -39,40 +39,40 @@ #[builder(finish_fn = build_struct)] pub struct RandomStringArgs { /// Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keepers: pulumi_wasm_rust::Output>>, /// The length of the string desired. The minimum value for length is 1 and, length must also be >= (`min_upper` + `min_lower` + `min_numeric` + `min_special`). #[builder(into)] pub length: pulumi_wasm_rust::Output, /// Include lowercase alphabet characters in the result. Default value is `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub lower: pulumi_wasm_rust::Output>, /// Minimum number of lowercase alphabet characters in the result. Default value is `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_lower: pulumi_wasm_rust::Output>, /// Minimum number of numeric characters in the result. Default value is `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_numeric: pulumi_wasm_rust::Output>, /// Minimum number of special characters in the result. Default value is `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_special: pulumi_wasm_rust::Output>, /// Minimum number of uppercase alphabet characters in the result. Default value is `0`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub min_upper: pulumi_wasm_rust::Output>, /// Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub number: pulumi_wasm_rust::Output>, /// Include numeric characters in the result. Default value is `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub numeric: pulumi_wasm_rust::Output>, /// Supply your own list of special characters to use for string generation. This overrides the default character list in the special argument. The `special` argument must still be set to true for any overwritten characters to be used in generation. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub override_special: pulumi_wasm_rust::Output>, /// Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`. Default value is `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub special: pulumi_wasm_rust::Output>, /// Include uppercase alphabet characters in the result. Default value is `true`. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub upper: pulumi_wasm_rust::Output>, } diff --git a/providers/pulumi_wasm_provider_random_rust/src/resource/random_uuid.rs b/providers/pulumi_wasm_provider_random_rust/src/resource/random_uuid.rs index 7b24b865..41932c58 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/resource/random_uuid.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/resource/random_uuid.rs @@ -28,7 +28,7 @@ #[builder(finish_fn = build_struct)] pub struct RandomUuidArgs { /// Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub keepers: pulumi_wasm_rust::Output>>, } diff --git a/providers/pulumi_wasm_provider_typesystem_rust/src/lib.rs b/providers/pulumi_wasm_provider_typesystem_rust/src/lib.rs index 039d2170..56f97604 100644 --- a/providers/pulumi_wasm_provider_typesystem_rust/src/lib.rs +++ b/providers/pulumi_wasm_provider_typesystem_rust/src/lib.rs @@ -20,5 +20,5 @@ mod bindings { fn into_domain(output: WitOutput) -> Output { unsafe { Output::::new_from_handle(output) } } -pulumi_wasm_provider_common::generate_string_const!(__ConstString_1, "1"); -pulumi_wasm_provider_common::generate_string_const!(__ConstString_2, "2"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_1, "1"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_2, "2"); diff --git a/providers/pulumi_wasm_provider_typesystem_rust/src/resource/typesystem_server.rs b/providers/pulumi_wasm_provider_typesystem_rust/src/resource/typesystem_server.rs index 5ceb1065..c260cd27 100644 --- a/providers/pulumi_wasm_provider_typesystem_rust/src/resource/typesystem_server.rs +++ b/providers/pulumi_wasm_provider_typesystem_rust/src/resource/typesystem_server.rs @@ -2,13 +2,13 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct TypesystemServerArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub optional_string_array: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub optional_string_input: pulumi_wasm_rust::Output>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub optional_union: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub properties_collection: pulumi_wasm_rust::Output>>>, #[builder(into)] pub required_string_array: pulumi_wasm_rust::Output>, diff --git a/providers/pulumi_wasm_provider_typesystem_rust/src/types/union_case_with_const_1.rs b/providers/pulumi_wasm_provider_typesystem_rust/src/types/union_case_with_const_1.rs index 0fb80d59..96671d2f 100644 --- a/providers/pulumi_wasm_provider_typesystem_rust/src/types/union_case_with_const_1.rs +++ b/providers/pulumi_wasm_provider_typesystem_rust/src/types/union_case_with_const_1.rs @@ -1,9 +1,9 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct UnionCaseWithConst1 { - #[builder(into)] + #[builder(into, default)] #[serde(rename = "field")] - pub r#field: Box, + pub r#field: Box, #[builder(into)] #[serde(rename = "field1")] pub r#field_1: Box, diff --git a/providers/pulumi_wasm_provider_typesystem_rust/src/types/union_case_with_const_2.rs b/providers/pulumi_wasm_provider_typesystem_rust/src/types/union_case_with_const_2.rs index 2a33c180..0d20c387 100644 --- a/providers/pulumi_wasm_provider_typesystem_rust/src/types/union_case_with_const_2.rs +++ b/providers/pulumi_wasm_provider_typesystem_rust/src/types/union_case_with_const_2.rs @@ -1,9 +1,9 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct UnionCaseWithConst2 { - #[builder(into)] + #[builder(into, default)] #[serde(rename = "field")] - pub r#field: Box, + pub r#field: Box, #[builder(into)] #[serde(rename = "field2")] pub r#field_2: Box, diff --git a/pulumi_wasm_generator_lib/src/model.rs b/pulumi_wasm_generator_lib/src/model.rs index 15c1c3c6..fcef9c9d 100644 --- a/pulumi_wasm_generator_lib/src/model.rs +++ b/pulumi_wasm_generator_lib/src/model.rs @@ -15,7 +15,7 @@ pub(crate) enum Type { Ref(Ref), Option(Box), DiscriminatedUnion(Vec), - ConstString(String) + ConstString(String), } impl Type { @@ -49,7 +49,7 @@ impl Type { .collect::>() .join(", ") ), - Type::ConstString(s) => format!("crate::__ConstString_{}", s).to_string(), + Type::ConstString(s) => format!("crate::ConstString_{}", s).to_string(), } } diff --git a/pulumi_wasm_generator_lib/src/output/rust/function_code.rs.handlebars b/pulumi_wasm_generator_lib/src/output/rust/function_code.rs.handlebars index 99038c52..517dbfdf 100644 --- a/pulumi_wasm_generator_lib/src/output/rust/function_code.rs.handlebars +++ b/pulumi_wasm_generator_lib/src/output/rust/function_code.rs.handlebars @@ -10,8 +10,8 @@ pub struct {{interface.struct_name}}Args { {{#each description_lines}} /// {{&this}} {{/each}} - {{#if optional}} - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + {{#if default}} + #[builder(into, default)] {{else}} #[builder(into)] {{/if}} diff --git a/pulumi_wasm_generator_lib/src/output/rust/lib.rs.handlebars b/pulumi_wasm_generator_lib/src/output/rust/lib.rs.handlebars index b9c57e43..bee10175 100644 --- a/pulumi_wasm_generator_lib/src/output/rust/lib.rs.handlebars +++ b/pulumi_wasm_generator_lib/src/output/rust/lib.rs.handlebars @@ -36,5 +36,5 @@ fn into_domain(output: WitOutput) -> Output { } {{/if}} {{#each package.const_strings}} -pulumi_wasm_provider_common::generate_string_const!(__ConstString_{{&this}}, "{{&this}}"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_{{&this}}, "{{&this}}"); {{/each}} \ No newline at end of file diff --git a/pulumi_wasm_generator_lib/src/output/rust/resource_code.rs.handlebars b/pulumi_wasm_generator_lib/src/output/rust/resource_code.rs.handlebars index 9ab1b1ab..c6f528fe 100644 --- a/pulumi_wasm_generator_lib/src/output/rust/resource_code.rs.handlebars +++ b/pulumi_wasm_generator_lib/src/output/rust/resource_code.rs.handlebars @@ -9,8 +9,8 @@ pub struct {{interface.struct_name}}Args { {{#each description_lines}} /// {{&this}} {{/each}} - {{#if optional}} - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + {{#if default}} + #[builder(into, default)] {{else}} #[builder(into)] {{/if}} diff --git a/pulumi_wasm_generator_lib/src/output/rust/source_code_function_code.rs b/pulumi_wasm_generator_lib/src/output/rust/source_code_function_code.rs index a5c09f1e..0882d285 100644 --- a/pulumi_wasm_generator_lib/src/output/rust/source_code_function_code.rs +++ b/pulumi_wasm_generator_lib/src/output/rust/source_code_function_code.rs @@ -14,7 +14,8 @@ struct InputProperty { arg_name: String, type_: String, description_lines: Vec, - optional: bool, + default: bool, + const_string: bool, } #[derive(Serialize)] @@ -62,7 +63,11 @@ fn convert_model(package: &crate::model::Package) -> Package { .map(|input_property| InputProperty { name: input_property.name.clone(), arg_name: input_property.get_rust_argument_name(), - optional: matches!(input_property.r#type, Type::Option(_)), + default: matches!( + input_property.r#type, + Type::Option(_) | Type::ConstString(_) + ), + const_string: matches!(input_property.r#type, Type::ConstString(_)), type_: input_property.r#type.get_rust_type(), description_lines: crate::utils::to_lines( input_property.description.clone(), diff --git a/pulumi_wasm_generator_lib/src/output/rust/source_code_librs.rs b/pulumi_wasm_generator_lib/src/output/rust/source_code_librs.rs index e0ac5222..b0e73eb1 100644 --- a/pulumi_wasm_generator_lib/src/output/rust/source_code_librs.rs +++ b/pulumi_wasm_generator_lib/src/output/rust/source_code_librs.rs @@ -1,10 +1,10 @@ -use std::collections::BTreeSet; +use crate::model::GlobalType; use crate::output::get_main_version; use handlebars::Handlebars; +use itertools::Itertools; use serde::Serialize; use serde_json::json; -use crate::model::GlobalType; -use itertools::Itertools; +use std::collections::BTreeSet; static TEMPLATE: &str = include_str!("lib.rs.handlebars"); @@ -36,23 +36,23 @@ fn convert_model(package: &crate::model::Package) -> Package { fn find_consts(package: &crate::model::Package) -> Vec { let mut consts = BTreeSet::new(); - for (_, resource) in &package.resources { - for (input) in &resource.input_properties { + for resource in package.resources.values() { + for input in &resource.input_properties { consts.extend(input.r#type.get_consts().clone()); } - for (output) in &resource.output_properties { + for output in &resource.output_properties { consts.extend(output.r#type.get_consts().clone()); } } - for (_, function) in &package.functions { - for (input) in &function.input_properties { + for function in package.functions.values() { + for input in &function.input_properties { consts.extend(input.r#type.get_consts().clone()); } - for (output) in &function.output_properties { + for output in &function.output_properties { consts.extend(output.r#type.get_consts().clone()); } } - for (_, type_) in &package.types { + for type_ in package.types.values() { if let GlobalType::Object(_, obj) = type_ { for gtp in obj { consts.extend(gtp.r#type.get_consts().clone()); diff --git a/pulumi_wasm_generator_lib/src/output/rust/source_code_resource_code.rs b/pulumi_wasm_generator_lib/src/output/rust/source_code_resource_code.rs index ecaeab49..b674184a 100644 --- a/pulumi_wasm_generator_lib/src/output/rust/source_code_resource_code.rs +++ b/pulumi_wasm_generator_lib/src/output/rust/source_code_resource_code.rs @@ -14,7 +14,7 @@ struct InputProperty { arg_name: String, type_: String, description_lines: Vec, - optional: bool, + default: bool, } #[derive(Serialize)] @@ -63,7 +63,10 @@ fn convert_model(package: &crate::model::Package) -> Package { .map(|input_property| InputProperty { name: input_property.name.clone(), arg_name: input_property.get_rust_argument_name(), - optional: matches!(input_property.r#type, Type::Option(_)), + default: matches!( + input_property.r#type, + Type::Option(_) | Type::ConstString(_) + ), type_: input_property.r#type.get_rust_type(), description_lines: crate::utils::to_lines( input_property.description.clone(), diff --git a/pulumi_wasm_generator_lib/src/output/rust/source_code_types_code.rs b/pulumi_wasm_generator_lib/src/output/rust/source_code_types_code.rs index 02798c26..e221b7eb 100644 --- a/pulumi_wasm_generator_lib/src/output/rust/source_code_types_code.rs +++ b/pulumi_wasm_generator_lib/src/output/rust/source_code_types_code.rs @@ -15,7 +15,7 @@ struct Property { original_name: String, type_: String, description_lines: Vec, - optional: bool, + default: bool, } #[derive(Serialize)] @@ -79,7 +79,10 @@ fn convert_model(package: &crate::model::Package) -> Package { .to_case(Case::Snake), original_name: global_type_property.name.clone(), type_: global_type_property.r#type.get_rust_type(), - optional: matches!(global_type_property.r#type, Type::Option(_)), + default: matches!( + global_type_property.r#type, + Type::Option(_) | Type::ConstString(_) + ), description_lines: crate::utils::to_lines( global_type_property.description.clone(), package, @@ -90,12 +93,12 @@ fn convert_model(package: &crate::model::Package) -> Package { const_strings: properties .iter() .flat_map(|global_type_property| global_type_property.r#type.get_consts()) - .collect() + .collect(), }; real_types.push(ref_type); } GlobalType::StringEnum(description, enum_values) => { - let enum_type = Enum { + let enum_type = Enum { struct_name: element_id.get_rust_struct_name(), file_name: element_id.get_rust_struct_name().to_case(Case::Snake), description_lines: crate::utils::to_lines(description.clone(), package, None), diff --git a/pulumi_wasm_generator_lib/src/output/rust/types_code.rs.handlebars b/pulumi_wasm_generator_lib/src/output/rust/types_code.rs.handlebars index cb969be5..4521148c 100644 --- a/pulumi_wasm_generator_lib/src/output/rust/types_code.rs.handlebars +++ b/pulumi_wasm_generator_lib/src/output/rust/types_code.rs.handlebars @@ -9,8 +9,8 @@ pub struct {{type.struct_name}} { {{#each field.description_lines}} /// {{&this}} {{/each}} - {{#if optional}} - #[builder(into, default = Box::new(None))] + {{#if default}} + #[builder(into, default)] {{else}} #[builder(into)] {{/if}} diff --git a/pulumi_wasm_generator_lib/src/schema.rs b/pulumi_wasm_generator_lib/src/schema.rs index fb47aee2..f0b933d5 100644 --- a/pulumi_wasm_generator_lib/src/schema.rs +++ b/pulumi_wasm_generator_lib/src/schema.rs @@ -37,7 +37,7 @@ struct Type { #[serde(rename = "oneOf")] one_of: Option>, #[serde(rename = "const")] - const_: Option + const_: Option, } #[derive(Deserialize, Debug)] @@ -138,7 +138,6 @@ pub(crate) struct Package { //TODO: Fix formatting fn new_type_mapper(type_: &Type) -> Result { - println!("{:?}", type_); (match type_ { Type { ref_: Some(ref r), .. @@ -513,7 +512,7 @@ mod test { vec![ "Cannot handle resources", "Cannot handle [test_input] type", - "Cannot handle type: [Type { type_: Some(Object), description: None, ref_: None, items: None, additional_properties: None, one_of: None }]", + "Cannot handle type: [Type { type_: Some(Object), description: None, ref_: None, items: None, additional_properties: None, one_of: None, const_: None }]", "Object does not have 'additionalProperties' field", ], chain @@ -549,7 +548,7 @@ mod test { vec![ "Cannot handle resources", "Cannot handle [test_input] type", - "Cannot handle type: [Type { type_: Some(Array), description: None, ref_: None, items: None, additional_properties: None, one_of: None }]", + "Cannot handle type: [Type { type_: Some(Array), description: None, ref_: None, items: None, additional_properties: None, one_of: None, const_: None }]", "Array does not have 'items' field", ], chain diff --git a/pulumi_wasm_generator_lib/tests/output/mini-awsnative/lib/src/types/ignore_tags.rs b/pulumi_wasm_generator_lib/tests/output/mini-awsnative/lib/src/types/ignore_tags.rs index 49246def..b0000b06 100644 --- a/pulumi_wasm_generator_lib/tests/output/mini-awsnative/lib/src/types/ignore_tags.rs +++ b/pulumi_wasm_generator_lib/tests/output/mini-awsnative/lib/src/types/ignore_tags.rs @@ -4,11 +4,11 @@ #[builder(finish_fn = build_struct)] pub struct IgnoreTags { /// List of exact resource tag keys to ignore across all resources handled by this provider. This configuration prevents Pulumi from returning the tag in any `tags` attributes and displaying any configuration difference for the tag value. If any resource configuration still has this tag key configured in the `tags` argument, it will display a perpetual difference until the tag is removed from the argument or `ignoreChanges` is also used. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keyPrefixes")] pub r#key_prefixes: Box>>, /// List of resource tag key prefixes to ignore across all resources handled by this provider. This configuration prevents Pulumi from returning any tag key matching the prefixes in any `tags` attributes and displaying any configuration difference for those tag values. If any resource configuration still has a tag matching one of the prefixes configured in the `tags` argument, it will display a perpetual difference until the tag is removed from the argument or `ignoreChanges` is also used. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "keys")] pub r#keys: Box>>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/function/list_configurations.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/function/list_configurations.rs index 9254c380..dbe6c5d9 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/function/list_configurations.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/function/list_configurations.rs @@ -8,10 +8,10 @@ pub struct ListConfigurationsArgs { #[builder(into)] pub configuration_filters: pulumi_wasm_rust::Output>, /// Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub customer_subscription_details: pulumi_wasm_rust::Output>, /// $skipToken is supported on list of configurations, which provides the next page in the list of configurations. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub skip_token: pulumi_wasm_rust::Output>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/function/list_product_families.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/function/list_product_families.rs index 7f16d6f5..844611da 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/function/list_product_families.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/function/list_product_families.rs @@ -5,16 +5,16 @@ #[builder(finish_fn = build_struct)] pub struct ListProductFamiliesArgs { /// Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub customer_subscription_details: pulumi_wasm_rust::Output>, /// $expand is supported on configurations parameter for product, which provides details on the configurations for the product. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expand: pulumi_wasm_rust::Output>, /// Dictionary of filterable properties on product family. #[builder(into)] pub filterable_properties: pulumi_wasm_rust::Output>>, /// $skipToken is supported on list of product families, which provides the next page in the list of product families. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub skip_token: pulumi_wasm_rust::Output>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/lib.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/lib.rs index ce148f02..b570f7df 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/lib.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/lib.rs @@ -20,3 +20,5 @@ mod bindings { fn into_domain(output: WitOutput) -> Output { unsafe { Output::::new_from_handle(output) } } +pulumi_wasm_provider_common::generate_string_const!(ConstString_Pav2, "Pav2"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_Purchase, "Purchase"); diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/configuration_filters.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/configuration_filters.rs index 068e429c..d585a7a5 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/configuration_filters.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/configuration_filters.rs @@ -4,7 +4,7 @@ #[builder(finish_fn = build_struct)] pub struct ConfigurationFilters { /// Filters specific to product - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "filterableProperty")] pub r#filterable_property: Box>>, /// Product hierarchy information diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/customer_subscription_details.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/customer_subscription_details.rs index 8438b84d..ec174605 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/customer_subscription_details.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/customer_subscription_details.rs @@ -4,7 +4,7 @@ #[builder(finish_fn = build_struct)] pub struct CustomerSubscriptionDetails { /// Location placement Id of a subscription - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "locationPlacementId")] pub r#location_placement_id: Box>, /// Quota ID of a subscription @@ -12,7 +12,7 @@ pub struct CustomerSubscriptionDetails { #[serde(rename = "quotaId")] pub r#quota_id: Box, /// List of registered feature flags for subscription - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "registeredFeatures")] pub r#registered_features: Box>>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/customer_subscription_registered_features.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/customer_subscription_registered_features.rs index ba3621e4..7fd60f43 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/customer_subscription_registered_features.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/customer_subscription_registered_features.rs @@ -4,11 +4,11 @@ #[builder(finish_fn = build_struct)] pub struct CustomerSubscriptionRegisteredFeatures { /// Name of subscription registered feature - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// State of subscription registered feature - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "state")] pub r#state: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/hierarchy_information.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/hierarchy_information.rs index dd8865b6..4466467f 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/hierarchy_information.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/hierarchy_information.rs @@ -4,19 +4,19 @@ #[builder(finish_fn = build_struct)] pub struct HierarchyInformation { /// Represents configuration name that uniquely identifies configuration - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "configurationName")] pub r#configuration_name: Box>, /// Represents product family name that uniquely identifies product family - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "productFamilyName")] pub r#product_family_name: Box>, /// Represents product line name that uniquely identifies product line - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "productLineName")] pub r#product_line_name: Box>, /// Represents product name that uniquely identifies product - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "productName")] pub r#product_name: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/hierarchy_information_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/hierarchy_information_response.rs index f4c70d11..a2c1f245 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/hierarchy_information_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/hierarchy_information_response.rs @@ -4,19 +4,19 @@ #[builder(finish_fn = build_struct)] pub struct HierarchyInformationResponse { /// Represents configuration name that uniquely identifies configuration - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "configurationName")] pub r#configuration_name: Box>, /// Represents product family name that uniquely identifies product family - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "productFamilyName")] pub r#product_family_name: Box>, /// Represents product line name that uniquely identifies product line - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "productLineName")] pub r#product_line_name: Box>, /// Represents product name that uniquely identifies product - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "productName")] pub r#product_name: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/pav_2_meter_details_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/pav_2_meter_details_response.rs index 40017e5b..b7b4ddf3 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/pav_2_meter_details_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/pav_2_meter_details_response.rs @@ -5,9 +5,9 @@ pub struct Pav2MeterDetailsResponse { /// Represents billing type. /// Expected value is 'Pav2'. - #[builder(into)] + #[builder(into, default)] #[serde(rename = "billingType")] - pub r#billing_type: Box, + pub r#billing_type: Box, /// Charging type. #[builder(into)] #[serde(rename = "chargingType")] diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/purchase_meter_details_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/purchase_meter_details_response.rs index 1bdfe7f1..bedad2cc 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/purchase_meter_details_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs-edgeorder/lib/src/types/purchase_meter_details_response.rs @@ -5,9 +5,9 @@ pub struct PurchaseMeterDetailsResponse { /// Represents billing type. /// Expected value is 'Purchase'. - #[builder(into)] + #[builder(into, default)] #[serde(rename = "billingType")] - pub r#billing_type: Box, + pub r#billing_type: Box, /// Charging type. #[builder(into)] #[serde(rename = "chargingType")] diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_all_optional_inputs.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_all_optional_inputs.rs index 5d65df89..5aa9311a 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_all_optional_inputs.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_all_optional_inputs.rs @@ -4,10 +4,10 @@ #[builder(finish_fn = build_struct)] pub struct FuncWithAllOptionalInputsArgs { /// Property A - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub a: pulumi_wasm_rust::Output>, /// Property B - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub b: pulumi_wasm_rust::Output>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_const_input.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_const_input.rs index 8fda6f8f..c77b8d6c 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_const_input.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_const_input.rs @@ -3,8 +3,8 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct FuncWithConstInputArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] - pub plain_input: pulumi_wasm_rust::Output>, + #[builder(into, default)] + pub plain_input: pulumi_wasm_rust::Output>, } pub struct FuncWithConstInputResult { diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_default_value.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_default_value.rs index 30228630..21817765 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_default_value.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_default_value.rs @@ -5,7 +5,7 @@ pub struct FuncWithDefaultValueArgs { #[builder(into)] pub a: pulumi_wasm_rust::Output, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub b: pulumi_wasm_rust::Output>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_dict_param.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_dict_param.rs index 83c7df4b..747dac7e 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_dict_param.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_dict_param.rs @@ -3,9 +3,9 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct FuncWithDictParamArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub a: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub b: pulumi_wasm_rust::Output>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_list_param.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_list_param.rs index 9e079485..b3f6faa7 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_list_param.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/func_with_list_param.rs @@ -3,9 +3,9 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct FuncWithListParamArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub a: pulumi_wasm_rust::Output>>, - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub b: pulumi_wasm_rust::Output>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/get_bastion_shareable_link.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/get_bastion_shareable_link.rs index 34a13e3f..1800108d 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/get_bastion_shareable_link.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/get_bastion_shareable_link.rs @@ -11,7 +11,7 @@ pub struct GetBastionShareableLinkArgs { #[builder(into)] pub resource_group_name: pulumi_wasm_rust::Output, /// List of VM references. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub vms: pulumi_wasm_rust::Output>>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/get_integration_runtime_object_metadatum.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/get_integration_runtime_object_metadatum.rs index 8ef02752..4e4a6440 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/get_integration_runtime_object_metadatum.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/get_integration_runtime_object_metadatum.rs @@ -11,7 +11,7 @@ pub struct GetIntegrationRuntimeObjectMetadatumArgs { #[builder(into)] pub integration_runtime_name: pulumi_wasm_rust::Output, /// Metadata path. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub metadata_path: pulumi_wasm_rust::Output>, /// The resource group name. #[builder(into)] diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/list_storage_account_keys.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/list_storage_account_keys.rs index b29d0049..589fcdc0 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/list_storage_account_keys.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/function/list_storage_account_keys.rs @@ -8,7 +8,7 @@ pub struct ListStorageAccountKeysArgs { #[builder(into)] pub account_name: pulumi_wasm_rust::Output, /// Specifies type of the key to be listed. Possible value is kerb. - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub expand: pulumi_wasm_rust::Output>, /// The name of the resource group within the user's subscription. The name is case insensitive. #[builder(into)] diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/lib.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/lib.rs index 75a7b10e..b1e7bf16 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/lib.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/lib.rs @@ -20,8 +20,8 @@ mod bindings { fn into_domain(output: WitOutput) -> Output { unsafe { Output::::new_from_handle(output) } } -pulumi_wasm_provider_common::generate_string_const!(__ConstString_Environment, "Environment"); -pulumi_wasm_provider_common::generate_string_const!(__ConstString_Folder, "Folder"); -pulumi_wasm_provider_common::generate_string_const!(__ConstString_Package, "Package"); -pulumi_wasm_provider_common::generate_string_const!(__ConstString_Project, "Project"); -pulumi_wasm_provider_common::generate_string_const!(__ConstString_fixed, "fixed"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_Environment, "Environment"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_Folder, "Folder"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_Package, "Package"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_Project, "Project"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_fixed, "fixed"); diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_environment_reference_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_environment_reference_response.rs index 9b00d0cf..69a4fa99 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_environment_reference_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_environment_reference_response.rs @@ -4,19 +4,19 @@ #[builder(finish_fn = build_struct)] pub struct SsisEnvironmentReferenceResponse { /// Environment folder name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environmentFolderName")] pub r#environment_folder_name: Box>, /// Environment name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environmentName")] pub r#environment_name: Box>, /// Environment reference id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Reference type - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "referenceType")] pub r#reference_type: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_environment_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_environment_response.rs index 6e1d8154..c015e364 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_environment_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_environment_response.rs @@ -4,28 +4,28 @@ #[builder(finish_fn = build_struct)] pub struct SsisEnvironmentResponse { /// Metadata description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Folder id which contains environment. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "folderId")] pub r#folder_id: Box>, /// Metadata id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Metadata name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The type of SSIS object metadata. /// Expected value is 'Environment'. - #[builder(into)] + #[builder(into, default)] #[serde(rename = "type")] - pub r#type: Box, + pub r#type: Box, /// Variable in environment - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "variables")] pub r#variables: Box>>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_folder_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_folder_response.rs index 5985ad21..fdff226b 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_folder_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_folder_response.rs @@ -4,20 +4,20 @@ #[builder(finish_fn = build_struct)] pub struct SsisFolderResponse { /// Metadata description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Metadata id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Metadata name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// The type of SSIS object metadata. /// Expected value is 'Folder'. - #[builder(into)] + #[builder(into, default)] #[serde(rename = "type")] - pub r#type: Box, + pub r#type: Box, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_package_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_package_response.rs index f6e1103c..86b5cf2f 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_package_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_package_response.rs @@ -4,36 +4,36 @@ #[builder(finish_fn = build_struct)] pub struct SsisPackageResponse { /// Metadata description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Folder id which contains package. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "folderId")] pub r#folder_id: Box>, /// Metadata id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Metadata name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Parameters in package - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "parameters")] pub r#parameters: Box>>, /// Project id which contains package. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "projectId")] pub r#project_id: Box>, /// Project version which contains package. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "projectVersion")] pub r#project_version: Box>, /// The type of SSIS object metadata. /// Expected value is 'Package'. - #[builder(into)] + #[builder(into, default)] #[serde(rename = "type")] - pub r#type: Box, + pub r#type: Box, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_parameter_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_parameter_response.rs index 3ff33d1c..82317705 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_parameter_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_parameter_response.rs @@ -4,51 +4,51 @@ #[builder(finish_fn = build_struct)] pub struct SsisParameterResponse { /// Parameter type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dataType")] pub r#data_type: Box>, /// Default value of parameter. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "defaultValue")] pub r#default_value: Box>, /// Parameter description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Design default value of parameter. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "designDefaultValue")] pub r#design_default_value: Box>, /// Parameter id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Parameter name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Whether parameter is required. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "required")] pub r#required: Box>, /// Whether parameter is sensitive. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensitive")] pub r#sensitive: Box>, /// Default sensitive value of parameter. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensitiveDefaultValue")] pub r#sensitive_default_value: Box>, /// Parameter value set. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "valueSet")] pub r#value_set: Box>, /// Parameter value type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "valueType")] pub r#value_type: Box>, /// Parameter reference variable. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "variable")] pub r#variable: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_project_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_project_response.rs index e14c492c..ed930c98 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_project_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_project_response.rs @@ -4,36 +4,36 @@ #[builder(finish_fn = build_struct)] pub struct SsisProjectResponse { /// Metadata description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Environment reference in project - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "environmentRefs")] pub r#environment_refs: Box>>, /// Folder id which contains project. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "folderId")] pub r#folder_id: Box>, /// Metadata id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Metadata name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Parameters in project - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "parameters")] pub r#parameters: Box>>, /// The type of SSIS object metadata. /// Expected value is 'Project'. - #[builder(into)] + #[builder(into, default)] #[serde(rename = "type")] - pub r#type: Box, + pub r#type: Box, /// Project version. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_variable_response.rs b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_variable_response.rs index cce53d08..c4aec942 100644 --- a/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_variable_response.rs +++ b/pulumi_wasm_generator_lib/tests/output/output-funcs/lib/src/types/ssis_variable_response.rs @@ -4,31 +4,31 @@ #[builder(finish_fn = build_struct)] pub struct SsisVariableResponse { /// Variable type. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "dataType")] pub r#data_type: Box>, /// Variable description. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "description")] pub r#description: Box>, /// Variable id. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "id")] pub r#id: Box>, /// Variable name. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "name")] pub r#name: Box>, /// Whether variable is sensitive. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensitive")] pub r#sensitive: Box>, /// Variable sensitive value. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "sensitiveValue")] pub r#sensitive_value: Box>, /// Variable value. - #[builder(into, default = Box::new(None))] + #[builder(into, default)] #[serde(rename = "value")] pub r#value: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/lib.rs b/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/lib.rs index 9fbe69e7..e9f2db7e 100644 --- a/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/lib.rs +++ b/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/lib.rs @@ -20,5 +20,5 @@ mod bindings { fn into_domain(output: WitOutput) -> Output { unsafe { Output::::new_from_handle(output) } } -pulumi_wasm_provider_common::generate_string_const!(__ConstString_PointInTimeRestore, "PointInTimeRestore"); -pulumi_wasm_provider_common::generate_string_const!(__ConstString_Replica, "Replica"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_PointInTimeRestore, "PointInTimeRestore"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_Replica, "Replica"); diff --git a/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/resource/example_server.rs b/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/resource/example_server.rs index 43152823..dedcbde1 100644 --- a/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/resource/example_server.rs +++ b/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/resource/example_server.rs @@ -2,7 +2,7 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct ExampleServerArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub properties: pulumi_wasm_rust::Output>>, } diff --git a/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/types/server_properties_for_replica.rs b/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/types/server_properties_for_replica.rs index c94567d2..2ea086d4 100644 --- a/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/types/server_properties_for_replica.rs +++ b/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/types/server_properties_for_replica.rs @@ -1,10 +1,10 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ServerPropertiesForReplica { - #[builder(into)] + #[builder(into, default)] #[serde(rename = "createMode")] - pub r#create_mode: Box, - #[builder(into, default = Box::new(None))] + pub r#create_mode: Box, + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/types/server_properties_for_restore.rs b/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/types/server_properties_for_restore.rs index 60810d1b..b338384d 100644 --- a/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/types/server_properties_for_restore.rs +++ b/pulumi_wasm_generator_lib/tests/output/unions-inline/lib/src/types/server_properties_for_restore.rs @@ -1,9 +1,9 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ServerPropertiesForRestore { - #[builder(into)] + #[builder(into, default)] #[serde(rename = "createMode")] - pub r#create_mode: Box, + pub r#create_mode: Box, #[builder(into)] #[serde(rename = "restorePointInTime")] pub r#restore_point_in_time: Box, diff --git a/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/lib.rs b/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/lib.rs index 9fbe69e7..e9f2db7e 100644 --- a/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/lib.rs +++ b/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/lib.rs @@ -20,5 +20,5 @@ mod bindings { fn into_domain(output: WitOutput) -> Output { unsafe { Output::::new_from_handle(output) } } -pulumi_wasm_provider_common::generate_string_const!(__ConstString_PointInTimeRestore, "PointInTimeRestore"); -pulumi_wasm_provider_common::generate_string_const!(__ConstString_Replica, "Replica"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_PointInTimeRestore, "PointInTimeRestore"); +pulumi_wasm_provider_common::generate_string_const!(ConstString_Replica, "Replica"); diff --git a/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/resource/example_server.rs b/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/resource/example_server.rs index bf39338a..7648f2c5 100644 --- a/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/resource/example_server.rs +++ b/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/resource/example_server.rs @@ -2,7 +2,7 @@ #[derive(bon::Builder, Clone)] #[builder(finish_fn = build_struct)] pub struct ExampleServerArgs { - #[builder(into, default = ::pulumi_wasm_rust::Output::empty())] + #[builder(into, default)] pub properties_collection: pulumi_wasm_rust::Output>>>, } diff --git a/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/types/server_properties_for_replica.rs b/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/types/server_properties_for_replica.rs index c94567d2..2ea086d4 100644 --- a/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/types/server_properties_for_replica.rs +++ b/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/types/server_properties_for_replica.rs @@ -1,10 +1,10 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ServerPropertiesForReplica { - #[builder(into)] + #[builder(into, default)] #[serde(rename = "createMode")] - pub r#create_mode: Box, - #[builder(into, default = Box::new(None))] + pub r#create_mode: Box, + #[builder(into, default)] #[serde(rename = "version")] pub r#version: Box>, } diff --git a/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/types/server_properties_for_restore.rs b/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/types/server_properties_for_restore.rs index 60810d1b..b338384d 100644 --- a/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/types/server_properties_for_restore.rs +++ b/pulumi_wasm_generator_lib/tests/output/unions-inside-arrays/lib/src/types/server_properties_for_restore.rs @@ -1,9 +1,9 @@ #[derive(serde::Deserialize, serde::Serialize, bon::Builder, Debug, PartialEq, Clone)] #[builder(finish_fn = build_struct)] pub struct ServerPropertiesForRestore { - #[builder(into)] + #[builder(into, default)] #[serde(rename = "createMode")] - pub r#create_mode: Box, + pub r#create_mode: Box, #[builder(into)] #[serde(rename = "restorePointInTime")] pub r#restore_point_in_time: Box, diff --git a/pulumi_wasm_provider_common/src/lib.rs b/pulumi_wasm_provider_common/src/lib.rs index 9214b70e..ba8d4bc8 100644 --- a/pulumi_wasm_provider_common/src/lib.rs +++ b/pulumi_wasm_provider_common/src/lib.rs @@ -7,6 +7,11 @@ macro_rules! generate_string_const { ($struct_name:ident, $constant:tt) => { #[derive(Debug, PartialEq, Eq, Copy, Clone, Hash)] struct $struct_name; + impl Default for $struct_name { + fn default() -> Self { + Self {} + } + } impl serde::Serialize for $struct_name { fn serialize(&self, serializer: S) -> Result @@ -64,7 +69,7 @@ mod tests { #[test] fn string_const_should_serialize() { let my_struct = MyStruct { - tpe: StringConstants {}, + tpe: StringConstants::default(), age: 0, }; assert_eq!( @@ -76,7 +81,7 @@ mod tests { #[test] fn string_const_should_deserialize() { let my_struct: MyStruct = serde_json::from_str(r#"{"tpe":"HELLO WORLD","age":0}"#).unwrap(); - assert_eq!(my_struct.tpe, StringConstants {}); + assert_eq!(my_struct.tpe, StringConstants::default()); assert_eq!(my_struct.age, 0); } diff --git a/pulumi_wasm_rust/src/output.rs b/pulumi_wasm_rust/src/output.rs index efbdceda..6f01e06f 100644 --- a/pulumi_wasm_rust/src/output.rs +++ b/pulumi_wasm_rust/src/output.rs @@ -24,6 +24,12 @@ impl Clone for Output { } } +impl Default for Output { + fn default() -> Self { + Output::new(&T::default()) + } +} + impl From for Output { fn from(value: T) -> Output { Output::new(&value)