import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Fleet Resource resource in Oracle Cloud Infrastructure Fleet Apps Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/fleet-management/latest/FleetResource * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/fleet_apps_management * * Add resource to a fleet in Fleet Application Management. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFleetResource = new oci.fleetappsmanagement.FleetResource("test_fleet_resource", { * compartmentId: compartmentId, * fleetId: testFleet.id, * resourceId: testResource.id, * tenancyId: testTenancy.id, * resourceRegion: fleetResourceResourceRegion, * resourceType: fleetResourceResourceType, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class FleetResource extends pulumi.CustomResource { /** * Get an existing FleetResource 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?: FleetResourceState, opts?: pulumi.CustomResourceOptions): FleetResource; /** * Returns true if the given object is an instance of FleetResource. 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 FleetResource; /** * Resource Compartment name. */ readonly compartment: pulumi.Output; /** * (Updatable) OCID of the compartment to which the resource belongs to. */ readonly compartmentId: pulumi.Output; /** * Compliance State of the Resource. */ readonly complianceState: pulumi.Output; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName: pulumi.Output; /** * Environment Type associated with the Fleet when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet. */ readonly environmentType: pulumi.Output; /** * Unique Fleet identifier. */ readonly fleetId: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * The compliance percentage. */ readonly percentCompliant: pulumi.Output; /** * Product associated with the resource when the resource type is fleet. Will only be returned for PRODUCT fleets that are part of a GROUP Fleet. */ readonly product: pulumi.Output; /** * Count of products within the resource. */ readonly productCount: pulumi.Output; /** * The OCID of the resource. */ readonly resourceId: pulumi.Output; /** * Associated region */ readonly resourceRegion: pulumi.Output; /** * Type of the Resource. */ readonly resourceType: pulumi.Output; /** * The current state of the FleetResource. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * Count of targets within the resource. */ readonly targetCount: pulumi.Output; /** * (Updatable) OCID of the tenancy to which the resource belongs to. * * ** 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 */ readonly tenancyId: pulumi.Output; /** * Resource Tenancy Name. */ readonly tenancyName: pulumi.Output; /** * The time this resource was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a FleetResource 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: FleetResourceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FleetResource resources. */ export interface FleetResourceState { /** * Resource Compartment name. */ compartment?: pulumi.Input; /** * (Updatable) OCID of the compartment to which the resource belongs to. */ compartmentId?: pulumi.Input; /** * Compliance State of the Resource. */ complianceState?: pulumi.Input; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ displayName?: pulumi.Input; /** * Environment Type associated with the Fleet when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet. */ environmentType?: pulumi.Input; /** * Unique Fleet identifier. */ fleetId?: pulumi.Input; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * The compliance percentage. */ percentCompliant?: pulumi.Input; /** * Product associated with the resource when the resource type is fleet. Will only be returned for PRODUCT fleets that are part of a GROUP Fleet. */ product?: pulumi.Input; /** * Count of products within the resource. */ productCount?: pulumi.Input; /** * The OCID of the resource. */ resourceId?: pulumi.Input; /** * Associated region */ resourceRegion?: pulumi.Input; /** * Type of the Resource. */ resourceType?: pulumi.Input; /** * The current state of the FleetResource. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Count of targets within the resource. */ targetCount?: pulumi.Input; /** * (Updatable) OCID of the tenancy to which the resource belongs to. * * ** 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 */ tenancyId?: pulumi.Input; /** * Resource Tenancy Name. */ tenancyName?: pulumi.Input; /** * The time this resource was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a FleetResource resource. */ export interface FleetResourceArgs { /** * (Updatable) OCID of the compartment to which the resource belongs to. */ compartmentId: pulumi.Input; /** * Unique Fleet identifier. */ fleetId: pulumi.Input; /** * The OCID of the resource. */ resourceId: pulumi.Input; /** * Associated region */ resourceRegion?: pulumi.Input; /** * Type of the Resource. */ resourceType?: pulumi.Input; /** * (Updatable) OCID of the tenancy to which the resource belongs to. * * ** 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 */ tenancyId: pulumi.Input; } //# sourceMappingURL=fleetResource.d.ts.map