1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseMigration
  5. getAgentImages
Oracle Cloud Infrastructure v0.20.1 published on Tuesday, Jun 6, 2023 by Pulumi

oci.DatabaseMigration.getAgentImages

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v0.20.1 published on Tuesday, Jun 6, 2023 by Pulumi

    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:

    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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the oci Terraform Provider.

    oci logo
    Oracle Cloud Infrastructure v0.20.1 published on Tuesday, Jun 6, 2023 by Pulumi