1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getAutonomousDatabaseInstanceWalletManagement
Oracle Cloud Infrastructure v2.19.0 published on Thursday, Dec 12, 2024 by Pulumi

oci.Database.getAutonomousDatabaseInstanceWalletManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.19.0 published on Thursday, Dec 12, 2024 by Pulumi

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

    Gets the wallet details for the specified Autonomous Database.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAutonomousDatabaseInstanceWalletManagement = oci.Database.getAutonomousDatabaseInstanceWalletManagement({
        autonomousDatabaseId: testAutonomousDatabase.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_autonomous_database_instance_wallet_management = oci.Database.get_autonomous_database_instance_wallet_management(autonomous_database_id=test_autonomous_database["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Database.GetAutonomousDatabaseInstanceWalletManagement(ctx, &database.GetAutonomousDatabaseInstanceWalletManagementArgs{
    			AutonomousDatabaseId: testAutonomousDatabase.Id,
    		}, 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 testAutonomousDatabaseInstanceWalletManagement = Oci.Database.GetAutonomousDatabaseInstanceWalletManagement.Invoke(new()
        {
            AutonomousDatabaseId = testAutonomousDatabase.Id,
        });
    
    });
    
    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.GetAutonomousDatabaseInstanceWalletManagementArgs;
    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 testAutonomousDatabaseInstanceWalletManagement = DatabaseFunctions.getAutonomousDatabaseInstanceWalletManagement(GetAutonomousDatabaseInstanceWalletManagementArgs.builder()
                .autonomousDatabaseId(testAutonomousDatabase.id())
                .build());
    
        }
    }
    
    variables:
      testAutonomousDatabaseInstanceWalletManagement:
        fn::invoke:
          function: oci:Database:getAutonomousDatabaseInstanceWalletManagement
          arguments:
            autonomousDatabaseId: ${testAutonomousDatabase.id}
    

    Using getAutonomousDatabaseInstanceWalletManagement

    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 getAutonomousDatabaseInstanceWalletManagement(args: GetAutonomousDatabaseInstanceWalletManagementArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseInstanceWalletManagementResult>
    function getAutonomousDatabaseInstanceWalletManagementOutput(args: GetAutonomousDatabaseInstanceWalletManagementOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseInstanceWalletManagementResult>
    def get_autonomous_database_instance_wallet_management(autonomous_database_id: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseInstanceWalletManagementResult
    def get_autonomous_database_instance_wallet_management_output(autonomous_database_id: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseInstanceWalletManagementResult]
    func GetAutonomousDatabaseInstanceWalletManagement(ctx *Context, args *GetAutonomousDatabaseInstanceWalletManagementArgs, opts ...InvokeOption) (*GetAutonomousDatabaseInstanceWalletManagementResult, error)
    func GetAutonomousDatabaseInstanceWalletManagementOutput(ctx *Context, args *GetAutonomousDatabaseInstanceWalletManagementOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseInstanceWalletManagementResultOutput

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

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

    The following arguments are supported:

    AutonomousDatabaseId string
    The database OCID.
    AutonomousDatabaseId string
    The database OCID.
    autonomousDatabaseId String
    The database OCID.
    autonomousDatabaseId string
    The database OCID.
    autonomous_database_id str
    The database OCID.
    autonomousDatabaseId String
    The database OCID.

    getAutonomousDatabaseInstanceWalletManagement Result

    The following output properties are available:

    AutonomousDatabaseId string
    The database OCID.
    GracePeriod int
    Id string
    ShouldRotate bool
    Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.
    State string
    The current lifecycle state of the Autonomous Database wallet.
    TimeRotated string
    The date and time the wallet was last rotated.
    AutonomousDatabaseId string
    The database OCID.
    GracePeriod int
    Id string
    ShouldRotate bool
    Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.
    State string
    The current lifecycle state of the Autonomous Database wallet.
    TimeRotated string
    The date and time the wallet was last rotated.
    autonomousDatabaseId String
    The database OCID.
    gracePeriod Integer
    id String
    shouldRotate Boolean
    Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.
    state String
    The current lifecycle state of the Autonomous Database wallet.
    timeRotated String
    The date and time the wallet was last rotated.
    autonomousDatabaseId string
    The database OCID.
    gracePeriod number
    id string
    shouldRotate boolean
    Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.
    state string
    The current lifecycle state of the Autonomous Database wallet.
    timeRotated string
    The date and time the wallet was last rotated.
    autonomous_database_id str
    The database OCID.
    grace_period int
    id str
    should_rotate bool
    Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.
    state str
    The current lifecycle state of the Autonomous Database wallet.
    time_rotated str
    The date and time the wallet was last rotated.
    autonomousDatabaseId String
    The database OCID.
    gracePeriod Number
    id String
    shouldRotate Boolean
    Indicates whether to rotate the wallet or not. If false, the wallet will not be rotated. The default is false.
    state String
    The current lifecycle state of the Autonomous Database wallet.
    timeRotated String
    The date and time the wallet was last rotated.

    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.19.0 published on Thursday, Dec 12, 2024 by Pulumi