Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.DatabaseManagement.getManagedMySqlDatabaseConfigurationData
Explore with Pulumi AI
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:
- Managed
My stringSql Database Id - The OCID of ManagedMySqlDatabase.
- Filters
List<Get
Managed My Sql Database Configuration Data Filter>
- Managed
My stringSql Database Id - The OCID of ManagedMySqlDatabase.
- Filters
[]Get
Managed My Sql Database Configuration Data Filter
- managed
My StringSql Database Id - The OCID of ManagedMySqlDatabase.
- filters
List<Get
Managed My Sql Database Configuration Data Filter>
- managed
My stringSql Database Id - The OCID of ManagedMySqlDatabase.
- filters
Get
Managed My Sql Database Configuration Data Filter[]
- managed_
my_ strsql_ database_ id - The OCID of ManagedMySqlDatabase.
- filters
Sequence[databasemanagement.
Get Managed My Sql Database Configuration Data Filter]
- managed
My StringSql Database Id - 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.
- Managed
My stringSql Database Id - My
Sql List<GetConfiguration Data Collections Managed My Sql Database Configuration Data My Sql Configuration Data Collection> - The list of my_sql_configuration_data_collection.
- Filters
List<Get
Managed My Sql Database Configuration Data Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
My stringSql Database Id - My
Sql []GetConfiguration Data Collections Managed My Sql Database Configuration Data My Sql Configuration Data Collection - The list of my_sql_configuration_data_collection.
- Filters
[]Get
Managed My Sql Database Configuration Data Filter
- id String
- The provider-assigned unique ID for this managed resource.
- managed
My StringSql Database Id - my
Sql List<GetConfiguration Data Collections Managed My Sql Database Configuration Data My Sql Configuration Data Collection> - The list of my_sql_configuration_data_collection.
- filters
List<Get
Managed My Sql Database Configuration Data Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- managed
My stringSql Database Id - my
Sql GetConfiguration Data Collections Managed My Sql Database Configuration Data My Sql Configuration Data Collection[] - The list of my_sql_configuration_data_collection.
- filters
Get
Managed My Sql Database Configuration Data Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
my_ strsql_ database_ id - my_
sql_ Sequence[databasemanagement.configuration_ data_ collections Get Managed My Sql Database Configuration Data My Sql Configuration Data Collection] - The list of my_sql_configuration_data_collection.
- filters
Sequence[databasemanagement.
Get Managed My Sql Database Configuration Data Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- managed
My StringSql Database Id - my
Sql List<Property Map>Configuration Data Collections - The list of my_sql_configuration_data_collection.
- filters List<Property Map>
Supporting Types
GetManagedMySqlDatabaseConfigurationDataFilter
GetManagedMySqlDatabaseConfigurationDataMySqlConfigurationDataCollection
- Items
List<Get
Managed My Sql Database Configuration Data My Sql Configuration Data Collection Item> - List of ConfigurationDataSummary.
- Items
[]Get
Managed My Sql Database Configuration Data My Sql Configuration Data Collection Item - List of ConfigurationDataSummary.
- items
List<Get
Managed My Sql Database Configuration Data My Sql Configuration Data Collection Item> - List of ConfigurationDataSummary.
- items
Get
Managed My Sql Database Configuration Data My Sql Configuration Data Collection Item[] - List of ConfigurationDataSummary.
- items
Sequence[databasemanagement.
Get Managed My Sql Database Configuration Data My Sql Configuration Data Collection Item] - List of ConfigurationDataSummary.
- items List<Property Map>
- List of ConfigurationDataSummary.
GetManagedMySqlDatabaseConfigurationDataMySqlConfigurationDataCollectionItem
- Default
Value string - default value of variable
- Description string
- Description of the variable
- Host
Set string - 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 double - Maximum value of variable
- Min
Value 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.
- Possible
Values 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
- Supported
Versions string - Comma separated list of MySql versions where this variable is supported
- Time
Set string - Time when value was set
- Type string
- type of variable
- User
Set string - User who set this value. Empty for MySql Database System
- Value string
- The value of variable
- Default
Value string - default value of variable
- Description string
- Description of the variable
- Host
Set string - 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 float64 - Maximum value of variable
- Min
Value 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.
- Possible
Values 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
- Supported
Versions string - Comma separated list of MySql versions where this variable is supported
- Time
Set string - Time when value was set
- Type string
- type of variable
- User
Set string - User who set this value. Empty for MySql Database System
- Value string
- The value of variable
- default
Value String - default value of variable
- description String
- Description of the variable
- host
Set String - Host from where this value was set. Empty for MySql Database System
- is
Configurable Boolean - Whether this variable is configurable
- is
Dynamic Boolean - Whether variable can be set dynamically or not
- is
Init Boolean - whether variable is set at server startup
- max
Value Double - Maximum value of variable
- min
Value 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.
- possible
Values 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
- supported
Versions String - Comma separated list of MySql versions where this variable is supported
- time
Set String - Time when value was set
- type String
- type of variable
- user
Set String - User who set this value. Empty for MySql Database System
- value String
- The value of variable
- default
Value string - default value of variable
- description string
- Description of the variable
- host
Set string - Host from where this value was set. Empty for MySql Database System
- is
Configurable boolean - Whether this variable is configurable
- is
Dynamic boolean - Whether variable can be set dynamically or not
- is
Init boolean - whether variable is set at server startup
- max
Value number - Maximum value of variable
- min
Value 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.
- possible
Values 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
- supported
Versions string - Comma separated list of MySql versions where this variable is supported
- time
Set string - Time when value was set
- type string
- type of variable
- user
Set 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
- default
Value String - default value of variable
- description String
- Description of the variable
- host
Set String - Host from where this value was set. Empty for MySql Database System
- is
Configurable Boolean - Whether this variable is configurable
- is
Dynamic Boolean - Whether variable can be set dynamically or not
- is
Init Boolean - whether variable is set at server startup
- max
Value Number - Maximum value of variable
- min
Value 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.
- possible
Values 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
- supported
Versions String - Comma separated list of MySql versions where this variable is supported
- time
Set String - Time when value was set
- type String
- type of variable
- user
Set 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.