oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testFleet = Oci.Jms.GetFleet.Invoke(new()
    {
        FleetId = oci_jms_fleet.Test_fleet.Id,
    });

});
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.GetFleet(ctx, &jms.GetFleetArgs{
			FleetId: oci_jms_fleet.Test_fleet.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(oci_jms_fleet.test_fleet().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fleet = oci.Jms.get_fleet(fleet_id=oci_jms_fleet["test_fleet"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFleet = oci.Jms.getFleet({
    fleetId: oci_jms_fleet.test_fleet.id,
});
variables:
  testFleet:
    fn::invoke:
      Function: oci:Jms:getFleet
      Arguments:
        fleetId: ${oci_jms_fleet.test_fleet.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 GetFleet(ctx *Context, args *GetFleetArgs, opts ...InvokeOption) (*GetFleetResult, error)
func GetFleetOutput(ctx *Context, args *GetFleetOutputArgs, opts ...InvokeOption) GetFleetResultOutput

> Note: This function is named GetFleet 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Jms/getFleet:getFleet
  arguments:
    # arguments dictionary

The following arguments are supported:

FleetId string

The OCID of the Fleet.

FleetId string

The OCID of the Fleet.

fleetId String

The OCID of the Fleet.

fleetId string

The OCID of the Fleet.

fleet_id str

The OCID of the Fleet.

fleetId String

The OCID of the Fleet.

getFleet Result

The following output properties are available:

ApproximateApplicationCount int

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 is not taken into account when computing the resource ETag.

ApproximateInstallationCount int

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 is not taken into account when computing the resource ETag.

ApproximateJavaServerCount int

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 is not taken into account when computing the resource ETag.

ApproximateJreCount int

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 is not taken into account when computing the resource ETag.

ApproximateManagedInstanceCount int

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 is not taken into account when computing the resource ETag.

CompartmentId string

The OCID of the compartment of the Fleet.

DefinedTags Dictionary<string, object>

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
FreeformTags Dictionary<string, object>

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<GetFleetInventoryLog>

Custom Log for inventory or operation log.

IsAdvancedFeaturesEnabled bool

Whether or not advanced features are enabled in this fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration api instead.

OperationLogs List<GetFleetOperationLog>

Custom Log for inventory or operation log.

State string

The lifecycle state of the Fleet.

SystemTags Dictionary<string, object>

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).

ApproximateApplicationCount int

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 is not taken into account when computing the resource ETag.

ApproximateInstallationCount int

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 is not taken into account when computing the resource ETag.

ApproximateJavaServerCount int

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 is not taken into account when computing the resource ETag.

ApproximateJreCount int

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 is not taken into account when computing the resource ETag.

ApproximateManagedInstanceCount int

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 is not taken into account when computing the resource ETag.

CompartmentId string

The OCID of the compartment of the Fleet.

DefinedTags map[string]interface{}

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
FreeformTags map[string]interface{}

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 []GetFleetInventoryLog

Custom Log for inventory or operation log.

IsAdvancedFeaturesEnabled bool

Whether or not advanced features are enabled in this fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration api instead.

OperationLogs []GetFleetOperationLog

Custom Log for inventory or operation log.

State string

The lifecycle state of the Fleet.

SystemTags map[string]interface{}

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).

approximateApplicationCount Integer

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 is not taken into account when computing the resource ETag.

approximateInstallationCount Integer

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 is not taken into account when computing the resource ETag.

approximateJavaServerCount Integer

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 is not taken into account when computing the resource ETag.

approximateJreCount Integer

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 is not taken into account when computing the resource ETag.

approximateManagedInstanceCount Integer

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 is not taken into account when computing the resource ETag.

compartmentId String

The OCID of the compartment of the Fleet.

definedTags Map<String,Object>

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
freeformTags Map<String,Object>

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<GetFleetInventoryLog>

Custom Log for inventory or operation log.

isAdvancedFeaturesEnabled Boolean

Whether or not advanced features are enabled in this fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration api instead.

operationLogs List<GetFleetOperationLog>

Custom Log for inventory or operation log.

state String

The lifecycle state of the Fleet.

systemTags Map<String,Object>

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).

approximateApplicationCount number

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 is not taken into account when computing the resource ETag.

approximateInstallationCount number

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 is not taken into account when computing the resource ETag.

approximateJavaServerCount number

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 is not taken into account when computing the resource ETag.

approximateJreCount number

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 is not taken into account when computing the resource ETag.

approximateManagedInstanceCount number

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 is not taken into account when computing the resource ETag.

compartmentId string

The OCID of the compartment of the Fleet.

definedTags {[key: string]: any}

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
freeformTags {[key: string]: any}

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 GetFleetInventoryLog[]

Custom Log for inventory or operation log.

isAdvancedFeaturesEnabled boolean

Whether or not advanced features are enabled in this fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration api instead.

operationLogs GetFleetOperationLog[]

Custom Log for inventory or operation log.

state string

The lifecycle state of the Fleet.

systemTags {[key: string]: any}

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_count int

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 is not taken into account when computing the resource ETag.

approximate_installation_count int

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 is not taken into account when computing the resource ETag.

approximate_java_server_count int

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 is not taken into account when computing the resource ETag.

approximate_jre_count int

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 is not taken into account when computing the resource ETag.

approximate_managed_instance_count int

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 is not taken into account when computing the resource ETag.

compartment_id str

The OCID of the compartment of the Fleet.

defined_tags Mapping[str, Any]

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
freeform_tags Mapping[str, Any]

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 GetFleetInventoryLog]

Custom Log for inventory or operation log.

is_advanced_features_enabled bool

Whether or not advanced features are enabled in this fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration api instead.

operation_logs GetFleetOperationLog]

Custom Log for inventory or operation log.

state str

The lifecycle state of the Fleet.

system_tags Mapping[str, Any]

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).

approximateApplicationCount Number

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 is not taken into account when computing the resource ETag.

approximateInstallationCount Number

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 is not taken into account when computing the resource ETag.

approximateJavaServerCount Number

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 is not taken into account when computing the resource ETag.

approximateJreCount Number

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 is not taken into account when computing the resource ETag.

approximateManagedInstanceCount Number

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 is not taken into account when computing the resource ETag.

compartmentId String

The OCID of the compartment of the Fleet.

definedTags Map<Any>

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
freeformTags Map<Any>

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.

isAdvancedFeaturesEnabled Boolean

Whether or not advanced features are enabled in this fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration api instead.

operationLogs List<Property Map>

Custom Log for inventory or operation log.

state String

The lifecycle state of the Fleet.

systemTags Map<Any>

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

LogGroupId string

The OCID of the log group.

LogId string

The OCID of the log.

LogGroupId string

The OCID of the log group.

LogId string

The OCID of the log.

logGroupId String

The OCID of the log group.

logId String

The OCID of the log.

logGroupId string

The OCID of the log group.

logId string

The OCID of the log.

log_group_id str

The OCID of the log group.

log_id str

The OCID of the log.

logGroupId String

The OCID of the log group.

logId String

The OCID of the log.

GetFleetOperationLog

LogGroupId string

The OCID of the log group.

LogId string

The OCID of the log.

LogGroupId string

The OCID of the log group.

LogId string

The OCID of the log.

logGroupId String

The OCID of the log group.

logId String

The OCID of the log.

logGroupId string

The OCID of the log group.

logId string

The OCID of the log.

log_group_id str

The OCID of the log group.

log_id str

The OCID of the log.

logGroupId String

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 oci Terraform Provider.