1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. getExternalExadataStorageServerOpenAlertHistory
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.DatabaseManagement.getExternalExadataStorageServerOpenAlertHistory

Explore with Pulumi AI

This data source provides details about a specific External Exadata Storage Server Open Alert History resource in Oracle Cloud Infrastructure Database Management service.

Gets the open alerts from the specified Exadata storage server.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testExternalExadataStorageServerOpenAlertHistory = oci.DatabaseManagement.getExternalExadataStorageServerOpenAlertHistory({
    externalExadataStorageServerId: testExternalExadataStorageServer.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_external_exadata_storage_server_open_alert_history = oci.DatabaseManagement.get_external_exadata_storage_server_open_alert_history(external_exadata_storage_server_id=test_external_exadata_storage_server["id"])
Copy
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.GetExternalExadataStorageServerOpenAlertHistory(ctx, &databasemanagement.GetExternalExadataStorageServerOpenAlertHistoryArgs{
			ExternalExadataStorageServerId: testExternalExadataStorageServer.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testExternalExadataStorageServerOpenAlertHistory = Oci.DatabaseManagement.GetExternalExadataStorageServerOpenAlertHistory.Invoke(new()
    {
        ExternalExadataStorageServerId = testExternalExadataStorageServer.Id,
    });

});
Copy
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.GetExternalExadataStorageServerOpenAlertHistoryArgs;
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 testExternalExadataStorageServerOpenAlertHistory = DatabaseManagementFunctions.getExternalExadataStorageServerOpenAlertHistory(GetExternalExadataStorageServerOpenAlertHistoryArgs.builder()
            .externalExadataStorageServerId(testExternalExadataStorageServer.id())
            .build());

    }
}
Copy
variables:
  testExternalExadataStorageServerOpenAlertHistory:
    fn::invoke:
      function: oci:DatabaseManagement:getExternalExadataStorageServerOpenAlertHistory
      arguments:
        externalExadataStorageServerId: ${testExternalExadataStorageServer.id}
Copy

Using getExternalExadataStorageServerOpenAlertHistory

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 getExternalExadataStorageServerOpenAlertHistory(args: GetExternalExadataStorageServerOpenAlertHistoryArgs, opts?: InvokeOptions): Promise<GetExternalExadataStorageServerOpenAlertHistoryResult>
function getExternalExadataStorageServerOpenAlertHistoryOutput(args: GetExternalExadataStorageServerOpenAlertHistoryOutputArgs, opts?: InvokeOptions): Output<GetExternalExadataStorageServerOpenAlertHistoryResult>
Copy
def get_external_exadata_storage_server_open_alert_history(external_exadata_storage_server_id: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetExternalExadataStorageServerOpenAlertHistoryResult
def get_external_exadata_storage_server_open_alert_history_output(external_exadata_storage_server_id: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetExternalExadataStorageServerOpenAlertHistoryResult]
Copy
func GetExternalExadataStorageServerOpenAlertHistory(ctx *Context, args *GetExternalExadataStorageServerOpenAlertHistoryArgs, opts ...InvokeOption) (*GetExternalExadataStorageServerOpenAlertHistoryResult, error)
func GetExternalExadataStorageServerOpenAlertHistoryOutput(ctx *Context, args *GetExternalExadataStorageServerOpenAlertHistoryOutputArgs, opts ...InvokeOption) GetExternalExadataStorageServerOpenAlertHistoryResultOutput
Copy

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

public static class GetExternalExadataStorageServerOpenAlertHistory 
{
    public static Task<GetExternalExadataStorageServerOpenAlertHistoryResult> InvokeAsync(GetExternalExadataStorageServerOpenAlertHistoryArgs args, InvokeOptions? opts = null)
    public static Output<GetExternalExadataStorageServerOpenAlertHistoryResult> Invoke(GetExternalExadataStorageServerOpenAlertHistoryInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetExternalExadataStorageServerOpenAlertHistoryResult> getExternalExadataStorageServerOpenAlertHistory(GetExternalExadataStorageServerOpenAlertHistoryArgs args, InvokeOptions options)
public static Output<GetExternalExadataStorageServerOpenAlertHistoryResult> getExternalExadataStorageServerOpenAlertHistory(GetExternalExadataStorageServerOpenAlertHistoryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DatabaseManagement/getExternalExadataStorageServerOpenAlertHistory:getExternalExadataStorageServerOpenAlertHistory
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ExternalExadataStorageServerId This property is required. string
The OCID of the Exadata storage server.
ExternalExadataStorageServerId This property is required. string
The OCID of the Exadata storage server.
externalExadataStorageServerId This property is required. String
The OCID of the Exadata storage server.
externalExadataStorageServerId This property is required. string
The OCID of the Exadata storage server.
external_exadata_storage_server_id This property is required. str
The OCID of the Exadata storage server.
externalExadataStorageServerId This property is required. String
The OCID of the Exadata storage server.

getExternalExadataStorageServerOpenAlertHistory Result

The following output properties are available:

Alerts List<GetExternalExadataStorageServerOpenAlertHistoryAlert>
A list of open alerts.
ExternalExadataStorageServerId string
Id string
The provider-assigned unique ID for this managed resource.
Alerts []GetExternalExadataStorageServerOpenAlertHistoryAlert
A list of open alerts.
ExternalExadataStorageServerId string
Id string
The provider-assigned unique ID for this managed resource.
alerts List<GetExternalExadataStorageServerOpenAlertHistoryAlert>
A list of open alerts.
externalExadataStorageServerId String
id String
The provider-assigned unique ID for this managed resource.
alerts GetExternalExadataStorageServerOpenAlertHistoryAlert[]
A list of open alerts.
externalExadataStorageServerId string
id string
The provider-assigned unique ID for this managed resource.
alerts Sequence[databasemanagement.GetExternalExadataStorageServerOpenAlertHistoryAlert]
A list of open alerts.
external_exadata_storage_server_id str
id str
The provider-assigned unique ID for this managed resource.
alerts List<Property Map>
A list of open alerts.
externalExadataStorageServerId String
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

GetExternalExadataStorageServerOpenAlertHistoryAlert

Message This property is required. string
The alert message.
Severity This property is required. string
The severity of the alert.
TimeStartAt This property is required. string
The start time of the alert.
Type This property is required. string
The type of alert.
Message This property is required. string
The alert message.
Severity This property is required. string
The severity of the alert.
TimeStartAt This property is required. string
The start time of the alert.
Type This property is required. string
The type of alert.
message This property is required. String
The alert message.
severity This property is required. String
The severity of the alert.
timeStartAt This property is required. String
The start time of the alert.
type This property is required. String
The type of alert.
message This property is required. string
The alert message.
severity This property is required. string
The severity of the alert.
timeStartAt This property is required. string
The start time of the alert.
type This property is required. string
The type of alert.
message This property is required. str
The alert message.
severity This property is required. str
The severity of the alert.
time_start_at This property is required. str
The start time of the alert.
type This property is required. str
The type of alert.
message This property is required. String
The alert message.
severity This property is required. String
The severity of the alert.
timeStartAt This property is required. String
The start time of the alert.
type This property is required. String
The type of alert.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.