Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyMappedSecret
Explore with Pulumi AI
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.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Name string
- Name of the secret.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name String
- Name of the secret.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- name string
- Name of the secret.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name str
- Name of the secret.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- name String
- Name of the secret.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
getNetworkFirewallPolicyMappedSecret Result
The following output properties are available:
- Id string
- Name string
- Name of the secret.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - 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.
- Vault
Secret stringId - 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.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - 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.
- Vault
Secret stringId - 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.
- network
Firewall StringPolicy Id - parent
Resource StringId - 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.
- vault
Secret StringId - OCID for the Vault Secret to be used.
- version
Number Integer - Version number of the secret to be used.
- id string
- name string
- Name of the secret.
- network
Firewall stringPolicy Id - parent
Resource stringId - 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.
- vault
Secret stringId - OCID for the Vault Secret to be used.
- version
Number number - Version number of the secret to be used.
- id str
- name str
- Name of the secret.
- network_
firewall_ strpolicy_ id - parent_
resource_ strid - 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_ strid - 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.
- network
Firewall StringPolicy Id - parent
Resource StringId - 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.
- vault
Secret StringId - OCID for the Vault Secret to be used.
- version
Number 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.