1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getAgentInstallers
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Jms.getAgentInstallers

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testAgentInstallers:
    fn::invoke:
      function: oci:Jms:getAgentInstallers
      arguments:
        compartmentId: ${compartmentId}
        fleetId: ${testFleet.id}
        osFamily: ${agentInstallerOsFamily}
        platformArchitecture: ${agentInstallerPlatformArchitecture}
Copy

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>
Copy
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]
Copy
func GetAgentInstallers(ctx *Context, args *GetAgentInstallersArgs, opts ...InvokeOption) (*GetAgentInstallersResult, error)
func GetAgentInstallersOutput(ctx *Context, args *GetAgentInstallersOutputArgs, opts ...InvokeOption) GetAgentInstallersResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAgentInstallersResult> getAgentInstallers(GetAgentInstallersArgs args, InvokeOptions options)
public static Output<GetAgentInstallersResult> getAgentInstallers(GetAgentInstallersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Jms/getAgentInstallers:getAgentInstallers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
The OCID of the compartment in which to list resources.
Filters Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. []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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 This property is required. List<GetAgentInstallersAgentInstallerCollectionItem>
A list of the agent installer summaries.
Items This property is required. []GetAgentInstallersAgentInstallerCollectionItem
A list of the agent installer summaries.
items This property is required. List<GetAgentInstallersAgentInstallerCollectionItem>
A list of the agent installer summaries.
items This property is required. GetAgentInstallersAgentInstallerCollectionItem[]
A list of the agent installer summaries.
items This property is required. Sequence[jms.GetAgentInstallersAgentInstallerCollectionItem]
A list of the agent installer summaries.
items This property is required. List<Property Map>
A list of the agent installer summaries.

GetAgentInstallersAgentInstallerCollectionItem

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

GetAgentInstallersFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. 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.
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi