Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getAgentInstallers:getAgentInstallers
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
List<Get
Agent Installers Filter> - Fleet
Id string - The ID of the Fleet.
- Os
Family string - The OS family for the agent installer.
- Platform
Architecture string - The platform architecture for the agent installer.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Filters
[]Get
Agent Installers Filter - Fleet
Id string - The ID of the Fleet.
- Os
Family string - The OS family for the agent installer.
- Platform
Architecture string - The platform architecture for the agent installer.
- compartment
Id String - The OCID of the compartment in which to list resources.
- filters
List<Get
Agent Installers Filter> - fleet
Id String - The ID of the Fleet.
- os
Family String - The OS family for the agent installer.
- platform
Architecture String - The platform architecture for the agent installer.
- compartment
Id string - The OCID of the compartment in which to list resources.
- filters
Get
Agent Installers Filter[] - fleet
Id string - The ID of the Fleet.
- os
Family string - The OS family for the agent installer.
- platform
Architecture 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.
- compartment
Id String - The OCID of the compartment in which to list resources.
- filters List<Property Map>
- fleet
Id String - The ID of the Fleet.
- os
Family String - The OS family for the agent installer.
- platform
Architecture String - The platform architecture for the agent installer.
getAgentInstallers Result
The following output properties are available:
- Agent
Installer List<GetCollections Agent Installers Agent Installer Collection> - The list of agent_installer_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - Filters
List<Get
Agent Installers Filter> - Fleet
Id string - Os
Family string - The target operating system family for the agent installer.
- Platform
Architecture string - The target operating system architecture for the installer.
- Agent
Installer []GetCollections Agent Installers Agent Installer Collection - The list of agent_installer_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - Filters
[]Get
Agent Installers Filter - Fleet
Id string - Os
Family string - The target operating system family for the agent installer.
- Platform
Architecture string - The target operating system architecture for the installer.
- agent
Installer List<GetCollections Agent Installers Agent Installer Collection> - The list of agent_installer_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - filters
List<Get
Agent Installers Filter> - fleet
Id String - os
Family String - The target operating system family for the agent installer.
- platform
Architecture String - The target operating system architecture for the installer.
- agent
Installer GetCollections Agent Installers Agent Installer Collection[] - The list of agent_installer_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartment
Id string - filters
Get
Agent Installers Filter[] - fleet
Id string - os
Family string - The target operating system family for the agent installer.
- platform
Architecture 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.
- agent
Installer List<Property Map>Collections - The list of agent_installer_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - filters List<Property Map>
- fleet
Id String - os
Family String - The target operating system family for the agent installer.
- platform
Architecture String - The target operating system architecture for the installer.
Supporting Types
GetAgentInstallersAgentInstallerCollection
- Items
List<Get
Agent Installers Agent Installer Collection Item> - A list of the agent installer summaries.
- Items
[]Get
Agent Installers Agent Installer Collection Item - A list of the agent installer summaries.
- items
List<Get
Agent Installers Agent Installer Collection Item> - A list of the agent installer summaries.
- items
Get
Agent 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
- Agent
Installer stringDescription - Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- Agent
Installer stringId - Unique identifier for the agent installer.
- Agent
Installer stringVersion - Agent installer version.
- Agent
Version string - Agent image version.
- Approximate
File stringSize In Bytes - Approximate compressed file size in bytes.
- Java
Version string - Java version.
- Os
Family string - The OS family for the agent installer.
- Package
Type string - The package type (typically the file extension) of the agent software included in the installer.
- Platform
Architecture string - The platform architecture for the agent installer.
- Sha256 string
- SHA256 checksum of the agent installer.
- Agent
Installer stringDescription - Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- Agent
Installer stringId - Unique identifier for the agent installer.
- Agent
Installer stringVersion - Agent installer version.
- Agent
Version string - Agent image version.
- Approximate
File stringSize In Bytes - Approximate compressed file size in bytes.
- Java
Version string - Java version.
- Os
Family string - The OS family for the agent installer.
- Package
Type string - The package type (typically the file extension) of the agent software included in the installer.
- Platform
Architecture string - The platform architecture for the agent installer.
- Sha256 string
- SHA256 checksum of the agent installer.
- agent
Installer StringDescription - Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- agent
Installer StringId - Unique identifier for the agent installer.
- agent
Installer StringVersion - Agent installer version.
- agent
Version String - Agent image version.
- approximate
File StringSize In Bytes - Approximate compressed file size in bytes.
- java
Version String - Java version.
- os
Family String - The OS family for the agent installer.
- package
Type String - The package type (typically the file extension) of the agent software included in the installer.
- platform
Architecture String - The platform architecture for the agent installer.
- sha256 String
- SHA256 checksum of the agent installer.
- agent
Installer stringDescription - Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- agent
Installer stringId - Unique identifier for the agent installer.
- agent
Installer stringVersion - Agent installer version.
- agent
Version string - Agent image version.
- approximate
File stringSize In Bytes - Approximate compressed file size in bytes.
- java
Version string - Java version.
- os
Family string - The OS family for the agent installer.
- package
Type string - The package type (typically the file extension) of the agent software included in the installer.
- platform
Architecture 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.
- agent
Installer StringDescription - Description of the agent installer artifact. The description typically includes the OS, architecture, and agent installer type.
- agent
Installer StringId - Unique identifier for the agent installer.
- agent
Installer StringVersion - Agent installer version.
- agent
Version String - Agent image version.
- approximate
File StringSize In Bytes - Approximate compressed file size in bytes.
- java
Version String - Java version.
- os
Family String - The OS family for the agent installer.
- package
Type String - The package type (typically the file extension) of the agent software included in the installer.
- platform
Architecture 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
oci
Terraform Provider.