Oracle Cloud Infrastructure
getInstallationSite
This data source provides details about a specific Fleet Installation Site resource 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 testFleetInstallationSite = Output.Create(Oci.Jms.GetInstallationSite.InvokeAsync(new Oci.Jms.GetInstallationSiteArgs
{
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.GetInstallationSite(ctx, &jms.GetInstallationSiteArgs{
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_site = oci.Jms.get_installation_site(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 testFleetInstallationSite = oci.Jms.getInstallationSite({
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 getInstallationSite
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 getInstallationSite(args: GetInstallationSiteArgs, opts?: InvokeOptions): Promise<GetInstallationSiteResult>
function getInstallationSiteOutput(args: GetInstallationSiteOutputArgs, opts?: InvokeOptions): Output<GetInstallationSiteResult>
def get_installation_site(application_id: Optional[str] = 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) -> GetInstallationSiteResult
def get_installation_site_output(application_id: Optional[pulumi.Input[str]] = 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[GetInstallationSiteResult]
func GetInstallationSite(ctx *Context, args *GetInstallationSiteArgs, opts ...InvokeOption) (*GetInstallationSiteResult, error)
func GetInstallationSiteOutput(ctx *Context, args *GetInstallationSiteOutputArgs, opts ...InvokeOption) GetInstallationSiteResultOutput
> Note: This function is named GetInstallationSite
in the Go SDK.
public static class GetInstallationSite
{
public static Task<GetInstallationSiteResult> InvokeAsync(GetInstallationSiteArgs args, InvokeOptions? opts = null)
public static Output<GetInstallationSiteResult> Invoke(GetInstallationSiteInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstallationSiteResult> getInstallationSite(GetInstallationSiteArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:Jms/getInstallationSite:getInstallationSite
Arguments:
# Arguments dictionary
The following arguments are supported:
- Fleet
Id string The OCID of the Fleet.
- Application
Id string The Fleet-unique identifier of the related application.
- Installation
Path string The file system path of the installation.
- Jre
Distribution string The distribution of the related Java Runtime.
- Jre
Security stringStatus The security status of the Java Runtime.
- Jre
Vendor string The vendor of the related Java Runtime.
- Jre
Version string The version of the related Java Runtime.
- Managed
Instance stringId The Fleet-unique identifier of the related managed instance.
- Os
Families List<string> The operating system type.
- Fleet
Id string The OCID of the Fleet.
- Application
Id string The Fleet-unique identifier of the related application.
- Installation
Path string The file system path of the installation.
- Jre
Distribution string The distribution of the related Java Runtime.
- Jre
Security stringStatus The security status of the Java Runtime.
- Jre
Vendor string The vendor of the related Java Runtime.
- Jre
Version string The version of the related Java Runtime.
- Managed
Instance stringId The Fleet-unique identifier of the related managed instance.
- Os
Families []string The operating system type.
- fleet
Id String The OCID of the Fleet.
- application
Id String The Fleet-unique identifier of the related application.
- installation
Path String The file system path of the installation.
- jre
Distribution String The distribution of the related Java Runtime.
- jre
Security StringStatus The security status of the Java Runtime.
- jre
Vendor String The vendor of the related Java Runtime.
- jre
Version String The version of the related Java Runtime.
- managed
Instance StringId The Fleet-unique identifier of the related managed instance.
- os
Families List<String> The operating system type.
- fleet
Id string The OCID of the Fleet.
- application
Id string The Fleet-unique identifier of the related application.
- installation
Path string The file system path of the installation.
- jre
Distribution string The distribution of the related Java Runtime.
- jre
Security stringStatus The security status of the Java Runtime.
- jre
Vendor string The vendor of the related Java Runtime.
- jre
Version string The version of the related Java Runtime.
- managed
Instance stringId The Fleet-unique identifier of the related managed instance.
- os
Families string[] The operating system type.
- fleet_
id str The OCID of the Fleet.
- application_
id str The Fleet-unique identifier of the related application.
- installation_
path str The file system path of the installation.
- jre_
distribution str The distribution of the related Java Runtime.
- jre_
security_ strstatus 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_ strid The Fleet-unique identifier of the related managed instance.
- os_
families Sequence[str] The operating system type.
- fleet
Id String The OCID of the Fleet.
- application
Id String The Fleet-unique identifier of the related application.
- installation
Path String The file system path of the installation.
- jre
Distribution String The distribution of the related Java Runtime.
- jre
Security StringStatus The security status of the Java Runtime.
- jre
Vendor String The vendor of the related Java Runtime.
- jre
Version String The version of the related Java Runtime.
- managed
Instance StringId The Fleet-unique identifier of the related managed instance.
- os
Families List<String> The operating system type.
getInstallationSite Result
The following output properties are available:
- Fleet
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Items
List<Get
Installation Site Item> A list of Java installation sites.
- Application
Id string - Installation
Path string - Jre
Distribution string - Jre
Security stringStatus - Jre
Vendor string - Jre
Version string - Managed
Instance stringId The OCID of the related managed instance.
- Os
Families List<string>
- Fleet
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Items
[]Get
Installation Site Item A list of Java installation sites.
- Application
Id string - Installation
Path string - Jre
Distribution string - Jre
Security stringStatus - Jre
Vendor string - Jre
Version string - Managed
Instance stringId The OCID of the related managed instance.
- Os
Families []string
- fleet
Id String - id String
The provider-assigned unique ID for this managed resource.
- items
List<Get
Installation Site Item> A list of Java installation sites.
- application
Id String - installation
Path String - jre
Distribution String - jre
Security StringStatus - jre
Vendor String - jre
Version String - managed
Instance StringId The OCID of the related managed instance.
- os
Families List<String>
- fleet
Id string - id string
The provider-assigned unique ID for this managed resource.
- items
Get
Installation Site Item[] A list of Java installation sites.
- application
Id string - installation
Path string - jre
Distribution string - jre
Security stringStatus - jre
Vendor string - jre
Version string - managed
Instance stringId The OCID of the related managed instance.
- os
Families string[]
- fleet_
id str - id str
The provider-assigned unique ID for this managed resource.
- items
Get
Installation Site Item] A list of Java installation sites.
- application_
id str - installation_
path str - jre_
distribution str - jre_
security_ strstatus - jre_
vendor str - jre_
version str - managed_
instance_ strid The OCID of the related managed instance.
- os_
families Sequence[str]
- fleet
Id String - id String
The provider-assigned unique ID for this managed resource.
- items List<Property Map>
A list of Java installation sites.
- application
Id String - installation
Path String - jre
Distribution String - jre
Security StringStatus - jre
Vendor String - jre
Version String - managed
Instance StringId The OCID of the related managed instance.
- os
Families List<String>
Supporting Types
GetInstallationSiteItem
- Approximate
Application intCount The approximate count of applications running on this installation
- Blocklists
List<Get
Installation Site Item Blocklist> The list of operations that are blocklisted.
- Installation
Key string The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- Jres
List<Get
Installation Site Item Jre> The essential properties to identify a Java Runtime.
- Managed
Instance stringId The Fleet-unique identifier of the related managed instance.
- Operating
Systems List<GetInstallation Site Item Operating System> Operating System of the platform on which the Java Runtime was reported.
- Path string
The file system path of the installation.
- Security
Status string The security status of the Java Runtime.
- State string
The lifecycle state of the installation site.
- Time
Last stringSeen 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 intCount The approximate count of applications running on this installation
- Blocklists
[]Get
Installation Site Item Blocklist The list of operations that are blocklisted.
- Installation
Key string The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- Jres
[]Get
Installation Site Item Jre The essential properties to identify a Java Runtime.
- Managed
Instance stringId The Fleet-unique identifier of the related managed instance.
- Operating
Systems []GetInstallation Site Item Operating System Operating System of the platform on which the Java Runtime was reported.
- Path string
The file system path of the installation.
- Security
Status string The security status of the Java Runtime.
- State string
The lifecycle state of the installation site.
- Time
Last stringSeen 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 IntegerCount The approximate count of applications running on this installation
- blocklists
List<Get
Installation Site Item Blocklist> The list of operations that are blocklisted.
- installation
Key String The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- jres
List<Get
Installation Site Item Jre> The essential properties to identify a Java Runtime.
- managed
Instance StringId The Fleet-unique identifier of the related managed instance.
- operating
Systems List<GetInstallation Site Item Operating System> Operating System of the platform on which the Java Runtime was reported.
- path String
The file system path of the installation.
- security
Status String The security status of the Java Runtime.
- state String
The lifecycle state of the installation site.
- time
Last StringSeen 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 numberCount The approximate count of applications running on this installation
- blocklists
Get
Installation Site Item Blocklist[] The list of operations that are blocklisted.
- installation
Key string The unique identifier for the installation of Java Runtime at a specific path on a specific operating system.
- jres
Get
Installation Site Item Jre[] The essential properties to identify a Java Runtime.
- managed
Instance stringId The Fleet-unique identifier of the related managed instance.
- operating
Systems GetInstallation Site Item Operating System[] Operating System of the platform on which the Java Runtime was reported.
- path string
The file system path of the installation.
- security
Status string The security status of the Java Runtime.
- state string
The lifecycle state of the installation site.
- time
Last stringSeen 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_ intcount The approximate count of applications running on this installation
- blocklists
Get
Installation Site Item Blocklist] 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
Get
Installation Site Item Jre] The essential properties to identify a Java Runtime.
- managed_
instance_ strid The Fleet-unique identifier of the related managed instance.
- operating_
systems GetInstallation Site Item Operating System] 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_ strseen 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 NumberCount The approximate count of applications running on this installation
- blocklists List<Property Map>
The list of operations that are blocklisted.
- installation
Key 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.
- managed
Instance StringId The Fleet-unique identifier of the related managed instance.
- operating
Systems List<Property Map> Operating System of the platform on which the Java Runtime was reported.
- path String
The file system path of the installation.
- security
Status String The security status of the Java Runtime.
- state String
The lifecycle state of the installation site.
- time
Last StringSeen 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.
GetInstallationSiteItemBlocklist
GetInstallationSiteItemJre
- 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.
- Jre
Key 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.
- Jre
Key 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.
- jre
Key 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.
- jre
Key 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.
- jre
Key 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.
GetInstallationSiteItemOperatingSystem
- 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.