1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. Fleet
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Jms.Fleet

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

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

    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 fleetResource = new Oci.Jms.Fleet("fleetResource", 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, "fleetResource", &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 fleetResource = new Fleet("fleetResource", 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());
    
    fleet_resource = oci.jms.Fleet("fleetResource",
        compartment_id="string",
        display_name="string",
        inventory_log=oci.jms.FleetInventoryLogArgs(
            log_group_id="string",
            log_id="string",
        ),
        defined_tags={
            "string": "string",
        },
        description="string",
        freeform_tags={
            "string": "string",
        },
        is_advanced_features_enabled=False,
        operation_log=oci.jms.FleetOperationLogArgs(
            log_group_id="string",
            log_id="string",
        ))
    
    const fleetResource = new oci.jms.Fleet("fleetResource", {
        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

    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 FleetInventoryLog
    (Updatable) Custom Log for inventory or operation log.
    DefinedTags 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.
    FreeformTags 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.)
    IsAdvancedFeaturesEnabled bool
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    OperationLog FleetOperationLog
    (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]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.
    FreeformTags 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.)
    IsAdvancedFeaturesEnabled bool
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    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 FleetInventoryLog
    (Updatable) Custom Log for inventory or operation log.
    definedTags 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.
    freeformTags 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.)
    isAdvancedFeaturesEnabled Boolean
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    operationLog FleetOperationLog
    (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 FleetInventoryLog
    (Updatable) Custom Log for inventory or operation log.
    definedTags {[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.
    freeformTags {[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.)
    isAdvancedFeaturesEnabled boolean
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    operationLog FleetOperationLog
    (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.FleetInventoryLogArgs
    (Updatable) Custom Log for inventory or operation log.
    defined_tags 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.
    freeform_tags 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_features_enabled bool
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    operation_log jms.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<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.
    freeformTags 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.)
    isAdvancedFeaturesEnabled Boolean
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    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 isn't 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 isn't taken into account when computing the resource ETag.
    ApproximateJavaServerCount int
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsExportSettingEnabled bool
    Whether or not export setting is enabled in this Fleet.
    State string
    The lifecycle state of the Fleet.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the Fleet (formatted according to RFC3339).
    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 isn't 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 isn't taken into account when computing the resource ETag.
    ApproximateJavaServerCount int
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsExportSettingEnabled bool
    Whether or not export setting is enabled in this Fleet.
    State string
    The lifecycle state of the Fleet.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the Fleet (formatted according to RFC3339).
    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 isn't 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 isn't taken into account when computing the resource ETag.
    approximateJavaServerCount Integer
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    id String
    The provider-assigned unique ID for this managed resource.
    isExportSettingEnabled Boolean
    Whether or not export setting is enabled in this Fleet.
    state String
    The lifecycle state of the Fleet.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the Fleet (formatted according to RFC3339).
    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 isn't 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 isn't taken into account when computing the resource ETag.
    approximateJavaServerCount number
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    id string
    The provider-assigned unique ID for this managed resource.
    isExportSettingEnabled boolean
    Whether or not export setting is enabled in this Fleet.
    state string
    The lifecycle state of the Fleet.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The creation date and time of the Fleet (formatted according to RFC3339).
    approximate_application_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 isn't 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 isn't taken into account when computing the resource ETag.
    approximate_java_server_count int
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    id str
    The provider-assigned unique ID for this managed resource.
    is_export_setting_enabled bool
    Whether or not export setting is enabled in this Fleet.
    state str
    The lifecycle state of the Fleet.
    system_tags 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).
    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 isn't 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 isn't taken into account when computing the resource ETag.
    approximateJavaServerCount Number
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    id String
    The provider-assigned unique ID for this managed resource.
    isExportSettingEnabled Boolean
    Whether or not export setting is enabled in this Fleet.
    state String
    The lifecycle state of the Fleet.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the Fleet (formatted according to RFC3339).

    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.
    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 isn't 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 isn't taken into account when computing the resource ETag.
    ApproximateJavaServerCount int
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    CompartmentId string
    (Updatable) The OCID of the compartment of the Fleet.
    DefinedTags 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.
    DisplayName string
    (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
    FreeformTags 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.)
    InventoryLog FleetInventoryLog
    (Updatable) Custom Log for inventory or operation log.
    IsAdvancedFeaturesEnabled bool
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    IsExportSettingEnabled bool
    Whether or not export setting is enabled in this Fleet.
    OperationLog FleetOperationLog
    (Updatable) Custom Log for inventory or operation log.
    State string
    The lifecycle state of the Fleet.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the Fleet (formatted according to RFC3339).
    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 isn't 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 isn't taken into account when computing the resource ETag.
    ApproximateJavaServerCount int
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    CompartmentId string
    (Updatable) The OCID of the compartment of the Fleet.
    DefinedTags 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.
    DisplayName string
    (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
    FreeformTags 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.)
    InventoryLog FleetInventoryLogArgs
    (Updatable) Custom Log for inventory or operation log.
    IsAdvancedFeaturesEnabled bool
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    IsExportSettingEnabled bool
    Whether or not export setting is enabled in this Fleet.
    OperationLog FleetOperationLogArgs
    (Updatable) Custom Log for inventory or operation log.
    State string
    The lifecycle state of the Fleet.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation date and time of the Fleet (formatted according to RFC3339).
    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 isn't 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 isn't taken into account when computing the resource ETag.
    approximateJavaServerCount Integer
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    compartmentId String
    (Updatable) The OCID of the compartment of the Fleet.
    definedTags 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.
    displayName String
    (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
    freeformTags 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.)
    inventoryLog FleetInventoryLog
    (Updatable) Custom Log for inventory or operation log.
    isAdvancedFeaturesEnabled Boolean
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    isExportSettingEnabled Boolean
    Whether or not export setting is enabled in this Fleet.
    operationLog FleetOperationLog
    (Updatable) Custom Log for inventory or operation log.
    state String
    The lifecycle state of the Fleet.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the Fleet (formatted according to RFC3339).
    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 isn't 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 isn't taken into account when computing the resource ETag.
    approximateJavaServerCount number
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    compartmentId string
    (Updatable) The OCID of the compartment of the Fleet.
    definedTags {[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.
    displayName string
    (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
    freeformTags {[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.)
    inventoryLog FleetInventoryLog
    (Updatable) Custom Log for inventory or operation log.
    isAdvancedFeaturesEnabled boolean
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    isExportSettingEnabled boolean
    Whether or not export setting is enabled in this Fleet.
    operationLog FleetOperationLog
    (Updatable) Custom Log for inventory or operation log.
    state string
    The lifecycle state of the Fleet.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The creation date and time of the Fleet (formatted according to RFC3339).
    approximate_application_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 isn't 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 isn't taken into account when computing the resource ETag.
    approximate_java_server_count int
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    compartment_id str
    (Updatable) The OCID of the compartment of the Fleet.
    defined_tags 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.
    freeform_tags 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.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. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    is_export_setting_enabled bool
    Whether or not export setting is enabled in this Fleet.
    operation_log jms.FleetOperationLogArgs
    (Updatable) Custom Log for inventory or operation log.
    state str
    The lifecycle state of the Fleet.
    system_tags 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).
    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 isn't 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 isn't taken into account when computing the resource ETag.
    approximateJavaServerCount Number
    The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't 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 isn't 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 isn't taken into account when computing the resource ETag.
    compartmentId String
    (Updatable) The OCID of the compartment of the Fleet.
    definedTags 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.
    displayName String
    (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment.
    freeformTags 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.)
    inventoryLog Property Map
    (Updatable) Custom Log for inventory or operation log.
    isAdvancedFeaturesEnabled Boolean
    (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.
    isExportSettingEnabled Boolean
    Whether or not export setting is enabled in this Fleet.
    operationLog Property Map
    (Updatable) Custom Log for inventory or operation log.
    state String
    The lifecycle state of the Fleet.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation date and time of the Fleet (formatted according to RFC3339).

    Supporting Types

    FleetInventoryLog, FleetInventoryLogArgs

    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, FleetOperationLogArgs

    LogGroupId string
    (Updatable) The OCID of the log group.
    LogId 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

    LogGroupId string
    (Updatable) The OCID of the log group.
    LogId 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

    logGroupId String
    (Updatable) The OCID of the log group.
    logId 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

    logGroupId string
    (Updatable) The OCID of the log group.
    logId 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_id str
    (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

    logGroupId String
    (Updatable) The OCID of the log group.
    logId 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.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi