Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyMappedSecrets
Explore with Pulumi AI
This data source provides the list of Network Firewall Policy Mapped Secrets in Oracle Cloud Infrastructure Network Firewall service.
Returns a list of Mapped Secret for the Network Firewall Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkFirewallPolicyMappedSecrets = oci.NetworkFirewall.getNetworkFirewallPolicyMappedSecrets({
networkFirewallPolicyId: testNetworkFirewallPolicy.id,
displayName: networkFirewallPolicyMappedSecretDisplayName,
});
import pulumi
import pulumi_oci as oci
test_network_firewall_policy_mapped_secrets = oci.NetworkFirewall.get_network_firewall_policy_mapped_secrets(network_firewall_policy_id=test_network_firewall_policy["id"],
display_name=network_firewall_policy_mapped_secret_display_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/NetworkFirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := NetworkFirewall.GetNetworkFirewallPolicyMappedSecrets(ctx, &networkfirewall.GetNetworkFirewallPolicyMappedSecretsArgs{
NetworkFirewallPolicyId: testNetworkFirewallPolicy.Id,
DisplayName: pulumi.StringRef(networkFirewallPolicyMappedSecretDisplayName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testNetworkFirewallPolicyMappedSecrets = Oci.NetworkFirewall.GetNetworkFirewallPolicyMappedSecrets.Invoke(new()
{
NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
DisplayName = networkFirewallPolicyMappedSecretDisplayName,
});
});
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.GetNetworkFirewallPolicyMappedSecretsArgs;
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 testNetworkFirewallPolicyMappedSecrets = NetworkFirewallFunctions.getNetworkFirewallPolicyMappedSecrets(GetNetworkFirewallPolicyMappedSecretsArgs.builder()
.networkFirewallPolicyId(testNetworkFirewallPolicy.id())
.displayName(networkFirewallPolicyMappedSecretDisplayName)
.build());
}
}
variables:
testNetworkFirewallPolicyMappedSecrets:
fn::invoke:
Function: oci:NetworkFirewall:getNetworkFirewallPolicyMappedSecrets
Arguments:
networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
displayName: ${networkFirewallPolicyMappedSecretDisplayName}
Using getNetworkFirewallPolicyMappedSecrets
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 getNetworkFirewallPolicyMappedSecrets(args: GetNetworkFirewallPolicyMappedSecretsArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyMappedSecretsResult>
function getNetworkFirewallPolicyMappedSecretsOutput(args: GetNetworkFirewallPolicyMappedSecretsOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyMappedSecretsResult>
def get_network_firewall_policy_mapped_secrets(display_name: Optional[str] = None,
network_firewall_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyMappedSecretsResult
def get_network_firewall_policy_mapped_secrets_output(display_name: Optional[pulumi.Input[str]] = None,
network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyMappedSecretsResult]
func GetNetworkFirewallPolicyMappedSecrets(ctx *Context, args *GetNetworkFirewallPolicyMappedSecretsArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyMappedSecretsResult, error)
func GetNetworkFirewallPolicyMappedSecretsOutput(ctx *Context, args *GetNetworkFirewallPolicyMappedSecretsOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyMappedSecretsResultOutput
> Note: This function is named GetNetworkFirewallPolicyMappedSecrets
in the Go SDK.
public static class GetNetworkFirewallPolicyMappedSecrets
{
public static Task<GetNetworkFirewallPolicyMappedSecretsResult> InvokeAsync(GetNetworkFirewallPolicyMappedSecretsArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkFirewallPolicyMappedSecretsResult> Invoke(GetNetworkFirewallPolicyMappedSecretsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkFirewallPolicyMappedSecretsResult> getNetworkFirewallPolicyMappedSecrets(GetNetworkFirewallPolicyMappedSecretsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:NetworkFirewall/getNetworkFirewallPolicyMappedSecrets:getNetworkFirewallPolicyMappedSecrets
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Display
Name string - A filter to return only resources that match the entire display name given.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Display
Name string - A filter to return only resources that match the entire display name given.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- display
Name String - A filter to return only resources that match the entire display name given.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- display
Name string - A filter to return only resources that match the entire display name given.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- display_
name str - A filter to return only resources that match the entire display name given.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- display
Name String - A filter to return only resources that match the entire display name given.
getNetworkFirewallPolicyMappedSecrets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Mapped
Secret List<GetSummary Collections Network Firewall Policy Mapped Secrets Mapped Secret Summary Collection> - The list of mapped_secret_summary_collection.
- Network
Firewall stringPolicy Id - Display
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Mapped
Secret []GetSummary Collections Network Firewall Policy Mapped Secrets Mapped Secret Summary Collection - The list of mapped_secret_summary_collection.
- Network
Firewall stringPolicy Id - Display
Name string
- id String
- The provider-assigned unique ID for this managed resource.
- mapped
Secret List<GetSummary Collections Policy Mapped Secrets Mapped Secret Summary Collection> - The list of mapped_secret_summary_collection.
- network
Firewall StringPolicy Id - display
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- mapped
Secret GetSummary Collections Network Firewall Policy Mapped Secrets Mapped Secret Summary Collection[] - The list of mapped_secret_summary_collection.
- network
Firewall stringPolicy Id - display
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- mapped_
secret_ Sequence[networkfirewall.summary_ collections Get Network Firewall Policy Mapped Secrets Mapped Secret Summary Collection] - The list of mapped_secret_summary_collection.
- network_
firewall_ strpolicy_ id - display_
name str
- id String
- The provider-assigned unique ID for this managed resource.
- mapped
Secret List<Property Map>Summary Collections - The list of mapped_secret_summary_collection.
- network
Firewall StringPolicy Id - display
Name String
Supporting Types
GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollection
GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollectionItem
- Name string
- Name of the secret.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- 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.
- Name string
- Name of the secret.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- 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.
- name String
- Name of the secret.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- 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.
- name string
- Name of the secret.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- 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.
- name str
- Name of the secret.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- 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.
- name String
- Name of the secret.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- 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.