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

oci.Database.getAutonomousDatabaseWallet

Explore with Pulumi AI

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

    Deprecated. Use oci.Database.AutonomousDatabaseWallet instead.

    This data source provides details about a specific Autonomous Database Wallet resource in Oracle Cloud Infrastructure Database service.

    Creates and downloads a wallet for the specified Autonomous Database.

    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.Database.DatabaseFunctions;
    import com.pulumi.oci.Database.inputs.GetAutonomousDatabaseWalletArgs;
    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 testAutonomousDatabaseWallet = DatabaseFunctions.getAutonomousDatabaseWallet(GetAutonomousDatabaseWalletArgs.builder()
                .autonomousDatabaseId(testAutonomousDatabase.id())
                .password(autonomousDatabaseWalletPassword)
                .base64EncodeContent("false")
                .generateType(autonomousDatabaseWalletGenerateType)
                .isRegional(autonomousDatabaseWalletIsRegional)
                .build());
    
        }
    }
    
    variables:
      testAutonomousDatabaseWallet:
        fn::invoke:
          Function: oci:Database:getAutonomousDatabaseWallet
          Arguments:
            autonomousDatabaseId: ${testAutonomousDatabase.id}
            password: ${autonomousDatabaseWalletPassword}
            base64EncodeContent: 'false'
            generateType: ${autonomousDatabaseWalletGenerateType}
            isRegional: ${autonomousDatabaseWalletIsRegional}
    

    Using getAutonomousDatabaseWallet

    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 getAutonomousDatabaseWallet(args: GetAutonomousDatabaseWalletArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseWalletResult>
    function getAutonomousDatabaseWalletOutput(args: GetAutonomousDatabaseWalletOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseWalletResult>
    def get_autonomous_database_wallet(autonomous_database_id: Optional[str] = None,
                                       base64_encode_content: Optional[bool] = None,
                                       generate_type: Optional[str] = None,
                                       password: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseWalletResult
    def get_autonomous_database_wallet_output(autonomous_database_id: Optional[pulumi.Input[str]] = None,
                                       base64_encode_content: Optional[pulumi.Input[bool]] = None,
                                       generate_type: Optional[pulumi.Input[str]] = None,
                                       password: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseWalletResult]
    func GetAutonomousDatabaseWallet(ctx *Context, args *GetAutonomousDatabaseWalletArgs, opts ...InvokeOption) (*GetAutonomousDatabaseWalletResult, error)
    func GetAutonomousDatabaseWalletOutput(ctx *Context, args *GetAutonomousDatabaseWalletOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseWalletResultOutput

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

    public static class GetAutonomousDatabaseWallet 
    {
        public static Task<GetAutonomousDatabaseWalletResult> InvokeAsync(GetAutonomousDatabaseWalletArgs args, InvokeOptions? opts = null)
        public static Output<GetAutonomousDatabaseWalletResult> Invoke(GetAutonomousDatabaseWalletInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutonomousDatabaseWalletResult> getAutonomousDatabaseWallet(GetAutonomousDatabaseWalletArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Database/getAutonomousDatabaseWallet:getAutonomousDatabaseWallet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutonomousDatabaseId string
    The database OCID.

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    Password string
    The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
    Base64EncodeContent bool
    GenerateType string

    The type of wallet to generate.

    Serverless instance usage:

    • SINGLE - used to generate a wallet for a single database
    • ALL - used to generate wallet for all databases in the region

    Dedicated Exadata infrastructure usage: Value must be NULL if attribute is used.

    AutonomousDatabaseId string
    The database OCID.

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    Password string
    The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
    Base64EncodeContent bool
    GenerateType string

    The type of wallet to generate.

    Serverless instance usage:

    • SINGLE - used to generate a wallet for a single database
    • ALL - used to generate wallet for all databases in the region

    Dedicated Exadata infrastructure usage: Value must be NULL if attribute is used.

    autonomousDatabaseId String
    The database OCID.

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    password String
    The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
    base64EncodeContent Boolean
    generateType String

    The type of wallet to generate.

    Serverless instance usage:

    • SINGLE - used to generate a wallet for a single database
    • ALL - used to generate wallet for all databases in the region

    Dedicated Exadata infrastructure usage: Value must be NULL if attribute is used.

    autonomousDatabaseId string
    The database OCID.

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    password string
    The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
    base64EncodeContent boolean
    generateType string

    The type of wallet to generate.

    Serverless instance usage:

    • SINGLE - used to generate a wallet for a single database
    • ALL - used to generate wallet for all databases in the region

    Dedicated Exadata infrastructure usage: Value must be NULL if attribute is used.

    autonomous_database_id str
    The database OCID.

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    password str
    The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
    base64_encode_content bool
    generate_type str

    The type of wallet to generate.

    Serverless instance usage:

    • SINGLE - used to generate a wallet for a single database
    • ALL - used to generate wallet for all databases in the region

    Dedicated Exadata infrastructure usage: Value must be NULL if attribute is used.

    autonomousDatabaseId String
    The database OCID.

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    password String
    The password to encrypt the keys inside the wallet. The password must be at least 8 characters long and must include at least 1 letter and either 1 numeric character or 1 special character.
    base64EncodeContent Boolean
    generateType String

    The type of wallet to generate.

    Serverless instance usage:

    • SINGLE - used to generate a wallet for a single database
    • ALL - used to generate wallet for all databases in the region

    Dedicated Exadata infrastructure usage: Value must be NULL if attribute is used.

    getAutonomousDatabaseWallet Result

    The following output properties are available:

    AutonomousDatabaseId string

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    Content string
    content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.
    Id string
    The provider-assigned unique ID for this managed resource.
    Password string
    Base64EncodeContent bool
    GenerateType string
    AutonomousDatabaseId string

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    Content string
    content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.
    Id string
    The provider-assigned unique ID for this managed resource.
    Password string
    Base64EncodeContent bool
    GenerateType string
    autonomousDatabaseId String

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    content String
    content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.
    id String
    The provider-assigned unique ID for this managed resource.
    password String
    base64EncodeContent Boolean
    generateType String
    autonomousDatabaseId string

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    content string
    content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.
    id string
    The provider-assigned unique ID for this managed resource.
    password string
    base64EncodeContent boolean
    generateType string
    autonomous_database_id str

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    content str
    content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.
    id str
    The provider-assigned unique ID for this managed resource.
    password str
    base64_encode_content bool
    generate_type str
    autonomousDatabaseId String

    Deprecated: The 'data.oci_database_autonomous_database_wallet' resource has been deprecated. Please use 'oci_database_autonomous_database_wallet' instead.

    content String
    content of the downloaded zipped wallet for the Autonomous Database. If base64_encode_content is set to true, then this content will be base64 encoded.
    id String
    The provider-assigned unique ID for this managed resource.
    password String
    base64EncodeContent Boolean
    generateType String

    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