1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyMappedSecret
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyMappedSecret

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides details about a specific Network Firewall Policy Mapped Secret resource in Oracle Cloud Infrastructure Network Firewall service.

    Get Mapped Secret by the given name in the context of network firewall policy.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.NetworkFirewall.NetworkFirewallFunctions;
    import com.pulumi.oci.NetworkFirewall.inputs.GetNetworkFirewallPolicyMappedSecretArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testNetworkFirewallPolicyMappedSecret = NetworkFirewallFunctions.getNetworkFirewallPolicyMappedSecret(GetNetworkFirewallPolicyMappedSecretArgs.builder()
                .mappedSecretName(ociNetworkFirewallNetworkFirewallPolicyMappedSecretName)
                .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
                .build());
    
        }
    }
    
    variables:
      testNetworkFirewallPolicyMappedSecret:
        fn::invoke:
          Function: oci:NetworkFirewall:getNetworkFirewallPolicyMappedSecret
          Arguments:
            mappedSecretName: ${ociNetworkFirewallNetworkFirewallPolicyMappedSecretName}
            networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
    

    Using getNetworkFirewallPolicyMappedSecret

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNetworkFirewallPolicyMappedSecret(args: GetNetworkFirewallPolicyMappedSecretArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyMappedSecretResult>
    function getNetworkFirewallPolicyMappedSecretOutput(args: GetNetworkFirewallPolicyMappedSecretOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyMappedSecretResult>
    def get_network_firewall_policy_mapped_secret(name: Optional[str] = None,
                                                  network_firewall_policy_id: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyMappedSecretResult
    def get_network_firewall_policy_mapped_secret_output(name: Optional[pulumi.Input[str]] = None,
                                                  network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyMappedSecretResult]
    func GetNetworkFirewallPolicyMappedSecret(ctx *Context, args *GetNetworkFirewallPolicyMappedSecretArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyMappedSecretResult, error)
    func GetNetworkFirewallPolicyMappedSecretOutput(ctx *Context, args *GetNetworkFirewallPolicyMappedSecretOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyMappedSecretResultOutput

    > Note: This function is named GetNetworkFirewallPolicyMappedSecret in the Go SDK.

    public static class GetNetworkFirewallPolicyMappedSecret 
    {
        public static Task<GetNetworkFirewallPolicyMappedSecretResult> InvokeAsync(GetNetworkFirewallPolicyMappedSecretArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkFirewallPolicyMappedSecretResult> Invoke(GetNetworkFirewallPolicyMappedSecretInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkFirewallPolicyMappedSecretResult> getNetworkFirewallPolicyMappedSecret(GetNetworkFirewallPolicyMappedSecretArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:NetworkFirewall/getNetworkFirewallPolicyMappedSecret:getNetworkFirewallPolicyMappedSecret
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the secret.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    Name string
    Name of the secret.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name String
    Name of the secret.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    name string
    Name of the secret.
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name str
    Name of the secret.
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    name String
    Name of the secret.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier

    getNetworkFirewallPolicyMappedSecret Result

    The following output properties are available:

    Id string
    Name string
    Name of the secret.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    Source string
    Source of the secrets, where the secrets are stored.
    Type string
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    VaultSecretId string
    OCID for the Vault Secret to be used.
    VersionNumber int
    Version number of the secret to be used.
    Id string
    Name string
    Name of the secret.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    Source string
    Source of the secrets, where the secrets are stored.
    Type string
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    VaultSecretId string
    OCID for the Vault Secret to be used.
    VersionNumber int
    Version number of the secret to be used.
    id String
    name String
    Name of the secret.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    source String
    Source of the secrets, where the secrets are stored.
    type String
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    vaultSecretId String
    OCID for the Vault Secret to be used.
    versionNumber Integer
    Version number of the secret to be used.
    id string
    name string
    Name of the secret.
    networkFirewallPolicyId string
    parentResourceId string
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    source string
    Source of the secrets, where the secrets are stored.
    type string
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    vaultSecretId string
    OCID for the Vault Secret to be used.
    versionNumber number
    Version number of the secret to be used.
    id str
    name str
    Name of the secret.
    network_firewall_policy_id str
    parent_resource_id str
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    source str
    Source of the secrets, where the secrets are stored.
    type str
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    vault_secret_id str
    OCID for the Vault Secret to be used.
    version_number int
    Version number of the secret to be used.
    id String
    name String
    Name of the secret.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    source String
    Source of the secrets, where the secrets are stored.
    type String
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    vaultSecretId String
    OCID for the Vault Secret to be used.
    versionNumber Number
    Version number of the secret to be used.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi