Oracle Cloud Infrastructure v2.19.0 published on Thursday, Dec 12, 2024 by Pulumi
oci.Database.getAutonomousDatabaseInstanceWalletManagement
Explore with Pulumi AI
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:
- Autonomous
Database stringId - The database OCID.
- Autonomous
Database stringId - The database OCID.
- autonomous
Database StringId - The database OCID.
- autonomous
Database stringId - The database OCID.
- autonomous_
database_ strid - The database OCID.
- autonomous
Database StringId - The database OCID.
getAutonomousDatabaseInstanceWalletManagement Result
The following output properties are available:
- Autonomous
Database stringId - The database OCID.
- Grace
Period int - Id string
- Should
Rotate bool - Indicates whether to rotate the wallet or not. If
false
, the wallet will not be rotated. The default isfalse
. - State string
- The current lifecycle state of the Autonomous Database wallet.
- Time
Rotated string - The date and time the wallet was last rotated.
- Autonomous
Database stringId - The database OCID.
- Grace
Period int - Id string
- Should
Rotate bool - Indicates whether to rotate the wallet or not. If
false
, the wallet will not be rotated. The default isfalse
. - State string
- The current lifecycle state of the Autonomous Database wallet.
- Time
Rotated string - The date and time the wallet was last rotated.
- autonomous
Database StringId - The database OCID.
- grace
Period Integer - id String
- should
Rotate Boolean - Indicates whether to rotate the wallet or not. If
false
, the wallet will not be rotated. The default isfalse
. - state String
- The current lifecycle state of the Autonomous Database wallet.
- time
Rotated String - The date and time the wallet was last rotated.
- autonomous
Database stringId - The database OCID.
- grace
Period number - id string
- should
Rotate boolean - Indicates whether to rotate the wallet or not. If
false
, the wallet will not be rotated. The default isfalse
. - state string
- The current lifecycle state of the Autonomous Database wallet.
- time
Rotated string - The date and time the wallet was last rotated.
- autonomous_
database_ strid - 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 isfalse
. - state str
- The current lifecycle state of the Autonomous Database wallet.
- time_
rotated str - The date and time the wallet was last rotated.
- autonomous
Database StringId - The database OCID.
- grace
Period Number - id String
- should
Rotate Boolean - Indicates whether to rotate the wallet or not. If
false
, the wallet will not be rotated. The default isfalse
. - state String
- The current lifecycle state of the Autonomous Database wallet.
- time
Rotated 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.