Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

Fleet

This resource provides the Fleet resource in Oracle Cloud Infrastructure Jms service.

Create a new Fleet using the information provided.

inventoryLog is now a required parameter for CreateFleet API. Update existing applications using this API before July 15, 2022 to ensure the applications continue to work. See the Service Change Notice for more details. Migrate existing fleets using the UpdateFleet API to set the inventoryLog parameter.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testFleet = new Oci.Jms.Fleet("testFleet", new()
    {
        CompartmentId = @var.Compartment_id,
        DisplayName = @var.Fleet_display_name,
        InventoryLog = new Oci.Jms.Inputs.FleetInventoryLogArgs
        {
            LogGroupId = oci_logging_log_group.Test_log_group.Id,
            LogId = oci_logging_log.Test_log.Id,
        },
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = @var.Fleet_description,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        IsAdvancedFeaturesEnabled = @var.Fleet_is_advanced_features_enabled,
        OperationLog = new Oci.Jms.Inputs.FleetOperationLogArgs
        {
            LogGroupId = oci_logging_log_group.Test_log_group.Id,
            LogId = oci_logging_log.Test_log.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.NewFleet(ctx, "testFleet", &Jms.FleetArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			DisplayName:   pulumi.Any(_var.Fleet_display_name),
			InventoryLog: &jms.FleetInventoryLogArgs{
				LogGroupId: pulumi.Any(oci_logging_log_group.Test_log_group.Id),
				LogId:      pulumi.Any(oci_logging_log.Test_log.Id),
			},
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			Description: pulumi.Any(_var.Fleet_description),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			IsAdvancedFeaturesEnabled: pulumi.Any(_var.Fleet_is_advanced_features_enabled),
			OperationLog: &jms.FleetOperationLogArgs{
				LogGroupId: pulumi.Any(oci_logging_log_group.Test_log_group.Id),
				LogId:      pulumi.Any(oci_logging_log.Test_log.Id),
			},
		})
		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.Fleet;
import com.pulumi.oci.Jms.FleetArgs;
import com.pulumi.oci.Jms.inputs.FleetInventoryLogArgs;
import com.pulumi.oci.Jms.inputs.FleetOperationLogArgs;
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) {
        var testFleet = new Fleet("testFleet", FleetArgs.builder()        
            .compartmentId(var_.compartment_id())
            .displayName(var_.fleet_display_name())
            .inventoryLog(FleetInventoryLogArgs.builder()
                .logGroupId(oci_logging_log_group.test_log_group().id())
                .logId(oci_logging_log.test_log().id())
                .build())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(var_.fleet_description())
            .freeformTags(Map.of("bar-key", "value"))
            .isAdvancedFeaturesEnabled(var_.fleet_is_advanced_features_enabled())
            .operationLog(FleetOperationLogArgs.builder()
                .logGroupId(oci_logging_log_group.test_log_group().id())
                .logId(oci_logging_log.test_log().id())
                .build())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fleet = oci.jms.Fleet("testFleet",
    compartment_id=var["compartment_id"],
    display_name=var["fleet_display_name"],
    inventory_log=oci.jms.FleetInventoryLogArgs(
        log_group_id=oci_logging_log_group["test_log_group"]["id"],
        log_id=oci_logging_log["test_log"]["id"],
    ),
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=var["fleet_description"],
    freeform_tags={
        "bar-key": "value",
    },
    is_advanced_features_enabled=var["fleet_is_advanced_features_enabled"],
    operation_log=oci.jms.FleetOperationLogArgs(
        log_group_id=oci_logging_log_group["test_log_group"]["id"],
        log_id=oci_logging_log["test_log"]["id"],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFleet = new oci.jms.Fleet("testFleet", {
    compartmentId: _var.compartment_id,
    displayName: _var.fleet_display_name,
    inventoryLog: {
        logGroupId: oci_logging_log_group.test_log_group.id,
        logId: oci_logging_log.test_log.id,
    },
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: _var.fleet_description,
    freeformTags: {
        "bar-key": "value",
    },
    isAdvancedFeaturesEnabled: _var.fleet_is_advanced_features_enabled,
    operationLog: {
        logGroupId: oci_logging_log_group.test_log_group.id,
        logId: oci_logging_log.test_log.id,
    },
});
resources:
  testFleet:
    type: oci:Jms:Fleet
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      displayName: ${var.fleet_display_name}
      inventoryLog:
        logGroupId: ${oci_logging_log_group.test_log_group.id}
        logId: ${oci_logging_log.test_log.id}
      #Optional
      definedTags:
        foo-namespace.bar-key: value
      description: ${var.fleet_description}
      freeformTags:
        bar-key: value
      isAdvancedFeaturesEnabled: ${var.fleet_is_advanced_features_enabled}
      operationLog:
        logGroupId: ${oci_logging_log_group.test_log_group.id}
        logId: ${oci_logging_log.test_log.id}

Create a Fleet Resource

new Fleet(name: string, args: FleetArgs, opts?: CustomResourceOptions);
@overload
def Fleet(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          compartment_id: Optional[str] = None,
          defined_tags: Optional[Mapping[str, Any]] = None,
          description: Optional[str] = None,
          display_name: Optional[str] = None,
          freeform_tags: Optional[Mapping[str, Any]] = None,
          inventory_log: Optional[_jms.FleetInventoryLogArgs] = None,
          is_advanced_features_enabled: Optional[bool] = None,
          operation_log: Optional[_jms.FleetOperationLogArgs] = None)
@overload
def Fleet(resource_name: str,
          args: FleetArgs,
          opts: Optional[ResourceOptions] = None)
func NewFleet(ctx *Context, name string, args FleetArgs, opts ...ResourceOption) (*Fleet, error)
public Fleet(string name, FleetArgs args, CustomResourceOptions? opts = null)
public Fleet(String name, FleetArgs args)
public Fleet(String name, FleetArgs args, CustomResourceOptions options)
type: oci:Jms:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Fleet Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Fleet resource accepts the following input properties:

CompartmentId string

(Updatable) The OCID of the compartment of the Fleet.

DisplayName string

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

InventoryLog FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

DefinedTags Dictionary<string, object>

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

FreeformTags Dictionary<string, object>

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

IsAdvancedFeaturesEnabled bool

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

OperationLog FleetOperationLogArgs

(Updatable) Custom Log for inventory or operation log.

CompartmentId string

(Updatable) The OCID of the compartment of the Fleet.

DisplayName string

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

InventoryLog FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

DefinedTags map[string]interface{}

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

FreeformTags map[string]interface{}

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

IsAdvancedFeaturesEnabled bool

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

OperationLog FleetOperationLogArgs

(Updatable) Custom Log for inventory or operation log.

compartmentId String

(Updatable) The OCID of the compartment of the Fleet.

displayName String

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

inventoryLog FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

definedTags Map<String,Object>

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

freeformTags Map<String,Object>

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

isAdvancedFeaturesEnabled Boolean

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

operationLog FleetOperationLogArgs

(Updatable) Custom Log for inventory or operation log.

compartmentId string

(Updatable) The OCID of the compartment of the Fleet.

displayName string

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

inventoryLog FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

definedTags {[key: string]: any}

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

freeformTags {[key: string]: any}

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

isAdvancedFeaturesEnabled boolean

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

operationLog FleetOperationLogArgs

(Updatable) Custom Log for inventory or operation log.

compartment_id str

(Updatable) The OCID of the compartment of the Fleet.

display_name str

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

inventory_log FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

defined_tags Mapping[str, Any]

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

freeform_tags Mapping[str, Any]

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

is_advanced_features_enabled bool

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

operation_log FleetOperationLogArgs

(Updatable) Custom Log for inventory or operation log.

compartmentId String

(Updatable) The OCID of the compartment of the Fleet.

displayName String

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

inventoryLog Property Map

(Updatable) Custom Log for inventory or operation log.

definedTags Map<Any>

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

freeformTags Map<Any>

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

isAdvancedFeaturesEnabled Boolean

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

operationLog Property Map

(Updatable) Custom Log for inventory or operation log.

Outputs

All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:

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.

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.

Id string

The provider-assigned unique ID for this managed resource.

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.

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.

Id string

The provider-assigned unique ID for this managed resource.

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.

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.

id String

The provider-assigned unique ID for this managed resource.

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.

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.

id string

The provider-assigned unique ID for this managed resource.

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

id str

The provider-assigned unique ID for this managed resource.

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.

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.

id String

The provider-assigned unique ID for this managed resource.

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

Look up an Existing Fleet Resource

Get an existing Fleet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FleetState, opts?: CustomResourceOptions): Fleet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        approximate_application_count: Optional[int] = None,
        approximate_installation_count: Optional[int] = None,
        approximate_jre_count: Optional[int] = None,
        approximate_managed_instance_count: Optional[int] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        inventory_log: Optional[_jms.FleetInventoryLogArgs] = None,
        is_advanced_features_enabled: Optional[bool] = None,
        operation_log: Optional[_jms.FleetOperationLogArgs] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        time_created: Optional[str] = None) -> Fleet
func GetFleet(ctx *Context, name string, id IDInput, state *FleetState, opts ...ResourceOption) (*Fleet, error)
public static Fleet Get(string name, Input<string> id, FleetState? state, CustomResourceOptions? opts = null)
public static Fleet get(String name, Output<String> id, FleetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
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.

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

(Updatable) The OCID of the compartment of the Fleet.

DefinedTags Dictionary<string, object>

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

DisplayName string

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

FreeformTags Dictionary<string, object>

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

InventoryLog FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

IsAdvancedFeaturesEnabled bool

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

OperationLog FleetOperationLogArgs

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

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

(Updatable) The OCID of the compartment of the Fleet.

DefinedTags map[string]interface{}

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

DisplayName string

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

FreeformTags map[string]interface{}

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

InventoryLog FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

IsAdvancedFeaturesEnabled bool

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

OperationLog FleetOperationLogArgs

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

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

(Updatable) The OCID of the compartment of the Fleet.

definedTags Map<String,Object>

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

displayName String

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

freeformTags Map<String,Object>

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

inventoryLog FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

isAdvancedFeaturesEnabled Boolean

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

operationLog FleetOperationLogArgs

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

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

(Updatable) The OCID of the compartment of the Fleet.

definedTags {[key: string]: any}

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

displayName string

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

freeformTags {[key: string]: any}

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

inventoryLog FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

isAdvancedFeaturesEnabled boolean

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

operationLog FleetOperationLogArgs

(Updatable) 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_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

(Updatable) The OCID of the compartment of the Fleet.

defined_tags Mapping[str, Any]

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

display_name str

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

freeform_tags Mapping[str, Any]

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

inventory_log FleetInventoryLogArgs

(Updatable) Custom Log for inventory or operation log.

is_advanced_features_enabled bool

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

operation_log FleetOperationLogArgs

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

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

(Updatable) The OCID of the compartment of the Fleet.

definedTags Map<Any>

(Updatable) 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

(Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null.

displayName String

(Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

freeformTags Map<Any>

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

inventoryLog Property Map

(Updatable) Custom Log for inventory or operation log.

isAdvancedFeaturesEnabled Boolean

(Updatable) Whether or not advanced features are enabled in this fleet. By default, this is set to false.

operationLog Property Map

(Updatable) 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

FleetInventoryLog

LogGroupId string

(Updatable) The OCID of the log group.

LogId string

(Updatable) The OCID of the log.

LogGroupId string

(Updatable) The OCID of the log group.

LogId string

(Updatable) The OCID of the log.

logGroupId String

(Updatable) The OCID of the log group.

logId String

(Updatable) The OCID of the log.

logGroupId string

(Updatable) The OCID of the log group.

logId string

(Updatable) The OCID of the log.

log_group_id str

(Updatable) The OCID of the log group.

log_id str

(Updatable) The OCID of the log.

logGroupId String

(Updatable) The OCID of the log group.

logId String

(Updatable) The OCID of the log.

FleetOperationLog

LogGroupId string

(Updatable) The OCID of the log group.

LogId string

(Updatable) The OCID of the log.

LogGroupId string

(Updatable) The OCID of the log group.

LogId string

(Updatable) The OCID of the log.

logGroupId String

(Updatable) The OCID of the log group.

logId String

(Updatable) The OCID of the log.

logGroupId string

(Updatable) The OCID of the log group.

logId string

(Updatable) The OCID of the log.

log_group_id str

(Updatable) The OCID of the log group.

log_id str

(Updatable) The OCID of the log.

logGroupId String

(Updatable) The OCID of the log group.

logId String

(Updatable) The OCID of the log.

Import

Fleets can be imported using the id, e.g.

 $ pulumi import oci:Jms/fleet:Fleet test_fleet "id"

Package Details

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

This Pulumi package is based on the oci Terraform Provider.