Show / Hide Table of Contents

Class ManagedMySqlDatabasesClient

Service client instance for ManagedMySqlDatabases.

Inheritance
object
ClientBase
RegionalClientBase
ManagedMySqlDatabasesClient
Implements
IDisposable
Inherited Members
RegionalClientBase.logger
RegionalClientBase.SetRegion(Region)
RegionalClientBase.SetRegion(string)
RegionalClientBase.UseRealmSpecificEndpointTemplate(bool)
RegionalClientBase.PopulateServiceParametersInEndpointTemplate(RestClient, Dictionary<string, object>)
RegionalClientBase.parseEndpointForParameters(string)
ClientBase.restClient
ClientBase.service
ClientBase.userAgent
ClientBase.Dispose()
ClientBase.Dispose(bool)
ClientBase.SetEndpoint(string)
ClientBase.GetEndpoint()
ClientBase.GetUserAgent()
ClientBase.SetRealmSpecificEndpointTemplate(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemanagementService
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class ManagedMySqlDatabasesClient : RegionalClientBase, IDisposable

Constructors

ManagedMySqlDatabasesClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)

Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.

Declaration
public ManagedMySqlDatabasesClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
Type Name Description
IBasicAuthenticationDetailsProvider authenticationDetailsProvider

The authentication details provider. Required.

ClientConfiguration clientConfiguration

The client configuration that contains settings to adjust REST client behaviors. Optional.

string endpoint

The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional.

Properties

Paginators

Declaration
public ManagedMySqlDatabasesPaginators Paginators { get; }
Property Value
Type Description
ManagedMySqlDatabasesPaginators

Waiters

Declaration
public ManagedMySqlDatabasesWaiters Waiters { get; }
Property Value
Type Description
ManagedMySqlDatabasesWaiters

Methods

ChangeMysqlDatabaseManagementType(ChangeMysqlDatabaseManagementTypeRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Changes the management type for a HeatWave MySQL instance, from BASIC to FULL and vice versa. It can also be used to enable or disable database management.

Declaration
public Task<ChangeMysqlDatabaseManagementTypeResponse> ChangeMysqlDatabaseManagementType(ChangeMysqlDatabaseManagementTypeRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeMysqlDatabaseManagementTypeRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ChangeMysqlDatabaseManagementTypeResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeMysqlDatabaseManagementType API.

GetBinaryLogInformation(GetBinaryLogInformationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves information pertaining to binary log of a specific MySQL server.

Declaration
public Task<GetBinaryLogInformationResponse> GetBinaryLogInformation(GetBinaryLogInformationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetBinaryLogInformationRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetBinaryLogInformationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetBinaryLogInformation API.

GetGeneralReplicationInformation(GetGeneralReplicationInformationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves general information regarding replication of a specific MySQL server.

Declaration
public Task<GetGeneralReplicationInformationResponse> GetGeneralReplicationInformation(GetGeneralReplicationInformationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetGeneralReplicationInformationRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetGeneralReplicationInformationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetGeneralReplicationInformation API.

GetHeatWaveFleetMetric(GetHeatWaveFleetMetricRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the health metrics for a fleet of HeatWave clusters in a compartment.

Declaration
public Task<GetHeatWaveFleetMetricResponse> GetHeatWaveFleetMetric(GetHeatWaveFleetMetricRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetHeatWaveFleetMetricRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetHeatWaveFleetMetricResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetHeatWaveFleetMetric API.

GetManagedMySqlDatabase(GetManagedMySqlDatabaseRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves the general information for a specific MySQL Database.

Declaration
public Task<GetManagedMySqlDatabaseResponse> GetManagedMySqlDatabase(GetManagedMySqlDatabaseRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetManagedMySqlDatabaseRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetManagedMySqlDatabaseResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetManagedMySqlDatabase API.

GetMySqlFleetMetric(GetMySqlFleetMetricRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the health metrics for a fleet of MySQL Databases in a compartment.

Declaration
public Task<GetMySqlFleetMetricResponse> GetMySqlFleetMetric(GetMySqlFleetMetricRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetMySqlFleetMetricRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetMySqlFleetMetricResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetMySqlFleetMetric API.

GetMySqlQueryDetails(GetMySqlQueryDetailsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves query sample details, explain plan and potential warnings for a given digest.

Declaration
public Task<GetMySqlQueryDetailsResponse> GetMySqlQueryDetails(GetMySqlQueryDetailsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetMySqlQueryDetailsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<GetMySqlQueryDetailsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetMySqlQueryDetails API.

ListHighAvailabilityMembers(ListHighAvailabilityMembersRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Information about high availability members of a specific MySQL server's replication group.

Declaration
public Task<ListHighAvailabilityMembersResponse> ListHighAvailabilityMembers(ListHighAvailabilityMembersRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListHighAvailabilityMembersRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListHighAvailabilityMembersResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListHighAvailabilityMembers API.

ListInboundReplications(ListInboundReplicationsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves information about the inbound replications of a specific MySQL server.

Declaration
public Task<ListInboundReplicationsResponse> ListInboundReplications(ListInboundReplicationsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListInboundReplicationsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListInboundReplicationsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListInboundReplications API.

ListManagedMySqlDatabaseConfigurationData(ListManagedMySqlDatabaseConfigurationDataRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves configuration data for a specific MySQL database.

Declaration
public Task<ListManagedMySqlDatabaseConfigurationDataResponse> ListManagedMySqlDatabaseConfigurationData(ListManagedMySqlDatabaseConfigurationDataRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListManagedMySqlDatabaseConfigurationDataRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListManagedMySqlDatabaseConfigurationDataResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListManagedMySqlDatabaseConfigurationData API.

ListManagedMySqlDatabaseSqlData(ListManagedMySqlDatabaseSqlDataRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves the SQL performance data for a specific MySQL database.

Declaration
public Task<ListManagedMySqlDatabaseSqlDataResponse> ListManagedMySqlDatabaseSqlData(ListManagedMySqlDatabaseSqlDataRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListManagedMySqlDatabaseSqlDataRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListManagedMySqlDatabaseSqlDataResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListManagedMySqlDatabaseSqlData API.

ListManagedMySqlDatabases(ListManagedMySqlDatabasesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the list of Managed MySQL Databases in a specific compartment.

Declaration
public Task<ListManagedMySqlDatabasesResponse> ListManagedMySqlDatabases(ListManagedMySqlDatabasesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListManagedMySqlDatabasesRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListManagedMySqlDatabasesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListManagedMySqlDatabases API.

ListMySqlDigestErrors(ListMySqlDigestErrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves any potential errors for a given digest.

Declaration
public Task<ListMySqlDigestErrorsResponse> ListMySqlDigestErrors(ListMySqlDigestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListMySqlDigestErrorsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListMySqlDigestErrorsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListMySqlDigestErrors API.

ListOutboundReplications(ListOutboundReplicationsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Retrieves information pertaining to outbound replications of a specific MySQL server.

Declaration
public Task<ListOutboundReplicationsResponse> ListOutboundReplications(ListOutboundReplicationsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListOutboundReplicationsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<ListOutboundReplicationsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListOutboundReplications API.

SummarizeManagedMySqlDatabaseAvailabilityMetrics(SummarizeManagedMySqlDatabaseAvailabilityMetricsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the availability metrics for the MySQL Database specified by managedMySqlDatabaseId.

Declaration
public Task<SummarizeManagedMySqlDatabaseAvailabilityMetricsResponse> SummarizeManagedMySqlDatabaseAvailabilityMetrics(SummarizeManagedMySqlDatabaseAvailabilityMetricsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
SummarizeManagedMySqlDatabaseAvailabilityMetricsRequest request

The request object containing the details to send. Required.

RetryConfiguration retryConfiguration

The retry configuration that will be used by to send this request. Optional.

CancellationToken cancellationToken

The cancellation token to cancel this operation. Optional.

HttpCompletionOption completionOption

The completion option for this operation. Optional.

Returns
Type Description
Task<SummarizeManagedMySqlDatabaseAvailabilityMetricsResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use SummarizeManagedMySqlDatabaseAvailabilityMetrics API.

Implements

IDisposable
In this article
Back to top