Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi
oci.Jms.getAgentInstallers
Explore with Pulumi AI
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)
public static Output<GetAgentInstallersResult> getAgentInstallers(GetAgentInstallersArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getAgentInstallers:getAgentInstallers
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment in which to list resources.
- Filters
List<GetAgent Installers Filter> 
- 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
[]GetAgent Installers Filter 
- 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<GetAgent Installers Filter> 
- 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
GetAgent Installers Filter[] 
- 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.Get Agent Installers Filter] 
- 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:
- AgentInstaller List<GetCollections Agent Installers Agent Installer Collection> 
- The list of agent_installer_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- CompartmentId string
- Filters
List<GetAgent Installers Filter> 
- FleetId string
- OsFamily string
- The target operating system family for the agent installer.
- PlatformArchitecture string
- The target operating system architecture for the installer.
- AgentInstaller []GetCollections Agent Installers Agent Installer Collection 
- The list of agent_installer_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- CompartmentId string
- Filters
[]GetAgent Installers Filter 
- FleetId string
- OsFamily string
- The target operating system family for the agent installer.
- PlatformArchitecture string
- The target operating system architecture for the installer.
- agentInstaller List<GetCollections Agent Installers Agent Installer Collection> 
- The list of agent_installer_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartmentId String
- filters
List<GetAgent Installers Filter> 
- fleetId String
- osFamily String
- The target operating system family for the agent installer.
- platformArchitecture String
- The target operating system architecture for the installer.
- agentInstaller GetCollections Agent Installers Agent Installer Collection[] 
- The list of agent_installer_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartmentId string
- filters
GetAgent Installers Filter[] 
- 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_ Sequence[jms.collections Get Agent Installers Agent Installer Collection] 
- The list of agent_installer_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- compartment_id str
- filters
Sequence[jms.Get Agent Installers Filter] 
- 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.
- agentInstaller List<Property Map>Collections 
- 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<GetAgent Installers Agent Installer Collection Item> 
- A list of the agent installer summaries.
- Items
[]GetAgent Installers Agent Installer Collection Item 
- A list of the agent installer summaries.
- items
List<GetAgent Installers Agent Installer Collection Item> 
- A list of the agent installer summaries.
- items
GetAgent Installers Agent Installer Collection Item[] 
- A list of the agent installer summaries.
- items
Sequence[jms.Get Agent Installers Agent Installer Collection Item] 
- A list of the agent installer summaries.
- items List<Property Map>
- A list of the agent installer summaries.
GetAgentInstallersAgentInstallerCollectionItem      
- AgentInstaller stringDescription 
- Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- AgentInstaller stringId 
- Unique identifier for the agent installer.
- AgentInstaller stringVersion 
- Agent installer version.
- AgentVersion string
- Agent image version.
- ApproximateFile stringSize In Bytes 
- 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.
- AgentInstaller stringDescription 
- Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- AgentInstaller stringId 
- Unique identifier for the agent installer.
- AgentInstaller stringVersion 
- Agent installer version.
- AgentVersion string
- Agent image version.
- ApproximateFile stringSize In Bytes 
- 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.
- agentInstaller StringDescription 
- Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- agentInstaller StringId 
- Unique identifier for the agent installer.
- agentInstaller StringVersion 
- Agent installer version.
- agentVersion String
- Agent image version.
- approximateFile StringSize In Bytes 
- 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.
- agentInstaller stringDescription 
- Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- agentInstaller stringId 
- Unique identifier for the agent installer.
- agentInstaller stringVersion 
- Agent installer version.
- agentVersion string
- Agent image version.
- approximateFile stringSize In Bytes 
- 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_ strdescription 
- Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- agent_installer_ strid 
- Unique identifier for the agent installer.
- agent_installer_ strversion 
- Agent installer version.
- agent_version str
- Agent image version.
- approximate_file_ strsize_ in_ bytes 
- 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.
- agentInstaller StringDescription 
- Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- agentInstaller StringId 
- Unique identifier for the agent installer.
- agentInstaller StringVersion 
- Agent installer version.
- agentVersion String
- Agent image version.
- approximateFile StringSize In Bytes 
- 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   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.