oci.Jms.Fleet
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleet = new oci.jms.Fleet("test_fleet", {
compartmentId: compartmentId,
displayName: fleetDisplayName,
inventoryLog: {
logGroupId: testLogGroup.id,
logId: testLog.id,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
description: fleetDescription,
freeformTags: {
"bar-key": "value",
},
isAdvancedFeaturesEnabled: fleetIsAdvancedFeaturesEnabled,
operationLog: {
logGroupId: testLogGroup.id,
logId: testLog.id,
},
});
import pulumi
import pulumi_oci as oci
test_fleet = oci.jms.Fleet("test_fleet",
compartment_id=compartment_id,
display_name=fleet_display_name,
inventory_log={
"log_group_id": test_log_group["id"],
"log_id": test_log["id"],
},
defined_tags={
"foo-namespace.bar-key": "value",
},
description=fleet_description,
freeform_tags={
"bar-key": "value",
},
is_advanced_features_enabled=fleet_is_advanced_features_enabled,
operation_log={
"log_group_id": test_log_group["id"],
"log_id": test_log["id"],
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Jms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Jms.NewFleet(ctx, "test_fleet", &Jms.FleetArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(fleetDisplayName),
InventoryLog: &jms.FleetInventoryLogArgs{
LogGroupId: pulumi.Any(testLogGroup.Id),
LogId: pulumi.Any(testLog.Id),
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(fleetDescription),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
IsAdvancedFeaturesEnabled: pulumi.Any(fleetIsAdvancedFeaturesEnabled),
OperationLog: &jms.FleetOperationLogArgs{
LogGroupId: pulumi.Any(testLogGroup.Id),
LogId: pulumi.Any(testLog.Id),
},
})
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 = new Oci.Jms.Fleet("test_fleet", new()
{
CompartmentId = compartmentId,
DisplayName = fleetDisplayName,
InventoryLog = new Oci.Jms.Inputs.FleetInventoryLogArgs
{
LogGroupId = testLogGroup.Id,
LogId = testLog.Id,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = fleetDescription,
FreeformTags =
{
{ "bar-key", "value" },
},
IsAdvancedFeaturesEnabled = fleetIsAdvancedFeaturesEnabled,
OperationLog = new Oci.Jms.Inputs.FleetOperationLogArgs
{
LogGroupId = testLogGroup.Id,
LogId = testLog.Id,
},
});
});
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(compartmentId)
.displayName(fleetDisplayName)
.inventoryLog(FleetInventoryLogArgs.builder()
.logGroupId(testLogGroup.id())
.logId(testLog.id())
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(fleetDescription)
.freeformTags(Map.of("bar-key", "value"))
.isAdvancedFeaturesEnabled(fleetIsAdvancedFeaturesEnabled)
.operationLog(FleetOperationLogArgs.builder()
.logGroupId(testLogGroup.id())
.logId(testLog.id())
.build())
.build());
}
}
resources:
testFleet:
type: oci:Jms:Fleet
name: test_fleet
properties:
compartmentId: ${compartmentId}
displayName: ${fleetDisplayName}
inventoryLog:
logGroupId: ${testLogGroup.id}
logId: ${testLog.id}
definedTags:
foo-namespace.bar-key: value
description: ${fleetDescription}
freeformTags:
bar-key: value
isAdvancedFeaturesEnabled: ${fleetIsAdvancedFeaturesEnabled}
operationLog:
logGroupId: ${testLogGroup.id}
logId: ${testLog.id}
Create Fleet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Fleet(name: string, args: FleetArgs, opts?: CustomResourceOptions);
@overload
def Fleet(resource_name: str,
args: FleetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Fleet(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
inventory_log: Optional[_jms.FleetInventoryLogArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_advanced_features_enabled: Optional[bool] = None,
operation_log: Optional[_jms.FleetOperationLogArgs] = None)
func NewFleet(ctx *Context, name string, args FleetArgs, opts ...ResourceOption) (*Fleet, error)
public Fleet(string name, FleetArgs args, CustomResourceOptions? opts = null)
type: oci:Jms:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var ociFleetResource = new Oci.Jms.Fleet("ociFleetResource", new()
{
CompartmentId = "string",
DisplayName = "string",
InventoryLog = new Oci.Jms.Inputs.FleetInventoryLogArgs
{
LogGroupId = "string",
LogId = "string",
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
FreeformTags =
{
{ "string", "string" },
},
IsAdvancedFeaturesEnabled = false,
OperationLog = new Oci.Jms.Inputs.FleetOperationLogArgs
{
LogGroupId = "string",
LogId = "string",
},
});
example, err := Jms.NewFleet(ctx, "ociFleetResource", &Jms.FleetArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
InventoryLog: &jms.FleetInventoryLogArgs{
LogGroupId: pulumi.String("string"),
LogId: pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsAdvancedFeaturesEnabled: pulumi.Bool(false),
OperationLog: &jms.FleetOperationLogArgs{
LogGroupId: pulumi.String("string"),
LogId: pulumi.String("string"),
},
})
var ociFleetResource = new Fleet("ociFleetResource", FleetArgs.builder()
.compartmentId("string")
.displayName("string")
.inventoryLog(FleetInventoryLogArgs.builder()
.logGroupId("string")
.logId("string")
.build())
.definedTags(Map.of("string", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.isAdvancedFeaturesEnabled(false)
.operationLog(FleetOperationLogArgs.builder()
.logGroupId("string")
.logId("string")
.build())
.build());
oci_fleet_resource = oci.jms.Fleet("ociFleetResource",
compartment_id="string",
display_name="string",
inventory_log={
"log_group_id": "string",
"log_id": "string",
},
defined_tags={
"string": "string",
},
description="string",
freeform_tags={
"string": "string",
},
is_advanced_features_enabled=False,
operation_log={
"log_group_id": "string",
"log_id": "string",
})
const ociFleetResource = new oci.jms.Fleet("ociFleetResource", {
compartmentId: "string",
displayName: "string",
inventoryLog: {
logGroupId: "string",
logId: "string",
},
definedTags: {
string: "string",
},
description: "string",
freeformTags: {
string: "string",
},
isAdvancedFeaturesEnabled: false,
operationLog: {
logGroupId: "string",
logId: "string",
},
});
type: oci:Jms:Fleet
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
inventoryLog:
logGroupId: string
logId: string
isAdvancedFeaturesEnabled: false
operationLog:
logGroupId: string
logId: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Fleet resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment of the Fleet.
- Display
Name string - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- Inventory
Log FleetInventory Log - (Updatable) Custom Log for inventory or operation log.
- Dictionary<string, string>
- (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.
- Dictionary<string, string>
- (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 boolFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - Operation
Log FleetOperation Log - (Updatable) Custom Log for inventory or operation log.
- Compartment
Id string - (Updatable) The OCID of the compartment of the Fleet.
- Display
Name string - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- Inventory
Log FleetInventory Log Args - (Updatable) Custom Log for inventory or operation log.
- map[string]string
- (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.
- map[string]string
- (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 boolFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - Operation
Log FleetOperation Log Args - (Updatable) Custom Log for inventory or operation log.
- compartment
Id String - (Updatable) The OCID of the compartment of the Fleet.
- display
Name String - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- inventory
Log FleetInventory Log - (Updatable) Custom Log for inventory or operation log.
- Map<String,String>
- (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.
- Map<String,String>
- (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 BooleanFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - operation
Log FleetOperation Log - (Updatable) Custom Log for inventory or operation log.
- compartment
Id string - (Updatable) The OCID of the compartment of the Fleet.
- display
Name string - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- inventory
Log FleetInventory Log - (Updatable) Custom Log for inventory or operation log.
- {[key: string]: string}
- (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.
- {[key: string]: string}
- (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 booleanFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - operation
Log FleetOperation Log - (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 jms.Fleet Inventory Log Args - (Updatable) Custom Log for inventory or operation log.
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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_ boolfeatures_ enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - operation_
log jms.Fleet Operation Log Args - (Updatable) Custom Log for inventory or operation log.
- compartment
Id String - (Updatable) The OCID of the compartment of the Fleet.
- display
Name String - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- inventory
Log Property Map - (Updatable) Custom Log for inventory or operation log.
- Map<String>
- (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.
- Map<String>
- (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 BooleanFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - operation
Log 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:
- 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
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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Export boolSetting Enabled - Whether or not export setting is enabled in this Fleet.
- 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"}
- Time
Created 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
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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Export boolSetting Enabled - Whether or not export setting is enabled in this Fleet.
- 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"}
- Time
Created string - The creation date and time of the Fleet (formatted according to RFC3339).
- approximate
Application 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.
- approximate
Installation 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.
- approximate
Java 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.
- approximate
Jre 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.
- approximate
Managed 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.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Export BooleanSetting Enabled - Whether or not export setting is enabled in this Fleet.
- 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"}
- time
Created String - The creation date and time of the Fleet (formatted according to RFC3339).
- approximate
Application 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.
- approximate
Installation 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.
- approximate
Java 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.
- approximate
Jre 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.
- approximate
Managed 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.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Export booleanSetting Enabled - Whether or not export setting is enabled in this Fleet.
- 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"}
- time
Created 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_
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.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
export_ boolsetting_ enabled - Whether or not export setting is enabled in this Fleet.
- 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).
- approximate
Application 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.
- approximate
Installation 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.
- approximate
Java 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.
- approximate
Jre 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.
- approximate
Managed 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.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Export BooleanSetting Enabled - Whether or not export setting is enabled in this Fleet.
- 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"}
- time
Created String - The creation date and time of the Fleet (formatted according to RFC3339).
Look up 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_java_server_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, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
inventory_log: Optional[_jms.FleetInventoryLogArgs] = None,
is_advanced_features_enabled: Optional[bool] = None,
is_export_setting_enabled: Optional[bool] = None,
operation_log: Optional[_jms.FleetOperationLogArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = 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.
- 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
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 string - (Updatable) The OCID of the compartment of the Fleet.
- Dictionary<string, string>
- (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.
- Display
Name string - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- Dictionary<string, string>
- (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 FleetInventory Log - (Updatable) Custom Log for inventory or operation log.
- Is
Advanced boolFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - Is
Export boolSetting Enabled - Whether or not export setting is enabled in this Fleet.
- Operation
Log FleetOperation Log - (Updatable) 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"}
- Time
Created 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
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 string - (Updatable) The OCID of the compartment of the Fleet.
- map[string]string
- (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.
- Display
Name string - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- map[string]string
- (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 FleetInventory Log Args - (Updatable) Custom Log for inventory or operation log.
- Is
Advanced boolFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - Is
Export boolSetting Enabled - Whether or not export setting is enabled in this Fleet.
- Operation
Log FleetOperation Log Args - (Updatable) 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"}
- Time
Created string - The creation date and time of the Fleet (formatted according to RFC3339).
- approximate
Application 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.
- approximate
Installation 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.
- approximate
Java 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.
- approximate
Jre 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.
- approximate
Managed 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.
- compartment
Id String - (Updatable) The OCID of the compartment of the Fleet.
- Map<String,String>
- (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.
- display
Name String - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- Map<String,String>
- (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 FleetInventory Log - (Updatable) Custom Log for inventory or operation log.
- is
Advanced BooleanFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - is
Export BooleanSetting Enabled - Whether or not export setting is enabled in this Fleet.
- operation
Log FleetOperation Log - (Updatable) 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"}
- time
Created String - The creation date and time of the Fleet (formatted according to RFC3339).
- approximate
Application 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.
- approximate
Installation 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.
- approximate
Java 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.
- approximate
Jre 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.
- approximate
Managed 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.
- compartment
Id string - (Updatable) The OCID of the compartment of the Fleet.
- {[key: string]: string}
- (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.
- display
Name string - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- {[key: string]: string}
- (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 FleetInventory Log - (Updatable) Custom Log for inventory or operation log.
- is
Advanced booleanFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - is
Export booleanSetting Enabled - Whether or not export setting is enabled in this Fleet.
- operation
Log FleetOperation Log - (Updatable) 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"}
- time
Created 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_
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 - (Updatable) The OCID of the compartment of the Fleet.
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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 jms.Fleet Inventory Log Args - (Updatable) Custom Log for inventory or operation log.
- is_
advanced_ boolfeatures_ enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - is_
export_ boolsetting_ enabled - Whether or not export setting is enabled in this Fleet.
- operation_
log jms.Fleet Operation Log Args - (Updatable) 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).
- approximate
Application 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.
- approximate
Installation 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.
- approximate
Java 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.
- approximate
Jre 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.
- approximate
Managed 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.
- compartment
Id String - (Updatable) The OCID of the compartment of the Fleet.
- Map<String>
- (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.
- display
Name String - (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
- Map<String>
- (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 Property Map - (Updatable) Custom Log for inventory or operation log.
- is
Advanced BooleanFeatures Enabled - (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use
/fleets/{fleetId}/advanceFeatureConfiguration
API instead. - is
Export BooleanSetting Enabled - Whether or not export setting is enabled in this Fleet.
- operation
Log Property Map - (Updatable) 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"}
- time
Created String - The creation date and time of the Fleet (formatted according to RFC3339).
Supporting Types
FleetInventoryLog, FleetInventoryLogArgs
- Log
Group stringId - (Updatable) The OCID of the log group.
- Log
Id string - (Updatable) The OCID of the log.
- Log
Group stringId - (Updatable) The OCID of the log group.
- Log
Id string - (Updatable) The OCID of the log.
- log
Group StringId - (Updatable) The OCID of the log group.
- log
Id String - (Updatable) The OCID of the log.
- log
Group stringId - (Updatable) The OCID of the log group.
- log
Id string - (Updatable) The OCID of the log.
- log_
group_ strid - (Updatable) The OCID of the log group.
- log_
id str - (Updatable) The OCID of the log.
- log
Group StringId - (Updatable) The OCID of the log group.
- log
Id String - (Updatable) The OCID of the log.
FleetOperationLog, FleetOperationLogArgs
- Log
Group stringId - (Updatable) The OCID of the log group.
- Log
Id string (Updatable) The OCID of the log.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Log
Group stringId - (Updatable) The OCID of the log group.
- Log
Id string (Updatable) The OCID of the log.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- log
Group StringId - (Updatable) The OCID of the log group.
- log
Id String (Updatable) The OCID of the log.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- log
Group stringId - (Updatable) The OCID of the log group.
- log
Id string (Updatable) The OCID of the log.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- log_
group_ strid - (Updatable) The OCID of the log group.
- log_
id str (Updatable) The OCID of the log.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- log
Group StringId - (Updatable) The OCID of the log group.
- log
Id String (Updatable) The OCID of the log.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
Fleets can be imported using the id
, e.g.
$ pulumi import oci:Jms/fleet:Fleet test_fleet "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.