import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Network Firewall Policy Mapped Secret resource in Oracle Cloud Infrastructure Network Firewall service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/network-firewall/latest/NetworkFirewallPolicyMappedSecret * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/network_firewall * * Creates a new Mapped Secret for the Network Firewall Policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkFirewallPolicyMappedSecret = new oci.networkfirewall.NetworkFirewallPolicyMappedSecret("test_network_firewall_policy_mapped_secret", { * name: networkFirewallPolicyMappedSecretName, * networkFirewallPolicyId: testNetworkFirewallPolicy.id, * source: networkFirewallPolicyMappedSecretSource, * type: networkFirewallPolicyMappedSecretType, * vaultSecretId: testSecret.id, * versionNumber: Number(networkFirewallPolicyMappedSecretVersionNumber), * description: networkFirewallPolicyMappedSecretDescription, * }); * ``` * * ## Import * * NetworkFirewallPolicyMappedSecrets can be imported using the `name`, e.g. * * ```sh * $ pulumi import oci:NetworkFirewall/networkFirewallPolicyMappedSecret:NetworkFirewallPolicyMappedSecret test_network_firewall_policy_mapped_secret "networkFirewallPolicies/{networkFirewallPolicyId}/mappedSecrets/{mappedSecretName}" * ``` */ export declare class NetworkFirewallPolicyMappedSecret extends pulumi.CustomResource { /** * Get an existing NetworkFirewallPolicyMappedSecret resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NetworkFirewallPolicyMappedSecretState, opts?: pulumi.CustomResourceOptions): NetworkFirewallPolicyMappedSecret; /** * Returns true if the given object is an instance of NetworkFirewallPolicyMappedSecret. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NetworkFirewallPolicyMappedSecret; /** * (Updatable) The description of the mapped secret. This field can be used to add additional info. */ readonly description: pulumi.Output; /** * Unique name to identify the group of urls to be used in the policy rules. */ readonly name: pulumi.Output; /** * Unique Network Firewall Policy identifier */ readonly networkFirewallPolicyId: pulumi.Output; /** * OCID of the Network Firewall Policy this Mapped Secret belongs to. */ readonly parentResourceId: pulumi.Output; /** * Source of the secrets, where the secrets are stored. The only accepted value is `OCI_VAULT` */ readonly source: pulumi.Output; /** * 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. */ readonly type: pulumi.Output; /** * (Updatable) OCID for the Vault Secret to be used. */ readonly vaultSecretId: pulumi.Output; /** * (Updatable) Version number of the secret to be used. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly versionNumber: pulumi.Output; /** * Create a NetworkFirewallPolicyMappedSecret resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NetworkFirewallPolicyMappedSecretArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkFirewallPolicyMappedSecret resources. */ export interface NetworkFirewallPolicyMappedSecretState { /** * (Updatable) The description of the mapped secret. This field can be used to add additional info. */ description?: pulumi.Input; /** * Unique name to identify the group of urls to be used in the policy rules. */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId?: pulumi.Input; /** * OCID of the Network Firewall Policy this Mapped Secret belongs to. */ parentResourceId?: pulumi.Input; /** * Source of the secrets, where the secrets are stored. The only accepted value is `OCI_VAULT` */ source?: pulumi.Input; /** * 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. */ type?: pulumi.Input; /** * (Updatable) OCID for the Vault Secret to be used. */ vaultSecretId?: pulumi.Input; /** * (Updatable) Version number of the secret to be used. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ versionNumber?: pulumi.Input; } /** * The set of arguments for constructing a NetworkFirewallPolicyMappedSecret resource. */ export interface NetworkFirewallPolicyMappedSecretArgs { /** * (Updatable) The description of the mapped secret. This field can be used to add additional info. */ description?: pulumi.Input; /** * Unique name to identify the group of urls to be used in the policy rules. */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: pulumi.Input; /** * Source of the secrets, where the secrets are stored. The only accepted value is `OCI_VAULT` */ source: pulumi.Input; /** * 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. */ type: pulumi.Input; /** * (Updatable) OCID for the Vault Secret to be used. */ vaultSecretId: pulumi.Input; /** * (Updatable) Version number of the secret to be used. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ versionNumber: pulumi.Input; } //# sourceMappingURL=networkFirewallPolicyMappedSecret.d.ts.map