Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Managed My Sql Database Binary Log Information resource in Oracle Cloud Infrastructure Database Management service.
Retrieves information pertaining to the binary log of a specific MySQL server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedMySqlDatabaseBinaryLogInformation = oci.DatabaseManagement.getManagedMySqlDatabaseBinaryLogInformation({
managedMySqlDatabaseId: testManagedMySqlDatabase.id,
});
import pulumi
import pulumi_oci as oci
test_managed_my_sql_database_binary_log_information = oci.DatabaseManagement.get_managed_my_sql_database_binary_log_information(managed_my_sql_database_id=test_managed_my_sql_database["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasemanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasemanagement.GetManagedMySqlDatabaseBinaryLogInformation(ctx, &databasemanagement.GetManagedMySqlDatabaseBinaryLogInformationArgs{
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 testManagedMySqlDatabaseBinaryLogInformation = Oci.DatabaseManagement.GetManagedMySqlDatabaseBinaryLogInformation.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.GetManagedMySqlDatabaseBinaryLogInformationArgs;
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 testManagedMySqlDatabaseBinaryLogInformation = DatabaseManagementFunctions.getManagedMySqlDatabaseBinaryLogInformation(GetManagedMySqlDatabaseBinaryLogInformationArgs.builder()
.managedMySqlDatabaseId(testManagedMySqlDatabase.id())
.build());
}
}
variables:
testManagedMySqlDatabaseBinaryLogInformation:
fn::invoke:
function: oci:DatabaseManagement:getManagedMySqlDatabaseBinaryLogInformation
arguments:
managedMySqlDatabaseId: ${testManagedMySqlDatabase.id}
Using getManagedMySqlDatabaseBinaryLogInformation
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 getManagedMySqlDatabaseBinaryLogInformation(args: GetManagedMySqlDatabaseBinaryLogInformationArgs, opts?: InvokeOptions): Promise<GetManagedMySqlDatabaseBinaryLogInformationResult>
function getManagedMySqlDatabaseBinaryLogInformationOutput(args: GetManagedMySqlDatabaseBinaryLogInformationOutputArgs, opts?: InvokeOptions): Output<GetManagedMySqlDatabaseBinaryLogInformationResult>def get_managed_my_sql_database_binary_log_information(managed_my_sql_database_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedMySqlDatabaseBinaryLogInformationResult
def get_managed_my_sql_database_binary_log_information_output(managed_my_sql_database_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedMySqlDatabaseBinaryLogInformationResult]func GetManagedMySqlDatabaseBinaryLogInformation(ctx *Context, args *GetManagedMySqlDatabaseBinaryLogInformationArgs, opts ...InvokeOption) (*GetManagedMySqlDatabaseBinaryLogInformationResult, error)
func GetManagedMySqlDatabaseBinaryLogInformationOutput(ctx *Context, args *GetManagedMySqlDatabaseBinaryLogInformationOutputArgs, opts ...InvokeOption) GetManagedMySqlDatabaseBinaryLogInformationResultOutput> Note: This function is named GetManagedMySqlDatabaseBinaryLogInformation in the Go SDK.
public static class GetManagedMySqlDatabaseBinaryLogInformation
{
public static Task<GetManagedMySqlDatabaseBinaryLogInformationResult> InvokeAsync(GetManagedMySqlDatabaseBinaryLogInformationArgs args, InvokeOptions? opts = null)
public static Output<GetManagedMySqlDatabaseBinaryLogInformationResult> Invoke(GetManagedMySqlDatabaseBinaryLogInformationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedMySqlDatabaseBinaryLogInformationResult> getManagedMySqlDatabaseBinaryLogInformation(GetManagedMySqlDatabaseBinaryLogInformationArgs args, InvokeOptions options)
public static Output<GetManagedMySqlDatabaseBinaryLogInformationResult> getManagedMySqlDatabaseBinaryLogInformation(GetManagedMySqlDatabaseBinaryLogInformationArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseManagement/getManagedMySqlDatabaseBinaryLogInformation:getManagedMySqlDatabaseBinaryLogInformation
arguments:
# arguments dictionaryThe following arguments are supported:
- Managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- Managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- managed
My StringSql Database Id - The OCID of the Managed MySQL Database.
- managed
My stringSql Database Id - The OCID of the Managed MySQL Database.
- managed_
my_ strsql_ database_ id - The OCID of the Managed MySQL Database.
- managed
My StringSql Database Id - The OCID of the Managed MySQL Database.
getManagedMySqlDatabaseBinaryLogInformation Result
The following output properties are available:
- Binary
Log stringCompression - Indicates whether compression is enabled for transactions written to binary log files on the MySQL server.
- Binary
Log intCompression Percent - The compression ratio for the binary log, expressed as a percentage.
- Binary
Log stringFormat - The binary logging format used by the MySQL server.
- Binary
Log stringName - The name of the binary log file.
- Binary
Log stringPosition - The position within the binary log file.
- Binary
Logging string - The status of binary logging on the MySQL server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
My stringSql Database Id
- Binary
Log stringCompression - Indicates whether compression is enabled for transactions written to binary log files on the MySQL server.
- Binary
Log intCompression Percent - The compression ratio for the binary log, expressed as a percentage.
- Binary
Log stringFormat - The binary logging format used by the MySQL server.
- Binary
Log stringName - The name of the binary log file.
- Binary
Log stringPosition - The position within the binary log file.
- Binary
Logging string - The status of binary logging on the MySQL server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
My stringSql Database Id
- binary
Log StringCompression - Indicates whether compression is enabled for transactions written to binary log files on the MySQL server.
- binary
Log IntegerCompression Percent - The compression ratio for the binary log, expressed as a percentage.
- binary
Log StringFormat - The binary logging format used by the MySQL server.
- binary
Log StringName - The name of the binary log file.
- binary
Log StringPosition - The position within the binary log file.
- binary
Logging String - The status of binary logging on the MySQL server.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
My StringSql Database Id
- binary
Log stringCompression - Indicates whether compression is enabled for transactions written to binary log files on the MySQL server.
- binary
Log numberCompression Percent - The compression ratio for the binary log, expressed as a percentage.
- binary
Log stringFormat - The binary logging format used by the MySQL server.
- binary
Log stringName - The name of the binary log file.
- binary
Log stringPosition - The position within the binary log file.
- binary
Logging string - The status of binary logging on the MySQL server.
- id string
- The provider-assigned unique ID for this managed resource.
- managed
My stringSql Database Id
- binary_
log_ strcompression - Indicates whether compression is enabled for transactions written to binary log files on the MySQL server.
- binary_
log_ intcompression_ percent - The compression ratio for the binary log, expressed as a percentage.
- binary_
log_ strformat - The binary logging format used by the MySQL server.
- binary_
log_ strname - The name of the binary log file.
- binary_
log_ strposition - The position within the binary log file.
- binary_
logging str - The status of binary logging on the MySQL server.
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
my_ strsql_ database_ id
- binary
Log StringCompression - Indicates whether compression is enabled for transactions written to binary log files on the MySQL server.
- binary
Log NumberCompression Percent - The compression ratio for the binary log, expressed as a percentage.
- binary
Log StringFormat - The binary logging format used by the MySQL server.
- binary
Log StringName - The name of the binary log file.
- binary
Log StringPosition - The position within the binary log file.
- binary
Logging String - The status of binary logging on the MySQL server.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
My StringSql Database Id
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
