Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getInstallationSites

This data source provides the list of Fleet Installation Sites in Oracle Cloud Infrastructure Jms service.

List Java installation sites in a Fleet filtered by query parameters.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testFleetInstallationSites = Output.Create(Oci.Jms.GetInstallationSites.InvokeAsync(new Oci.Jms.GetInstallationSitesArgs
        {
            FleetId = oci_jms_fleet.Test_fleet.Id,
            ApplicationId = oci_dataflow_application.Test_application.Id,
            InstallationPath = @var.Fleet_installation_site_installation_path,
            JreDistribution = @var.Fleet_installation_site_jre_distribution,
            JreSecurityStatus = @var.Fleet_installation_site_jre_security_status,
            JreVendor = @var.Fleet_installation_site_jre_vendor,
            JreVersion = @var.Fleet_installation_site_jre_version,
            ManagedInstanceId = oci_osmanagement_managed_instance.Test_managed_instance.Id,
            OsFamilies = @var.Fleet_installation_site_os_family,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Jms"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Jms.GetInstallationSites(ctx, &jms.GetInstallationSitesArgs{
			FleetId:           oci_jms_fleet.Test_fleet.Id,
			ApplicationId:     pulumi.StringRef(oci_dataflow_application.Test_application.Id),
			InstallationPath:  pulumi.StringRef(_var.Fleet_installation_site_installation_path),
			JreDistribution:   pulumi.StringRef(_var.Fleet_installation_site_jre_distribution),
			JreSecurityStatus: pulumi.StringRef(_var.Fleet_installation_site_jre_security_status),
			JreVendor:         pulumi.StringRef(_var.Fleet_installation_site_jre_vendor),
			JreVersion:        pulumi.StringRef(_var.Fleet_installation_site_jre_version),
			ManagedInstanceId: pulumi.StringRef(oci_osmanagement_managed_instance.Test_managed_instance.Id),
			OsFamilies:        _var.Fleet_installation_site_os_family,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_fleet_installation_sites = oci.Jms.get_installation_sites(fleet_id=oci_jms_fleet["test_fleet"]["id"],
    application_id=oci_dataflow_application["test_application"]["id"],
    installation_path=var["fleet_installation_site_installation_path"],
    jre_distribution=var["fleet_installation_site_jre_distribution"],
    jre_security_status=var["fleet_installation_site_jre_security_status"],
    jre_vendor=var["fleet_installation_site_jre_vendor"],
    jre_version=var["fleet_installation_site_jre_version"],
    managed_instance_id=oci_osmanagement_managed_instance["test_managed_instance"]["id"],
    os_families=var["fleet_installation_site_os_family"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFleetInstallationSites = oci.Jms.getInstallationSites({
    fleetId: oci_jms_fleet.test_fleet.id,
    applicationId: oci_dataflow_application.test_application.id,
    installationPath: _var.fleet_installation_site_installation_path,
    jreDistribution: _var.fleet_installation_site_jre_distribution,
    jreSecurityStatus: _var.fleet_installation_site_jre_security_status,
    jreVendor: _var.fleet_installation_site_jre_vendor,
    jreVersion: _var.fleet_installation_site_jre_version,
    managedInstanceId: oci_osmanagement_managed_instance.test_managed_instance.id,
    osFamilies: _var.fleet_installation_site_os_family,
});

Coming soon!

Using getInstallationSites

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 getInstallationSites(args: GetInstallationSitesArgs, opts?: InvokeOptions): Promise<GetInstallationSitesResult>
function getInstallationSitesOutput(args: GetInstallationSitesOutputArgs, opts?: InvokeOptions): Output<GetInstallationSitesResult>
def get_installation_sites(application_id: Optional[str] = None,
                           filters: Optional[Sequence[_jms.GetInstallationSitesFilter]] = None,
                           fleet_id: Optional[str] = None,
                           installation_path: Optional[str] = None,
                           jre_distribution: Optional[str] = None,
                           jre_security_status: Optional[str] = None,
                           jre_vendor: Optional[str] = None,
                           jre_version: Optional[str] = None,
                           managed_instance_id: Optional[str] = None,
                           os_families: Optional[Sequence[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> GetInstallationSitesResult
def get_installation_sites_output(application_id: Optional[pulumi.Input[str]] = None,
                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetInstallationSitesFilterArgs]]]] = None,
                           fleet_id: Optional[pulumi.Input[str]] = None,
                           installation_path: Optional[pulumi.Input[str]] = None,
                           jre_distribution: Optional[pulumi.Input[str]] = None,
                           jre_security_status: Optional[pulumi.Input[str]] = None,
                           jre_vendor: Optional[pulumi.Input[str]] = None,
                           jre_version: Optional[pulumi.Input[str]] = None,
                           managed_instance_id: Optional[pulumi.Input[str]] = None,
                           os_families: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetInstallationSitesResult]
func GetInstallationSites(ctx *Context, args *GetInstallationSitesArgs, opts ...InvokeOption) (*GetInstallationSitesResult, error)
func GetInstallationSitesOutput(ctx *Context, args *GetInstallationSitesOutputArgs, opts ...InvokeOption) GetInstallationSitesResultOutput

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

public static class GetInstallationSites 
{
    public static Task<GetInstallationSitesResult> InvokeAsync(GetInstallationSitesArgs args, InvokeOptions? opts = null)
    public static Output<GetInstallationSitesResult> Invoke(GetInstallationSitesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstallationSitesResult> getInstallationSites(GetInstallationSitesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Jms/getInstallationSites:getInstallationSites
  Arguments:
    # Arguments dictionary

The following arguments are supported:

FleetId string

The OCID of the Fleet.

ApplicationId string

The Fleet-unique identifier of the related application.

Filters List<GetInstallationSitesFilter>
InstallationPath string

The file system path of the installation.

JreDistribution string

The distribution of the related Java Runtime.

JreSecurityStatus string

The security status of the Java Runtime.

JreVendor string

The vendor of the related Java Runtime.

JreVersion string

The version of the related Java Runtime.

ManagedInstanceId string

The Fleet-unique identifier of the related managed instance.

OsFamilies List<string>

The operating system type.

FleetId string

The OCID of the Fleet.

ApplicationId string

The Fleet-unique identifier of the related application.

Filters []GetInstallationSitesFilter
InstallationPath string

The file system path of the installation.

JreDistribution string

The distribution of the related Java Runtime.

JreSecurityStatus string

The security status of the Java Runtime.

JreVendor string

The vendor of the related Java Runtime.

JreVersion string

The version of the related Java Runtime.

ManagedInstanceId string

The Fleet-unique identifier of the related managed instance.

OsFamilies []string

The operating system type.

fleetId String

The OCID of the Fleet.

applicationId String

The Fleet-unique identifier of the related application.

filters List<GetInstallationSitesFilter>
installationPath String

The file system path of the installation.

jreDistribution String

The distribution of the related Java Runtime.

jreSecurityStatus String

The security status of the Java Runtime.

jreVendor String

The vendor of the related Java Runtime.

jreVersion String

The version of the related Java Runtime.

managedInstanceId String

The Fleet-unique identifier of the related managed instance.

osFamilies List<String>

The operating system type.

fleetId string

The OCID of the Fleet.

applicationId string

The Fleet-unique identifier of the related application.

filters GetInstallationSitesFilter[]
installationPath string

The file system path of the installation.

jreDistribution string

The distribution of the related Java Runtime.

jreSecurityStatus string

The security status of the Java Runtime.

jreVendor string

The vendor of the related Java Runtime.

jreVersion string

The version of the related Java Runtime.

managedInstanceId string

The Fleet-unique identifier of the related managed instance.

osFamilies string[]

The operating system type.

fleet_id str

The OCID of the Fleet.

application_id str

The Fleet-unique identifier of the related application.

filters GetInstallationSitesFilter]
installation_path str

The file system path of the installation.

jre_distribution str

The distribution of the related Java Runtime.

jre_security_status str

The security status of the Java Runtime.

jre_vendor str

The vendor of the related Java Runtime.

jre_version str

The version of the related Java Runtime.

managed_instance_id str

The Fleet-unique identifier of the related managed instance.

os_families Sequence[str]

The operating system type.

fleetId String

The OCID of the Fleet.

applicationId String

The Fleet-unique identifier of the related application.

filters List<Property Map>
installationPath String

The file system path of the installation.

jreDistribution String

The distribution of the related Java Runtime.

jreSecurityStatus String

The security status of the Java Runtime.

jreVendor String

The vendor of the related Java Runtime.

jreVersion String

The version of the related Java Runtime.

managedInstanceId String

The Fleet-unique identifier of the related managed instance.

osFamilies List<String>

The operating system type.

getInstallationSites Result

The following output properties are available:

FleetId string
Id string

The provider-assigned unique ID for this managed resource.

InstallationSiteCollections List<GetInstallationSitesInstallationSiteCollection>

The list of installation_site_collection.

ApplicationId string
Filters List<GetInstallationSitesFilter>
InstallationPath string
JreDistribution string
JreSecurityStatus string
JreVendor string
JreVersion string
ManagedInstanceId string

The OCID of the related managed instance.

OsFamilies List<string>
FleetId string
Id string

The provider-assigned unique ID for this managed resource.

InstallationSiteCollections []GetInstallationSitesInstallationSiteCollection

The list of installation_site_collection.

ApplicationId string
Filters []GetInstallationSitesFilter
InstallationPath string
JreDistribution string
JreSecurityStatus string
JreVendor string
JreVersion string
ManagedInstanceId string

The OCID of the related managed instance.

OsFamilies []string
fleetId String
id String

The provider-assigned unique ID for this managed resource.

installationSiteCollections List<GetInstallationSitesInstallationSiteCollection>

The list of installation_site_collection.

applicationId String
filters List<GetInstallationSitesFilter>
installationPath String
jreDistribution String
jreSecurityStatus String
jreVendor String
jreVersion String
managedInstanceId String

The OCID of the related managed instance.

osFamilies List<String>
fleetId string
id string

The provider-assigned unique ID for this managed resource.

installationSiteCollections GetInstallationSitesInstallationSiteCollection[]

The list of installation_site_collection.

applicationId string
filters GetInstallationSitesFilter[]
installationPath string
jreDistribution string
jreSecurityStatus string
jreVendor string
jreVersion string
managedInstanceId string

The OCID of the related managed instance.

osFamilies string[]
fleet_id str
id str

The provider-assigned unique ID for this managed resource.

installation_site_collections GetInstallationSitesInstallationSiteCollection]

The list of installation_site_collection.

application_id str
filters GetInstallationSitesFilter]
installation_path str
jre_distribution str
jre_security_status str
jre_vendor str
jre_version str
managed_instance_id str

The OCID of the related managed instance.

os_families Sequence[str]
fleetId String
id String

The provider-assigned unique ID for this managed resource.

installationSiteCollections List<Property Map>

The list of installation_site_collection.

applicationId String
filters List<Property Map>
installationPath String
jreDistribution String
jreSecurityStatus String
jreVendor String
jreVersion String
managedInstanceId String

The OCID of the related managed instance.

osFamilies List<String>

Supporting Types

GetInstallationSitesFilter

Name string

The name of the operating system as provided by the Java system property os.name.

Values List<string>
Regex bool
Name string

The name of the operating system as provided by the Java system property os.name.

Values []string
Regex bool
name String

The name of the operating system as provided by the Java system property os.name.

values List<String>
regex Boolean
name string

The name of the operating system as provided by the Java system property os.name.

values string[]
regex boolean
name str

The name of the operating system as provided by the Java system property os.name.

values Sequence[str]
regex bool
name String

The name of the operating system as provided by the Java system property os.name.

values List<String>
regex Boolean

GetInstallationSitesInstallationSiteCollection

items List<Property Map>

A list of Java installation sites.

GetInstallationSitesInstallationSiteCollectionItem

items List<Property Map>

A list of Java installation sites.

GetInstallationSitesInstallationSiteCollectionItemItem

ApproximateApplicationCount int

The approximate count of applications running on this installation

Blocklists List<GetInstallationSitesInstallationSiteCollectionItemItemBlocklist>

The list of operations that are blocklisted.

InstallationKey string

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

Jres List<GetInstallationSitesInstallationSiteCollectionItemItemJre>

The essential properties to identify a Java Runtime.

ManagedInstanceId string

The Fleet-unique identifier of the related managed instance.

OperatingSystems List<GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem>

Operating System of the platform on which the Java Runtime was reported.

Path string

The file system path of the installation.

SecurityStatus string

The security status of the Java Runtime.

State string

The lifecycle state of the installation site.

TimeLastSeen string

The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

ApproximateApplicationCount int

The approximate count of applications running on this installation

Blocklists []GetInstallationSitesInstallationSiteCollectionItemItemBlocklist

The list of operations that are blocklisted.

InstallationKey string

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

Jres []GetInstallationSitesInstallationSiteCollectionItemItemJre

The essential properties to identify a Java Runtime.

ManagedInstanceId string

The Fleet-unique identifier of the related managed instance.

OperatingSystems []GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem

Operating System of the platform on which the Java Runtime was reported.

Path string

The file system path of the installation.

SecurityStatus string

The security status of the Java Runtime.

State string

The lifecycle state of the installation site.

TimeLastSeen string

The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

approximateApplicationCount Integer

The approximate count of applications running on this installation

blocklists List<GetInstallationSitesInstallationSiteCollectionItemItemBlocklist>

The list of operations that are blocklisted.

installationKey String

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

jres List<GetInstallationSitesInstallationSiteCollectionItemItemJre>

The essential properties to identify a Java Runtime.

managedInstanceId String

The Fleet-unique identifier of the related managed instance.

operatingSystems List<GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem>

Operating System of the platform on which the Java Runtime was reported.

path String

The file system path of the installation.

securityStatus String

The security status of the Java Runtime.

state String

The lifecycle state of the installation site.

timeLastSeen String

The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

approximateApplicationCount number

The approximate count of applications running on this installation

blocklists GetInstallationSitesInstallationSiteCollectionItemItemBlocklist[]

The list of operations that are blocklisted.

installationKey string

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

jres GetInstallationSitesInstallationSiteCollectionItemItemJre[]

The essential properties to identify a Java Runtime.

managedInstanceId string

The Fleet-unique identifier of the related managed instance.

operatingSystems GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem[]

Operating System of the platform on which the Java Runtime was reported.

path string

The file system path of the installation.

securityStatus string

The security status of the Java Runtime.

state string

The lifecycle state of the installation site.

timeLastSeen string

The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

approximate_application_count int

The approximate count of applications running on this installation

blocklists GetInstallationSitesInstallationSiteCollectionItemItemBlocklist]

The list of operations that are blocklisted.

installation_key str

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

jres GetInstallationSitesInstallationSiteCollectionItemItemJre]

The essential properties to identify a Java Runtime.

managed_instance_id str

The Fleet-unique identifier of the related managed instance.

operating_systems GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem]

Operating System of the platform on which the Java Runtime was reported.

path str

The file system path of the installation.

security_status str

The security status of the Java Runtime.

state str

The lifecycle state of the installation site.

time_last_seen str

The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

approximateApplicationCount Number

The approximate count of applications running on this installation

blocklists List<Property Map>

The list of operations that are blocklisted.

installationKey String

The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.

jres List<Property Map>

The essential properties to identify a Java Runtime.

managedInstanceId String

The Fleet-unique identifier of the related managed instance.

operatingSystems List<Property Map>

Operating System of the platform on which the Java Runtime was reported.

path String

The file system path of the installation.

securityStatus String

The security status of the Java Runtime.

state String

The lifecycle state of the installation site.

timeLastSeen String

The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.

GetInstallationSitesInstallationSiteCollectionItemItemBlocklist

Operation string

The operation type.

Reason string

The reason why the operation is blocklisted.

Operation string

The operation type.

Reason string

The reason why the operation is blocklisted.

operation String

The operation type.

reason String

The reason why the operation is blocklisted.

operation string

The operation type.

reason string

The reason why the operation is blocklisted.

operation str

The operation type.

reason str

The reason why the operation is blocklisted.

operation String

The operation type.

reason String

The reason why the operation is blocklisted.

GetInstallationSitesInstallationSiteCollectionItemItemJre

Distribution string

The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example Java(TM) SE Runtime Environment.

JreKey string

The unique identifier for a Java Runtime.

Vendor string

The vendor of the Java Runtime.

Version string

The version of the operating system as provided by the Java system property os.version.

Distribution string

The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example Java(TM) SE Runtime Environment.

JreKey string

The unique identifier for a Java Runtime.

Vendor string

The vendor of the Java Runtime.

Version string

The version of the operating system as provided by the Java system property os.version.

distribution String

The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example Java(TM) SE Runtime Environment.

jreKey String

The unique identifier for a Java Runtime.

vendor String

The vendor of the Java Runtime.

version String

The version of the operating system as provided by the Java system property os.version.

distribution string

The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example Java(TM) SE Runtime Environment.

jreKey string

The unique identifier for a Java Runtime.

vendor string

The vendor of the Java Runtime.

version string

The version of the operating system as provided by the Java system property os.version.

distribution str

The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example Java(TM) SE Runtime Environment.

jre_key str

The unique identifier for a Java Runtime.

vendor str

The vendor of the Java Runtime.

version str

The version of the operating system as provided by the Java system property os.version.

distribution String

The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example Java(TM) SE Runtime Environment.

jreKey String

The unique identifier for a Java Runtime.

vendor String

The vendor of the Java Runtime.

version String

The version of the operating system as provided by the Java system property os.version.

GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystem

Architecture string

The architecture of the operating system as provided by the Java system property os.arch.

Family string

The operating system type, such as Windows or Linux

Name string

The name of the operating system as provided by the Java system property os.name.

Version string

The version of the operating system as provided by the Java system property os.version.

Architecture string

The architecture of the operating system as provided by the Java system property os.arch.

Family string

The operating system type, such as Windows or Linux

Name string

The name of the operating system as provided by the Java system property os.name.

Version string

The version of the operating system as provided by the Java system property os.version.

architecture String

The architecture of the operating system as provided by the Java system property os.arch.

family String

The operating system type, such as Windows or Linux

name String

The name of the operating system as provided by the Java system property os.name.

version String

The version of the operating system as provided by the Java system property os.version.

architecture string

The architecture of the operating system as provided by the Java system property os.arch.

family string

The operating system type, such as Windows or Linux

name string

The name of the operating system as provided by the Java system property os.name.

version string

The version of the operating system as provided by the Java system property os.version.

architecture str

The architecture of the operating system as provided by the Java system property os.arch.

family str

The operating system type, such as Windows or Linux

name str

The name of the operating system as provided by the Java system property os.name.

version str

The version of the operating system as provided by the Java system property os.version.

architecture String

The architecture of the operating system as provided by the Java system property os.arch.

family String

The operating system type, such as Windows or Linux

name String

The name of the operating system as provided by the Java system property os.name.

version String

The version of the operating system as provided by the Java system property os.version.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.