Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Jms.getFleet
This data source provides details about a specific Fleet resource in Oracle Cloud Infrastructure Jms service.
Retrieve a Fleet with the specified identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleet = oci.Jms.getFleet({
    fleetId: testFleetOciJmsFleet.id,
});
import pulumi
import pulumi_oci as oci
test_fleet = oci.Jms.get_fleet(fleet_id=test_fleet_oci_jms_fleet["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/jms"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := jms.GetFleet(ctx, &jms.GetFleetArgs{
			FleetId: testFleetOciJmsFleet.Id,
		}, 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 testFleet = Oci.Jms.GetFleet.Invoke(new()
    {
        FleetId = testFleetOciJmsFleet.Id,
    });
});
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.GetFleetArgs;
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 testFleet = JmsFunctions.getFleet(GetFleetArgs.builder()
            .fleetId(testFleetOciJmsFleet.id())
            .build());
    }
}
variables:
  testFleet:
    fn::invoke:
      function: oci:Jms:getFleet
      arguments:
        fleetId: ${testFleetOciJmsFleet.id}
Using getFleet
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 getFleet(args: GetFleetArgs, opts?: InvokeOptions): Promise<GetFleetResult>
function getFleetOutput(args: GetFleetOutputArgs, opts?: InvokeOptions): Output<GetFleetResult>def get_fleet(fleet_id: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetFleetResult
def get_fleet_output(fleet_id: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetFleetResult]func LookupFleet(ctx *Context, args *LookupFleetArgs, opts ...InvokeOption) (*LookupFleetResult, error)
func LookupFleetOutput(ctx *Context, args *LookupFleetOutputArgs, opts ...InvokeOption) LookupFleetResultOutput> Note: This function is named LookupFleet in the Go SDK.
public static class GetFleet 
{
    public static Task<GetFleetResult> InvokeAsync(GetFleetArgs args, InvokeOptions? opts = null)
    public static Output<GetFleetResult> Invoke(GetFleetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFleetResult> getFleet(GetFleetArgs args, InvokeOptions options)
public static Output<GetFleetResult> getFleet(GetFleetArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getFleet:getFleet
  arguments:
    # arguments dictionaryThe following arguments are supported:
getFleet Result
The following output properties are available:
- ApproximateApplication intCount 
- The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateInstallation intCount 
- The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateJava intServer Count 
- The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateJre intCount 
- The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateLibrary intCount 
- The approximate count of all unique libraries in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateLibrary intVulnerability Count 
- The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateManaged intInstance Count 
- The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- CompartmentId string
- The OCID of the compartment of the Fleet.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- Description string
- The Fleet's description.
- DisplayName string
- The name of the Fleet.
- FleetId string
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- Id string
- The OCID of the Fleet.
- InventoryLogs List<GetFleet Inventory Log> 
- Custom Log for inventory or operation log.
- IsAdvanced boolFeatures Enabled 
- Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfigurationAPI instead.
- IsExport boolSetting Enabled 
- Whether or not export setting is enabled in this Fleet.
- OperationLogs List<GetFleet Operation Log> 
- Custom Log for inventory or operation log.
- State string
- The lifecycle state of the Fleet.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The creation date and time of the Fleet (formatted according to RFC3339).
- ApproximateApplication intCount 
- The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateInstallation intCount 
- The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateJava intServer Count 
- The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateJre intCount 
- The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateLibrary intCount 
- The approximate count of all unique libraries in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateLibrary intVulnerability Count 
- The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- ApproximateManaged intInstance Count 
- The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- CompartmentId string
- The OCID of the compartment of the Fleet.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- Description string
- The Fleet's description.
- DisplayName string
- The name of the Fleet.
- FleetId string
- map[string]string
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- Id string
- The OCID of the Fleet.
- InventoryLogs []GetFleet Inventory Log 
- Custom Log for inventory or operation log.
- IsAdvanced boolFeatures Enabled 
- Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfigurationAPI instead.
- IsExport boolSetting Enabled 
- Whether or not export setting is enabled in this Fleet.
- OperationLogs []GetFleet Operation Log 
- Custom Log for inventory or operation log.
- State string
- The lifecycle state of the Fleet.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The creation date and time of the Fleet (formatted according to RFC3339).
- approximateApplication IntegerCount 
- The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateInstallation IntegerCount 
- The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateJava IntegerServer Count 
- The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateJre IntegerCount 
- The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateLibrary IntegerCount 
- The approximate count of all unique libraries in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateLibrary IntegerVulnerability Count 
- The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateManaged IntegerInstance Count 
- The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- compartmentId String
- The OCID of the compartment of the Fleet.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- description String
- The Fleet's description.
- displayName String
- The name of the Fleet.
- fleetId String
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id String
- The OCID of the Fleet.
- inventoryLogs List<GetFleet Inventory Log> 
- Custom Log for inventory or operation log.
- isAdvanced BooleanFeatures Enabled 
- Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfigurationAPI instead.
- isExport BooleanSetting Enabled 
- Whether or not export setting is enabled in this Fleet.
- operationLogs List<GetFleet Operation Log> 
- Custom Log for inventory or operation log.
- state String
- The lifecycle state of the Fleet.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The creation date and time of the Fleet (formatted according to RFC3339).
- approximateApplication numberCount 
- The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateInstallation numberCount 
- The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateJava numberServer Count 
- The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateJre numberCount 
- The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateLibrary numberCount 
- The approximate count of all unique libraries in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateLibrary numberVulnerability Count 
- The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateManaged numberInstance Count 
- The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- compartmentId string
- The OCID of the compartment of the Fleet.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- description string
- The Fleet's description.
- displayName string
- The name of the Fleet.
- fleetId string
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id string
- The OCID of the Fleet.
- inventoryLogs GetFleet Inventory Log[] 
- Custom Log for inventory or operation log.
- isAdvanced booleanFeatures Enabled 
- Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfigurationAPI instead.
- isExport booleanSetting Enabled 
- Whether or not export setting is enabled in this Fleet.
- operationLogs GetFleet Operation Log[] 
- Custom Log for inventory or operation log.
- state string
- The lifecycle state of the Fleet.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The creation date and time of the Fleet (formatted according to RFC3339).
- approximate_application_ intcount 
- The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximate_installation_ intcount 
- The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximate_java_ intserver_ count 
- The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximate_jre_ intcount 
- The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximate_library_ intcount 
- The approximate count of all unique libraries in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximate_library_ intvulnerability_ count 
- The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximate_managed_ intinstance_ count 
- The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- compartment_id str
- The OCID of the compartment of the Fleet.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- description str
- The Fleet's description.
- display_name str
- The name of the Fleet.
- fleet_id str
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id str
- The OCID of the Fleet.
- inventory_logs Sequence[GetFleet Inventory Log] 
- Custom Log for inventory or operation log.
- is_advanced_ boolfeatures_ enabled 
- Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfigurationAPI instead.
- is_export_ boolsetting_ enabled 
- Whether or not export setting is enabled in this Fleet.
- operation_logs Sequence[GetFleet Operation Log] 
- Custom Log for inventory or operation log.
- state str
- The lifecycle state of the Fleet.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The creation date and time of the Fleet (formatted according to RFC3339).
- approximateApplication NumberCount 
- The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateInstallation NumberCount 
- The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateJava NumberServer Count 
- The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateJre NumberCount 
- The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateLibrary NumberCount 
- The approximate count of all unique libraries in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateLibrary NumberVulnerability Count 
- The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- approximateManaged NumberInstance Count 
- The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag.
- compartmentId String
- The OCID of the compartment of the Fleet.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- description String
- The Fleet's description.
- displayName String
- The name of the Fleet.
- fleetId String
- Map<String>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id String
- The OCID of the Fleet.
- inventoryLogs List<Property Map>
- Custom Log for inventory or operation log.
- isAdvanced BooleanFeatures Enabled 
- Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfigurationAPI instead.
- isExport BooleanSetting Enabled 
- Whether or not export setting is enabled in this Fleet.
- operationLogs List<Property Map>
- Custom Log for inventory or operation log.
- state String
- The lifecycle state of the Fleet.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The creation date and time of the Fleet (formatted according to RFC3339).
Supporting Types
GetFleetInventoryLog   
- LogGroup stringId 
- The OCID of the log group.
- LogId string
- The OCID of the log.
- LogGroup stringId 
- The OCID of the log group.
- LogId string
- The OCID of the log.
- logGroup StringId 
- The OCID of the log group.
- logId String
- The OCID of the log.
- logGroup stringId 
- The OCID of the log group.
- logId string
- The OCID of the log.
- log_group_ strid 
- The OCID of the log group.
- log_id str
- The OCID of the log.
- logGroup StringId 
- The OCID of the log group.
- logId String
- The OCID of the log.
GetFleetOperationLog   
- LogGroup stringId 
- The OCID of the log group.
- LogId string
- The OCID of the log.
- LogGroup stringId 
- The OCID of the log group.
- LogId string
- The OCID of the log.
- logGroup StringId 
- The OCID of the log group.
- logId String
- The OCID of the log.
- logGroup stringId 
- The OCID of the log group.
- logId string
- The OCID of the log.
- log_group_ strid 
- The OCID of the log group.
- log_id str
- The OCID of the log.
- logGroup StringId 
- The OCID of the log group.
- logId String
- The OCID of the log.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
