oci.DatabaseMigration.getAgentImages
Explore with Pulumi AI
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 System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAgentImages = Oci.DatabaseMigration.GetAgentImages.Invoke();
});
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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseMigration.DatabaseMigrationFunctions;
import com.pulumi.oci.DatabaseMigration.inputs.GetAgentImagesArgs;
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 testAgentImages = DatabaseMigrationFunctions.getAgentImages();
}
}
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 = oci.DatabaseMigration.getAgentImages({});
variables:
testAgentImages:
fn::invoke:
Function: oci:DatabaseMigration:getAgentImages
Arguments: {}
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:
- Agent
Image List<GetCollections Agent Images Agent Image Collection> The list of agent_image_collection.
- Id string
The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Agent Images Filter>
- Agent
Image []GetCollections Agent Images Agent Image Collection The list of agent_image_collection.
- Id string
The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Agent Images Filter
- agent
Image List<GetCollections Agent Images Agent Image Collection> The list of agent_image_collection.
- id String
The provider-assigned unique ID for this managed resource.
- filters
List<Get
Agent Images Filter>
- agent
Image GetCollections Agent Images Agent Image Collection[] The list of agent_image_collection.
- id string
The provider-assigned unique ID for this managed resource.
- filters
Get
Agent Images Filter[]
- agent_
image_ Getcollections Agent Images Agent Image Collection] The list of agent_image_collection.
- id str
The provider-assigned unique ID for this managed resource.
- filters
Get
Agent Images Filter]
- agent
Image List<Property Map>Collections 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<Get
Agent Images Agent Image Collection Item> Items in collection.
- Items
[]Get
Agent Images Agent Image Collection Item Items in collection.
- items
List<Get
Agent Images Agent Image Collection Item> Items in collection.
- items
Get
Agent Images Agent Image Collection Item[] Items in collection.
- items
Get
Agent Images Agent Image Collection Item] Items in collection.
- items List<Property Map>
Items in collection.
GetAgentImagesAgentImageCollectionItem
- Download
Url string URL to download Agent Image of the ODMS Agent.
- Version string
ODMS Agent Image version.
- Download
Url string URL to download Agent Image of the ODMS Agent.
- Version string
ODMS Agent Image version.
- download
Url String URL to download Agent Image of the ODMS Agent.
- version String
ODMS Agent Image version.
- download
Url 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.
- download
Url String URL to download Agent Image of the ODMS Agent.
- version String
ODMS Agent Image version.
GetAgentImagesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.