oci.Database.getAutonomousCharacterSets
Explore with Pulumi AI
This data source provides the list of Autonomous Database Character Sets in Oracle Cloud Infrastructure Database service.
Gets a list of supported character sets.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousDatabaseCharacterSets = oci.Database.getAutonomousCharacterSets({
characterSetType: autonomousDatabaseCharacterSetCharacterSetType,
isDedicated: autonomousDatabaseCharacterSetIsDedicated,
isShared: autonomousDatabaseCharacterSetIsShared,
});
import pulumi
import pulumi_oci as oci
test_autonomous_database_character_sets = oci.Database.get_autonomous_character_sets(character_set_type=autonomous_database_character_set_character_set_type,
is_dedicated=autonomous_database_character_set_is_dedicated,
is_shared=autonomous_database_character_set_is_shared)
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.GetAutonomousCharacterSets(ctx, &database.GetAutonomousCharacterSetsArgs{
CharacterSetType: pulumi.StringRef(autonomousDatabaseCharacterSetCharacterSetType),
IsDedicated: pulumi.BoolRef(autonomousDatabaseCharacterSetIsDedicated),
IsShared: pulumi.BoolRef(autonomousDatabaseCharacterSetIsShared),
}, 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 testAutonomousDatabaseCharacterSets = Oci.Database.GetAutonomousCharacterSets.Invoke(new()
{
CharacterSetType = autonomousDatabaseCharacterSetCharacterSetType,
IsDedicated = autonomousDatabaseCharacterSetIsDedicated,
IsShared = autonomousDatabaseCharacterSetIsShared,
});
});
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.GetAutonomousCharacterSetsArgs;
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 testAutonomousDatabaseCharacterSets = DatabaseFunctions.getAutonomousCharacterSets(GetAutonomousCharacterSetsArgs.builder()
.characterSetType(autonomousDatabaseCharacterSetCharacterSetType)
.isDedicated(autonomousDatabaseCharacterSetIsDedicated)
.isShared(autonomousDatabaseCharacterSetIsShared)
.build());
}
}
variables:
testAutonomousDatabaseCharacterSets:
fn::invoke:
Function: oci:Database:getAutonomousCharacterSets
Arguments:
characterSetType: ${autonomousDatabaseCharacterSetCharacterSetType}
isDedicated: ${autonomousDatabaseCharacterSetIsDedicated}
isShared: ${autonomousDatabaseCharacterSetIsShared}
Using getAutonomousCharacterSets
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 getAutonomousCharacterSets(args: GetAutonomousCharacterSetsArgs, opts?: InvokeOptions): Promise<GetAutonomousCharacterSetsResult>
function getAutonomousCharacterSetsOutput(args: GetAutonomousCharacterSetsOutputArgs, opts?: InvokeOptions): Output<GetAutonomousCharacterSetsResult>
def get_autonomous_character_sets(character_set_type: Optional[str] = None,
filters: Optional[Sequence[_database.GetAutonomousCharacterSetsFilter]] = None,
is_dedicated: Optional[bool] = None,
is_shared: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetAutonomousCharacterSetsResult
def get_autonomous_character_sets_output(character_set_type: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetAutonomousCharacterSetsFilterArgs]]]] = None,
is_dedicated: Optional[pulumi.Input[bool]] = None,
is_shared: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousCharacterSetsResult]
func GetAutonomousCharacterSets(ctx *Context, args *GetAutonomousCharacterSetsArgs, opts ...InvokeOption) (*GetAutonomousCharacterSetsResult, error)
func GetAutonomousCharacterSetsOutput(ctx *Context, args *GetAutonomousCharacterSetsOutputArgs, opts ...InvokeOption) GetAutonomousCharacterSetsResultOutput
> Note: This function is named GetAutonomousCharacterSets
in the Go SDK.
public static class GetAutonomousCharacterSets
{
public static Task<GetAutonomousCharacterSetsResult> InvokeAsync(GetAutonomousCharacterSetsArgs args, InvokeOptions? opts = null)
public static Output<GetAutonomousCharacterSetsResult> Invoke(GetAutonomousCharacterSetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousCharacterSetsResult> getAutonomousCharacterSets(GetAutonomousCharacterSetsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getAutonomousCharacterSets:getAutonomousCharacterSets
arguments:
# arguments dictionary
The following arguments are supported:
- Character
Set stringType - Specifies whether this request pertains to database character sets or national character sets.
- Filters
List<Get
Autonomous Character Sets Filter> - Is
Dedicated bool - Specifies if the request is for an Autonomous Database Dedicated instance. The default request is for an Autonomous Database Dedicated instance.
- bool
Specifies whether this request is for Autonomous Database on Shared infrastructure. By default, this request will be for Autonomous Database on Dedicated Exadata Infrastructure.
:
- Character
Set stringType - Specifies whether this request pertains to database character sets or national character sets.
- Filters
[]Get
Autonomous Character Sets Filter - Is
Dedicated bool - Specifies if the request is for an Autonomous Database Dedicated instance. The default request is for an Autonomous Database Dedicated instance.
- bool
Specifies whether this request is for Autonomous Database on Shared infrastructure. By default, this request will be for Autonomous Database on Dedicated Exadata Infrastructure.
:
- character
Set StringType - Specifies whether this request pertains to database character sets or national character sets.
- filters
List<Get
Autonomous Character Sets Filter> - is
Dedicated Boolean - Specifies if the request is for an Autonomous Database Dedicated instance. The default request is for an Autonomous Database Dedicated instance.
- Boolean
Specifies whether this request is for Autonomous Database on Shared infrastructure. By default, this request will be for Autonomous Database on Dedicated Exadata Infrastructure.
:
- character
Set stringType - Specifies whether this request pertains to database character sets or national character sets.
- filters
Get
Autonomous Character Sets Filter[] - is
Dedicated boolean - Specifies if the request is for an Autonomous Database Dedicated instance. The default request is for an Autonomous Database Dedicated instance.
- boolean
Specifies whether this request is for Autonomous Database on Shared infrastructure. By default, this request will be for Autonomous Database on Dedicated Exadata Infrastructure.
:
- character_
set_ strtype - Specifies whether this request pertains to database character sets or national character sets.
- filters
Sequence[database.
Get Autonomous Character Sets Filter] - is_
dedicated bool - Specifies if the request is for an Autonomous Database Dedicated instance. The default request is for an Autonomous Database Dedicated instance.
- bool
Specifies whether this request is for Autonomous Database on Shared infrastructure. By default, this request will be for Autonomous Database on Dedicated Exadata Infrastructure.
:
- character
Set StringType - Specifies whether this request pertains to database character sets or national character sets.
- filters List<Property Map>
- is
Dedicated Boolean - Specifies if the request is for an Autonomous Database Dedicated instance. The default request is for an Autonomous Database Dedicated instance.
- Boolean
Specifies whether this request is for Autonomous Database on Shared infrastructure. By default, this request will be for Autonomous Database on Dedicated Exadata Infrastructure.
:
getAutonomousCharacterSets Result
The following output properties are available:
- Autonomous
Database List<GetCharacter Sets Autonomous Character Sets Autonomous Database Character Set> - The list of autonomous_database_character_sets.
- Id string
- The provider-assigned unique ID for this managed resource.
- Character
Set stringType - Filters
List<Get
Autonomous Character Sets Filter> - Is
Dedicated bool - bool
- Autonomous
Database []GetCharacter Sets Autonomous Character Sets Autonomous Database Character Set - The list of autonomous_database_character_sets.
- Id string
- The provider-assigned unique ID for this managed resource.
- Character
Set stringType - Filters
[]Get
Autonomous Character Sets Filter - Is
Dedicated bool - bool
- autonomous
Database List<GetCharacter Sets Autonomous Character Sets Autonomous Character Set> - The list of autonomous_database_character_sets.
- id String
- The provider-assigned unique ID for this managed resource.
- character
Set StringType - filters
List<Get
Autonomous Character Sets Filter> - is
Dedicated Boolean - Boolean
- autonomous
Database GetCharacter Sets Autonomous Character Sets Autonomous Database Character Set[] - The list of autonomous_database_character_sets.
- id string
- The provider-assigned unique ID for this managed resource.
- character
Set stringType - filters
Get
Autonomous Character Sets Filter[] - is
Dedicated boolean - boolean
- autonomous_
database_ Sequence[database.character_ sets Get Autonomous Character Sets Autonomous Database Character Set] - The list of autonomous_database_character_sets.
- id str
- The provider-assigned unique ID for this managed resource.
- character_
set_ strtype - filters
Sequence[database.
Get Autonomous Character Sets Filter] - is_
dedicated bool - bool
- autonomous
Database List<Property Map>Character Sets - The list of autonomous_database_character_sets.
- id String
- The provider-assigned unique ID for this managed resource.
- character
Set StringType - filters List<Property Map>
- is
Dedicated Boolean - Boolean
Supporting Types
GetAutonomousCharacterSetsAutonomousDatabaseCharacterSet
- Name string
- A valid Oracle character set.
- Name string
- A valid Oracle character set.
- name String
- A valid Oracle character set.
- name string
- A valid Oracle character set.
- name str
- A valid Oracle character set.
- name String
- A valid Oracle character set.
GetAutonomousCharacterSetsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.