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

oci.DatabaseManagement.getManagedMySqlDatabaseConfigurationData

Explore with Pulumi AI

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

    This data source provides the list of Managed My Sql Database Configuration Data in Oracle Cloud Infrastructure Database Management service.

    Retrieves Configuration Data for given MySQL Instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testManagedMySqlDatabaseConfigurationData = oci.DatabaseManagement.getManagedMySqlDatabaseConfigurationData({
        managedMySqlDatabaseId: testManagedMySqlDatabase.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_managed_my_sql_database_configuration_data = oci.DatabaseManagement.get_managed_my_sql_database_configuration_data(managed_my_sql_database_id=test_managed_my_sql_database["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseManagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DatabaseManagement.GetManagedMySqlDatabaseConfigurationData(ctx, &databasemanagement.GetManagedMySqlDatabaseConfigurationDataArgs{
    			ManagedMySqlDatabaseId: testManagedMySqlDatabase.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 testManagedMySqlDatabaseConfigurationData = Oci.DatabaseManagement.GetManagedMySqlDatabaseConfigurationData.Invoke(new()
        {
            ManagedMySqlDatabaseId = testManagedMySqlDatabase.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
    import com.pulumi.oci.DatabaseManagement.inputs.GetManagedMySqlDatabaseConfigurationDataArgs;
    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 testManagedMySqlDatabaseConfigurationData = DatabaseManagementFunctions.getManagedMySqlDatabaseConfigurationData(GetManagedMySqlDatabaseConfigurationDataArgs.builder()
                .managedMySqlDatabaseId(testManagedMySqlDatabase.id())
                .build());
    
        }
    }
    
    variables:
      testManagedMySqlDatabaseConfigurationData:
        fn::invoke:
          Function: oci:DatabaseManagement:getManagedMySqlDatabaseConfigurationData
          Arguments:
            managedMySqlDatabaseId: ${testManagedMySqlDatabase.id}
    

    Using getManagedMySqlDatabaseConfigurationData

    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 getManagedMySqlDatabaseConfigurationData(args: GetManagedMySqlDatabaseConfigurationDataArgs, opts?: InvokeOptions): Promise<GetManagedMySqlDatabaseConfigurationDataResult>
    function getManagedMySqlDatabaseConfigurationDataOutput(args: GetManagedMySqlDatabaseConfigurationDataOutputArgs, opts?: InvokeOptions): Output<GetManagedMySqlDatabaseConfigurationDataResult>
    def get_managed_my_sql_database_configuration_data(filters: Optional[Sequence[_databasemanagement.GetManagedMySqlDatabaseConfigurationDataFilter]] = None,
                                                       managed_my_sql_database_id: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetManagedMySqlDatabaseConfigurationDataResult
    def get_managed_my_sql_database_configuration_data_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemanagement.GetManagedMySqlDatabaseConfigurationDataFilterArgs]]]] = None,
                                                       managed_my_sql_database_id: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetManagedMySqlDatabaseConfigurationDataResult]
    func GetManagedMySqlDatabaseConfigurationData(ctx *Context, args *GetManagedMySqlDatabaseConfigurationDataArgs, opts ...InvokeOption) (*GetManagedMySqlDatabaseConfigurationDataResult, error)
    func GetManagedMySqlDatabaseConfigurationDataOutput(ctx *Context, args *GetManagedMySqlDatabaseConfigurationDataOutputArgs, opts ...InvokeOption) GetManagedMySqlDatabaseConfigurationDataResultOutput

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

    public static class GetManagedMySqlDatabaseConfigurationData 
    {
        public static Task<GetManagedMySqlDatabaseConfigurationDataResult> InvokeAsync(GetManagedMySqlDatabaseConfigurationDataArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedMySqlDatabaseConfigurationDataResult> Invoke(GetManagedMySqlDatabaseConfigurationDataInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagedMySqlDatabaseConfigurationDataResult> getManagedMySqlDatabaseConfigurationData(GetManagedMySqlDatabaseConfigurationDataArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DatabaseManagement/getManagedMySqlDatabaseConfigurationData:getManagedMySqlDatabaseConfigurationData
      arguments:
        # arguments dictionary

    The following arguments are supported:

    managedMySqlDatabaseId String
    The OCID of ManagedMySqlDatabase.
    filters List<Property Map>

    getManagedMySqlDatabaseConfigurationData Result

    The following output properties are available:

    id String
    The provider-assigned unique ID for this managed resource.
    managedMySqlDatabaseId String
    mySqlConfigurationDataCollections List<Property Map>
    The list of my_sql_configuration_data_collection.
    filters List<Property Map>

    Supporting Types

    GetManagedMySqlDatabaseConfigurationDataFilter

    Name string
    The name of variable
    Values List<string>
    Regex bool
    Name string
    The name of variable
    Values []string
    Regex bool
    name String
    The name of variable
    values List<String>
    regex Boolean
    name string
    The name of variable
    values string[]
    regex boolean
    name str
    The name of variable
    values Sequence[str]
    regex bool
    name String
    The name of variable
    values List<String>
    regex Boolean

    GetManagedMySqlDatabaseConfigurationDataMySqlConfigurationDataCollection

    items List<Property Map>
    List of ConfigurationDataSummary.

    GetManagedMySqlDatabaseConfigurationDataMySqlConfigurationDataCollectionItem

    DefaultValue string
    default value of variable
    Description string
    Description of the variable
    HostSet string
    Host from where this value was set. Empty for MySql Database System
    IsConfigurable bool
    Whether this variable is configurable
    IsDynamic bool
    Whether variable can be set dynamically or not
    IsInit bool
    whether variable is set at server startup
    MaxValue double
    Maximum value of variable
    MinValue double
    Minimum value of variable
    Name string
    The name of variable
    Path string
    If the variable was set from an option file, VARIABLE_PATH is the path name of that file. Otherwise, the value is the empty string.
    PossibleValues string
    Comma separated list of possible values for the variable in value:valueDescription format
    Source string
    The source from which the variable was most recently set
    SupportedVersions string
    Comma separated list of MySql versions where this variable is supported
    TimeSet string
    Time when value was set
    Type string
    type of variable
    UserSet string
    User who set this value. Empty for MySql Database System
    Value string
    The value of variable
    DefaultValue string
    default value of variable
    Description string
    Description of the variable
    HostSet string
    Host from where this value was set. Empty for MySql Database System
    IsConfigurable bool
    Whether this variable is configurable
    IsDynamic bool
    Whether variable can be set dynamically or not
    IsInit bool
    whether variable is set at server startup
    MaxValue float64
    Maximum value of variable
    MinValue float64
    Minimum value of variable
    Name string
    The name of variable
    Path string
    If the variable was set from an option file, VARIABLE_PATH is the path name of that file. Otherwise, the value is the empty string.
    PossibleValues string
    Comma separated list of possible values for the variable in value:valueDescription format
    Source string
    The source from which the variable was most recently set
    SupportedVersions string
    Comma separated list of MySql versions where this variable is supported
    TimeSet string
    Time when value was set
    Type string
    type of variable
    UserSet string
    User who set this value. Empty for MySql Database System
    Value string
    The value of variable
    defaultValue String
    default value of variable
    description String
    Description of the variable
    hostSet String
    Host from where this value was set. Empty for MySql Database System
    isConfigurable Boolean
    Whether this variable is configurable
    isDynamic Boolean
    Whether variable can be set dynamically or not
    isInit Boolean
    whether variable is set at server startup
    maxValue Double
    Maximum value of variable
    minValue Double
    Minimum value of variable
    name String
    The name of variable
    path String
    If the variable was set from an option file, VARIABLE_PATH is the path name of that file. Otherwise, the value is the empty string.
    possibleValues String
    Comma separated list of possible values for the variable in value:valueDescription format
    source String
    The source from which the variable was most recently set
    supportedVersions String
    Comma separated list of MySql versions where this variable is supported
    timeSet String
    Time when value was set
    type String
    type of variable
    userSet String
    User who set this value. Empty for MySql Database System
    value String
    The value of variable
    defaultValue string
    default value of variable
    description string
    Description of the variable
    hostSet string
    Host from where this value was set. Empty for MySql Database System
    isConfigurable boolean
    Whether this variable is configurable
    isDynamic boolean
    Whether variable can be set dynamically or not
    isInit boolean
    whether variable is set at server startup
    maxValue number
    Maximum value of variable
    minValue number
    Minimum value of variable
    name string
    The name of variable
    path string
    If the variable was set from an option file, VARIABLE_PATH is the path name of that file. Otherwise, the value is the empty string.
    possibleValues string
    Comma separated list of possible values for the variable in value:valueDescription format
    source string
    The source from which the variable was most recently set
    supportedVersions string
    Comma separated list of MySql versions where this variable is supported
    timeSet string
    Time when value was set
    type string
    type of variable
    userSet string
    User who set this value. Empty for MySql Database System
    value string
    The value of variable
    default_value str
    default value of variable
    description str
    Description of the variable
    host_set str
    Host from where this value was set. Empty for MySql Database System
    is_configurable bool
    Whether this variable is configurable
    is_dynamic bool
    Whether variable can be set dynamically or not
    is_init bool
    whether variable is set at server startup
    max_value float
    Maximum value of variable
    min_value float
    Minimum value of variable
    name str
    The name of variable
    path str
    If the variable was set from an option file, VARIABLE_PATH is the path name of that file. Otherwise, the value is the empty string.
    possible_values str
    Comma separated list of possible values for the variable in value:valueDescription format
    source str
    The source from which the variable was most recently set
    supported_versions str
    Comma separated list of MySql versions where this variable is supported
    time_set str
    Time when value was set
    type str
    type of variable
    user_set str
    User who set this value. Empty for MySql Database System
    value str
    The value of variable
    defaultValue String
    default value of variable
    description String
    Description of the variable
    hostSet String
    Host from where this value was set. Empty for MySql Database System
    isConfigurable Boolean
    Whether this variable is configurable
    isDynamic Boolean
    Whether variable can be set dynamically or not
    isInit Boolean
    whether variable is set at server startup
    maxValue Number
    Maximum value of variable
    minValue Number
    Minimum value of variable
    name String
    The name of variable
    path String
    If the variable was set from an option file, VARIABLE_PATH is the path name of that file. Otherwise, the value is the empty string.
    possibleValues String
    Comma separated list of possible values for the variable in value:valueDescription format
    source String
    The source from which the variable was most recently set
    supportedVersions String
    Comma separated list of MySql versions where this variable is supported
    timeSet String
    Time when value was set
    type String
    type of variable
    userSet String
    User who set this value. Empty for MySql Database System
    value String
    The value of variable

    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