Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.GoldenGate.getMessages
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Messages in Oracle Cloud Infrastructure Golden Gate service.
Lists the DeploymentMessages for a deployment. The sorting order is not important. By default first will be Upgrade message, next Exception message and then Storage Utilization message.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMessages = oci.GoldenGate.getMessages({
deploymentId: testDeployment.id,
});
import pulumi
import pulumi_oci as oci
test_messages = oci.GoldenGate.get_messages(deployment_id=test_deployment["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/GoldenGate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := GoldenGate.GetMessages(ctx, &goldengate.GetMessagesArgs{
DeploymentId: testDeployment.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 testMessages = Oci.GoldenGate.GetMessages.Invoke(new()
{
DeploymentId = testDeployment.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
import com.pulumi.oci.GoldenGate.inputs.GetMessagesArgs;
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 testMessages = GoldenGateFunctions.getMessages(GetMessagesArgs.builder()
.deploymentId(testDeployment.id())
.build());
}
}
variables:
testMessages:
fn::invoke:
Function: oci:GoldenGate:getMessages
Arguments:
deploymentId: ${testDeployment.id}
Using getMessages
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 getMessages(args: GetMessagesArgs, opts?: InvokeOptions): Promise<GetMessagesResult>
function getMessagesOutput(args: GetMessagesOutputArgs, opts?: InvokeOptions): Output<GetMessagesResult>
def get_messages(deployment_id: Optional[str] = None,
filters: Optional[Sequence[_goldengate.GetMessagesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetMessagesResult
def get_messages_output(deployment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_goldengate.GetMessagesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMessagesResult]
func GetMessages(ctx *Context, args *GetMessagesArgs, opts ...InvokeOption) (*GetMessagesResult, error)
func GetMessagesOutput(ctx *Context, args *GetMessagesOutputArgs, opts ...InvokeOption) GetMessagesResultOutput
> Note: This function is named GetMessages
in the Go SDK.
public static class GetMessages
{
public static Task<GetMessagesResult> InvokeAsync(GetMessagesArgs args, InvokeOptions? opts = null)
public static Output<GetMessagesResult> Invoke(GetMessagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMessagesResult> getMessages(GetMessagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GoldenGate/getMessages:getMessages
arguments:
# arguments dictionary
The following arguments are supported:
- Deployment
Id string - A unique Deployment identifier.
- Filters
List<Get
Messages Filter>
- Deployment
Id string - A unique Deployment identifier.
- Filters
[]Get
Messages Filter
- deployment
Id String - A unique Deployment identifier.
- filters
List<Get
Messages Filter>
- deployment
Id string - A unique Deployment identifier.
- filters
Get
Messages Filter[]
- deployment_
id str - A unique Deployment identifier.
- filters
Sequence[goldengate.
Get Messages Filter]
- deployment
Id String - A unique Deployment identifier.
- filters List<Property Map>
getMessages Result
The following output properties are available:
- Deployment
Id string - Deployment
Messages List<GetCollections Messages Deployment Messages Collection> - The list of deployment_messages_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Messages Filter>
- Deployment
Id string - Deployment
Messages []GetCollections Messages Deployment Messages Collection - The list of deployment_messages_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Messages Filter
- deployment
Id String - deployment
Messages List<GetCollections Messages Deployment Messages Collection> - The list of deployment_messages_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Messages Filter>
- deployment
Id string - deployment
Messages GetCollections Messages Deployment Messages Collection[] - The list of deployment_messages_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Messages Filter[]
- deployment_
id str - deployment_
messages_ Sequence[goldengate.collections Get Messages Deployment Messages Collection] - The list of deployment_messages_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[goldengate.
Get Messages Filter]
- deployment
Id String - deployment
Messages List<Property Map>Collections - The list of deployment_messages_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetMessagesDeploymentMessagesCollection
- Items
List<Get
Messages Deployment Messages Collection Item> - An array of DeploymentMessages.
- Items
[]Get
Messages Deployment Messages Collection Item - An array of DeploymentMessages.
- items
List<Get
Messages Deployment Messages Collection Item> - An array of DeploymentMessages.
- items
Get
Messages Deployment Messages Collection Item[] - An array of DeploymentMessages.
- items
Sequence[goldengate.
Get Messages Deployment Messages Collection Item] - An array of DeploymentMessages.
- items List<Property Map>
- An array of DeploymentMessages.
GetMessagesDeploymentMessagesCollectionItem
- Deployment
Message string - The deployment Message in plain text with optional HTML anchor tags.
- Deployment
Message stringStatus - The deployment Message Status.
- Id string
- The deployment Message Id.
- Deployment
Message string - The deployment Message in plain text with optional HTML anchor tags.
- Deployment
Message stringStatus - The deployment Message Status.
- Id string
- The deployment Message Id.
- deployment
Message String - The deployment Message in plain text with optional HTML anchor tags.
- deployment
Message StringStatus - The deployment Message Status.
- id String
- The deployment Message Id.
- deployment
Message string - The deployment Message in plain text with optional HTML anchor tags.
- deployment
Message stringStatus - The deployment Message Status.
- id string
- The deployment Message Id.
- deployment_
message str - The deployment Message in plain text with optional HTML anchor tags.
- deployment_
message_ strstatus - The deployment Message Status.
- id str
- The deployment Message Id.
- deployment
Message String - The deployment Message in plain text with optional HTML anchor tags.
- deployment
Message StringStatus - The deployment Message Status.
- id String
- The deployment Message Id.
GetMessagesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi