Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getAgentImages

This data source provides the list of Agent Images in Oracle Cloud Infrastructure Database Migration service.

Get details of the ODMS Agent Images available to install on-premises.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAgentImages = Output.Create(Oci.DatabaseMigration.GetAgentImages.InvokeAsync());
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DatabaseMigration"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DatabaseMigration.GetAgentImages(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_agent_images = oci.DatabaseMigration.get_agent_images()
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAgentImages = pulumi.output(oci.DatabaseMigration.getAgentImages());

Coming soon!

Using getAgentImages

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 getAgentImages(args: GetAgentImagesArgs, opts?: InvokeOptions): Promise<GetAgentImagesResult>
function getAgentImagesOutput(args: GetAgentImagesOutputArgs, opts?: InvokeOptions): Output<GetAgentImagesResult>
def get_agent_images(filters: Optional[Sequence[_databasemigration.GetAgentImagesFilter]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAgentImagesResult
def get_agent_images_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemigration.GetAgentImagesFilterArgs]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetAgentImagesResult]
func GetAgentImages(ctx *Context, args *GetAgentImagesArgs, opts ...InvokeOption) (*GetAgentImagesResult, error)
func GetAgentImagesOutput(ctx *Context, args *GetAgentImagesOutputArgs, opts ...InvokeOption) GetAgentImagesResultOutput

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

public static class GetAgentImages 
{
    public static Task<GetAgentImagesResult> InvokeAsync(GetAgentImagesArgs args, InvokeOptions? opts = null)
    public static Output<GetAgentImagesResult> Invoke(GetAgentImagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAgentImagesResult> getAgentImages(GetAgentImagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DatabaseMigration/getAgentImages:getAgentImages
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getAgentImages Result

The following output properties are available:

AgentImageCollections List<GetAgentImagesAgentImageCollection>

The list of agent_image_collection.

Id string

The provider-assigned unique ID for this managed resource.

Filters List<GetAgentImagesFilter>
AgentImageCollections []GetAgentImagesAgentImageCollection

The list of agent_image_collection.

Id string

The provider-assigned unique ID for this managed resource.

Filters []GetAgentImagesFilter
agentImageCollections List<GetAgentImagesAgentImageCollection>

The list of agent_image_collection.

id String

The provider-assigned unique ID for this managed resource.

filters List<GetAgentImagesFilter>
agentImageCollections GetAgentImagesAgentImageCollection[]

The list of agent_image_collection.

id string

The provider-assigned unique ID for this managed resource.

filters GetAgentImagesFilter[]
agent_image_collections GetAgentImagesAgentImageCollection]

The list of agent_image_collection.

id str

The provider-assigned unique ID for this managed resource.

filters GetAgentImagesFilter]
agentImageCollections List<Property Map>

The list of agent_image_collection.

id String

The provider-assigned unique ID for this managed resource.

filters List<Property Map>

Supporting Types

GetAgentImagesAgentImageCollection

items List<Property Map>

Items in collection.

GetAgentImagesAgentImageCollectionItem

DownloadUrl string

URL to download Agent Image of the ODMS Agent.

Version string

ODMS Agent Image version.

DownloadUrl string

URL to download Agent Image of the ODMS Agent.

Version string

ODMS Agent Image version.

downloadUrl String

URL to download Agent Image of the ODMS Agent.

version String

ODMS Agent Image version.

downloadUrl string

URL to download Agent Image of the ODMS Agent.

version string

ODMS Agent Image version.

download_url str

URL to download Agent Image of the ODMS Agent.

version str

ODMS Agent Image version.

downloadUrl String

URL to download Agent Image of the ODMS Agent.

version String

ODMS Agent Image version.

GetAgentImagesFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.