1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getAgentInstallers
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Jms.getAgentInstallers

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Agent Installers in Oracle Cloud Infrastructure Jms service.

    Returns a list of the agent installer information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAgentInstallers = oci.Jms.getAgentInstallers({
        compartmentId: compartmentId,
        fleetId: testFleet.id,
        osFamily: agentInstallerOsFamily,
        platformArchitecture: agentInstallerPlatformArchitecture,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_agent_installers = oci.Jms.get_agent_installers(compartment_id=compartment_id,
        fleet_id=test_fleet["id"],
        os_family=agent_installer_os_family,
        platform_architecture=agent_installer_platform_architecture)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Jms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Jms.GetAgentInstallers(ctx, &jms.GetAgentInstallersArgs{
    			CompartmentId:        pulumi.StringRef(compartmentId),
    			FleetId:              pulumi.StringRef(testFleet.Id),
    			OsFamily:             pulumi.StringRef(agentInstallerOsFamily),
    			PlatformArchitecture: pulumi.StringRef(agentInstallerPlatformArchitecture),
    		}, 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 testAgentInstallers = Oci.Jms.GetAgentInstallers.Invoke(new()
        {
            CompartmentId = compartmentId,
            FleetId = testFleet.Id,
            OsFamily = agentInstallerOsFamily,
            PlatformArchitecture = agentInstallerPlatformArchitecture,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Jms.JmsFunctions;
    import com.pulumi.oci.Jms.inputs.GetAgentInstallersArgs;
    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 testAgentInstallers = JmsFunctions.getAgentInstallers(GetAgentInstallersArgs.builder()
                .compartmentId(compartmentId)
                .fleetId(testFleet.id())
                .osFamily(agentInstallerOsFamily)
                .platformArchitecture(agentInstallerPlatformArchitecture)
                .build());
    
        }
    }
    
    variables:
      testAgentInstallers:
        fn::invoke:
          Function: oci:Jms:getAgentInstallers
          Arguments:
            compartmentId: ${compartmentId}
            fleetId: ${testFleet.id}
            osFamily: ${agentInstallerOsFamily}
            platformArchitecture: ${agentInstallerPlatformArchitecture}
    

    Using getAgentInstallers

    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 getAgentInstallers(args: GetAgentInstallersArgs, opts?: InvokeOptions): Promise<GetAgentInstallersResult>
    function getAgentInstallersOutput(args: GetAgentInstallersOutputArgs, opts?: InvokeOptions): Output<GetAgentInstallersResult>
    def get_agent_installers(compartment_id: Optional[str] = None,
                             filters: Optional[Sequence[_jms.GetAgentInstallersFilter]] = None,
                             fleet_id: Optional[str] = None,
                             os_family: Optional[str] = None,
                             platform_architecture: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAgentInstallersResult
    def get_agent_installers_output(compartment_id: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetAgentInstallersFilterArgs]]]] = None,
                             fleet_id: Optional[pulumi.Input[str]] = None,
                             os_family: Optional[pulumi.Input[str]] = None,
                             platform_architecture: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAgentInstallersResult]
    func GetAgentInstallers(ctx *Context, args *GetAgentInstallersArgs, opts ...InvokeOption) (*GetAgentInstallersResult, error)
    func GetAgentInstallersOutput(ctx *Context, args *GetAgentInstallersOutputArgs, opts ...InvokeOption) GetAgentInstallersResultOutput

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

    public static class GetAgentInstallers 
    {
        public static Task<GetAgentInstallersResult> InvokeAsync(GetAgentInstallersArgs args, InvokeOptions? opts = null)
        public static Output<GetAgentInstallersResult> Invoke(GetAgentInstallersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAgentInstallersResult> getAgentInstallers(GetAgentInstallersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getAgentInstallers:getAgentInstallers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    Filters List<GetAgentInstallersFilter>
    FleetId string
    The ID of the Fleet.
    OsFamily string
    The OS family for the agent installer.
    PlatformArchitecture string
    The platform architecture for the agent installer.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    Filters []GetAgentInstallersFilter
    FleetId string
    The ID of the Fleet.
    OsFamily string
    The OS family for the agent installer.
    PlatformArchitecture string
    The platform architecture for the agent installer.
    compartmentId String
    The OCID of the compartment in which to list resources.
    filters List<GetAgentInstallersFilter>
    fleetId String
    The ID of the Fleet.
    osFamily String
    The OS family for the agent installer.
    platformArchitecture String
    The platform architecture for the agent installer.
    compartmentId string
    The OCID of the compartment in which to list resources.
    filters GetAgentInstallersFilter[]
    fleetId string
    The ID of the Fleet.
    osFamily string
    The OS family for the agent installer.
    platformArchitecture string
    The platform architecture for the agent installer.
    compartment_id str
    The OCID of the compartment in which to list resources.
    filters Sequence[jms.GetAgentInstallersFilter]
    fleet_id str
    The ID of the Fleet.
    os_family str
    The OS family for the agent installer.
    platform_architecture str
    The platform architecture for the agent installer.
    compartmentId String
    The OCID of the compartment in which to list resources.
    filters List<Property Map>
    fleetId String
    The ID of the Fleet.
    osFamily String
    The OS family for the agent installer.
    platformArchitecture String
    The platform architecture for the agent installer.

    getAgentInstallers Result

    The following output properties are available:

    AgentInstallerCollections List<GetAgentInstallersAgentInstallerCollection>
    The list of agent_installer_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    CompartmentId string
    Filters List<GetAgentInstallersFilter>
    FleetId string
    OsFamily string
    The target operating system family for the agent installer.
    PlatformArchitecture string
    The target operating system architecture for the installer.
    AgentInstallerCollections []GetAgentInstallersAgentInstallerCollection
    The list of agent_installer_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    CompartmentId string
    Filters []GetAgentInstallersFilter
    FleetId string
    OsFamily string
    The target operating system family for the agent installer.
    PlatformArchitecture string
    The target operating system architecture for the installer.
    agentInstallerCollections List<GetAgentInstallersAgentInstallerCollection>
    The list of agent_installer_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    compartmentId String
    filters List<GetAgentInstallersFilter>
    fleetId String
    osFamily String
    The target operating system family for the agent installer.
    platformArchitecture String
    The target operating system architecture for the installer.
    agentInstallerCollections GetAgentInstallersAgentInstallerCollection[]
    The list of agent_installer_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    compartmentId string
    filters GetAgentInstallersFilter[]
    fleetId string
    osFamily string
    The target operating system family for the agent installer.
    platformArchitecture string
    The target operating system architecture for the installer.
    agent_installer_collections Sequence[jms.GetAgentInstallersAgentInstallerCollection]
    The list of agent_installer_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    compartment_id str
    filters Sequence[jms.GetAgentInstallersFilter]
    fleet_id str
    os_family str
    The target operating system family for the agent installer.
    platform_architecture str
    The target operating system architecture for the installer.
    agentInstallerCollections List<Property Map>
    The list of agent_installer_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    compartmentId String
    filters List<Property Map>
    fleetId String
    osFamily String
    The target operating system family for the agent installer.
    platformArchitecture String
    The target operating system architecture for the installer.

    Supporting Types

    GetAgentInstallersAgentInstallerCollection

    Items List<GetAgentInstallersAgentInstallerCollectionItem>
    A list of the agent installer summaries.
    Items []GetAgentInstallersAgentInstallerCollectionItem
    A list of the agent installer summaries.
    items List<GetAgentInstallersAgentInstallerCollectionItem>
    A list of the agent installer summaries.
    items GetAgentInstallersAgentInstallerCollectionItem[]
    A list of the agent installer summaries.
    items List<Property Map>
    A list of the agent installer summaries.

    GetAgentInstallersAgentInstallerCollectionItem

    AgentInstallerDescription string
    Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
    AgentInstallerId string
    Unique identifier for the agent installer.
    AgentInstallerVersion string
    Agent installer version.
    AgentVersion string
    Agent image version.
    ApproximateFileSizeInBytes string
    Approximate compressed file size in bytes.
    JavaVersion string
    Java version.
    OsFamily string
    The OS family for the agent installer.
    PackageType string
    The package type (typically the file extension) of the agent software included in the installer.
    PlatformArchitecture string
    The platform architecture for the agent installer.
    Sha256 string
    SHA256 checksum of the agent installer.
    AgentInstallerDescription string
    Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
    AgentInstallerId string
    Unique identifier for the agent installer.
    AgentInstallerVersion string
    Agent installer version.
    AgentVersion string
    Agent image version.
    ApproximateFileSizeInBytes string
    Approximate compressed file size in bytes.
    JavaVersion string
    Java version.
    OsFamily string
    The OS family for the agent installer.
    PackageType string
    The package type (typically the file extension) of the agent software included in the installer.
    PlatformArchitecture string
    The platform architecture for the agent installer.
    Sha256 string
    SHA256 checksum of the agent installer.
    agentInstallerDescription String
    Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
    agentInstallerId String
    Unique identifier for the agent installer.
    agentInstallerVersion String
    Agent installer version.
    agentVersion String
    Agent image version.
    approximateFileSizeInBytes String
    Approximate compressed file size in bytes.
    javaVersion String
    Java version.
    osFamily String
    The OS family for the agent installer.
    packageType String
    The package type (typically the file extension) of the agent software included in the installer.
    platformArchitecture String
    The platform architecture for the agent installer.
    sha256 String
    SHA256 checksum of the agent installer.
    agentInstallerDescription string
    Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
    agentInstallerId string
    Unique identifier for the agent installer.
    agentInstallerVersion string
    Agent installer version.
    agentVersion string
    Agent image version.
    approximateFileSizeInBytes string
    Approximate compressed file size in bytes.
    javaVersion string
    Java version.
    osFamily string
    The OS family for the agent installer.
    packageType string
    The package type (typically the file extension) of the agent software included in the installer.
    platformArchitecture string
    The platform architecture for the agent installer.
    sha256 string
    SHA256 checksum of the agent installer.
    agent_installer_description str
    Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
    agent_installer_id str
    Unique identifier for the agent installer.
    agent_installer_version str
    Agent installer version.
    agent_version str
    Agent image version.
    approximate_file_size_in_bytes str
    Approximate compressed file size in bytes.
    java_version str
    Java version.
    os_family str
    The OS family for the agent installer.
    package_type str
    The package type (typically the file extension) of the agent software included in the installer.
    platform_architecture str
    The platform architecture for the agent installer.
    sha256 str
    SHA256 checksum of the agent installer.
    agentInstallerDescription String
    Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
    agentInstallerId String
    Unique identifier for the agent installer.
    agentInstallerVersion String
    Agent installer version.
    agentVersion String
    Agent image version.
    approximateFileSizeInBytes String
    Approximate compressed file size in bytes.
    javaVersion String
    Java version.
    osFamily String
    The OS family for the agent installer.
    packageType String
    The package type (typically the file extension) of the agent software included in the installer.
    platformArchitecture String
    The platform architecture for the agent installer.
    sha256 String
    SHA256 checksum of the agent installer.

    GetAgentInstallersFilter

    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi