import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Fleet resource in Oracle Cloud Infrastructure Jms service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/jms/latest/Fleet * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/jms * * 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](https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#JMS) for more details. * Migrate existing fleets using the `UpdateFleet` API to set the `inventoryLog` parameter. * * ## Example Usage * * ```typescript * 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 === "true", * operationLog: { * logGroupId: testLogGroup.id, * logId: testLog.id, * }, * }); * ``` * * ## Import * * Fleets can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Jms/fleet:Fleet test_fleet "id" * ``` */ export declare class Fleet extends pulumi.CustomResource { /** * Get an existing Fleet resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FleetState, opts?: pulumi.CustomResourceOptions): Fleet; /** * Returns true if the given object is an instance of Fleet. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Fleet; /** * 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. */ readonly approximateApplicationCount: pulumi.Output; /** * 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. */ readonly approximateInstallationCount: pulumi.Output; /** * 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. */ readonly approximateJavaServerCount: pulumi.Output; /** * 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. */ readonly approximateJreCount: pulumi.Output; /** * The approximate count of all unique libraries in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. */ readonly approximateLibraryCount: pulumi.Output; /** * The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. */ readonly approximateLibraryVulnerabilityCount: pulumi.Output; /** * 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. */ readonly approximateManagedInstanceCount: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. */ readonly compartmentId: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null. */ readonly description: pulumi.Output; /** * (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment. */ readonly displayName: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Custom Log for inventory or operation log. */ readonly inventoryLog: pulumi.Output; /** * (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. */ readonly isAdvancedFeaturesEnabled: pulumi.Output; /** * Whether or not export setting is enabled in this Fleet. */ readonly isExportSettingEnabled: pulumi.Output; /** * (Updatable) Custom Log for inventory or operation log. */ readonly operationLog: pulumi.Output; /** * The lifecycle state of the Fleet. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeCreated: pulumi.Output; /** * Create a Fleet resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FleetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Fleet resources. */ export interface FleetState { /** * 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. */ approximateApplicationCount?: pulumi.Input; /** * 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. */ approximateInstallationCount?: pulumi.Input; /** * 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. */ approximateJavaServerCount?: pulumi.Input; /** * 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. */ approximateJreCount?: pulumi.Input; /** * The approximate count of all unique libraries in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. */ approximateLibraryCount?: pulumi.Input; /** * The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. */ approximateLibraryVulnerabilityCount?: pulumi.Input; /** * 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. */ approximateManagedInstanceCount?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. */ compartmentId?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null. */ description?: pulumi.Input; /** * (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment. */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Custom Log for inventory or operation log. */ inventoryLog?: pulumi.Input; /** * (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. */ isAdvancedFeaturesEnabled?: pulumi.Input; /** * Whether or not export setting is enabled in this Fleet. */ isExportSettingEnabled?: pulumi.Input; /** * (Updatable) Custom Log for inventory or operation log. */ operationLog?: pulumi.Input; /** * The lifecycle state of the Fleet. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeCreated?: pulumi.Input; } /** * The set of arguments for constructing a Fleet resource. */ export interface FleetArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. */ compartmentId: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The Fleet's description. If nothing is provided, the Fleet description will be null. */ description?: pulumi.Input; /** * (Updatable) The name of the Fleet. The displayName must be unique for Fleets in the same compartment. */ displayName: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Custom Log for inventory or operation log. */ inventoryLog: pulumi.Input; /** * (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. */ isAdvancedFeaturesEnabled?: pulumi.Input; /** * (Updatable) Custom Log for inventory or operation log. */ operationLog?: pulumi.Input; } //# sourceMappingURL=fleet.d.ts.map