oci.FleetAppsManagement.Fleet
Explore with Pulumi AI
This resource provides the Fleet resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Creates a new fleet instance that includes fleet resources and properties. For more information, please see the documentation.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
testFleet:
type: oci:FleetAppsManagement:Fleet
name: test_fleet
properties:
compartmentId: ${compartmentId}
fleetType: ${fleetFleetType}
applicationType: ${fleetApplicationType}
definedTags:
foo-namespace.bar-key: value
description: ${fleetDescription}
displayName: ${fleetDisplayName}
environmentType: ${fleetEnvironmentType}
freeformTags:
bar-key: value
groupType: ${fleetGroupType}
isTargetAutoConfirm: ${fleetIsTargetAutoConfirm}
notificationPreferences:
compartmentId: ${compartmentId}
topicId: ${testNotificationTopic.id}
preferences:
onJobFailure: ${fleetNotificationPreferencesPreferencesOnJobFailure}
onTopologyModification: ${fleetNotificationPreferencesPreferencesOnTopologyModification}
onUpcomingSchedule: ${fleetNotificationPreferencesPreferencesOnUpcomingSchedule}
products: ${fleetProducts}
resourceSelectionType: ${fleetResourceSelectionType}
resources:
- compartmentId: ${compartmentId}
resourceId: ${testResource.id}
tenancyId: ${testTenancy.id}
fleetResourceType: ${fleetResourcesFleetResourceType}
ruleSelectionCriteria:
matchCondition: ${fleetRuleSelectionCriteriaMatchCondition}
rules:
- compartmentId: ${compartmentId}
conditions:
- attrGroup: ${fleetRuleSelectionCriteriaRulesConditionsAttrGroup}
attrKey: ${fleetRuleSelectionCriteriaRulesConditionsAttrKey}
attrValue: ${fleetRuleSelectionCriteriaRulesConditionsAttrValue}
resourceCompartmentId: ${testCompartment.id}
basis: ${fleetRuleSelectionCriteriaRulesBasis}
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,
fleet_type: Optional[str] = None,
compartment_id: Optional[str] = None,
description: Optional[str] = None,
application_type: Optional[str] = None,
display_name: Optional[str] = None,
environment_type: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
group_type: Optional[str] = None,
is_target_auto_confirm: Optional[bool] = None,
notification_preferences: Optional[_fleetappsmanagement.FleetNotificationPreferencesArgs] = None,
products: Optional[Sequence[str]] = None,
resource_selection_type: Optional[str] = None,
rule_selection_criteria: Optional[_fleetappsmanagement.FleetRuleSelectionCriteriaArgs] = None)
func NewFleet(ctx *Context, name string, args FleetArgs, opts ...ResourceOption) (*Fleet, error)
public Fleet(string name, FleetArgs args, CustomResourceOptions? opts = null)
type: oci:FleetAppsManagement: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.FleetAppsManagement.Fleet("fleetResource", new()
{
FleetType = "string",
CompartmentId = "string",
Description = "string",
ApplicationType = "string",
DisplayName = "string",
EnvironmentType = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
GroupType = "string",
IsTargetAutoConfirm = false,
NotificationPreferences = new Oci.FleetAppsManagement.Inputs.FleetNotificationPreferencesArgs
{
CompartmentId = "string",
TopicId = "string",
Preferences = new Oci.FleetAppsManagement.Inputs.FleetNotificationPreferencesPreferencesArgs
{
OnJobFailure = false,
OnTopologyModification = false,
OnUpcomingSchedule = false,
},
},
Products = new[]
{
"string",
},
ResourceSelectionType = "string",
RuleSelectionCriteria = new Oci.FleetAppsManagement.Inputs.FleetRuleSelectionCriteriaArgs
{
MatchCondition = "string",
Rules = new[]
{
new Oci.FleetAppsManagement.Inputs.FleetRuleSelectionCriteriaRuleArgs
{
CompartmentId = "string",
Conditions = new[]
{
new Oci.FleetAppsManagement.Inputs.FleetRuleSelectionCriteriaRuleConditionArgs
{
AttrGroup = "string",
AttrKey = "string",
AttrValue = "string",
},
},
ResourceCompartmentId = "string",
Basis = "string",
},
},
},
});
example, err := FleetAppsManagement.NewFleet(ctx, "fleetResource", &FleetAppsManagement.FleetArgs{
FleetType: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
Description: pulumi.String("string"),
ApplicationType: pulumi.String("string"),
DisplayName: pulumi.String("string"),
EnvironmentType: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
GroupType: pulumi.String("string"),
IsTargetAutoConfirm: pulumi.Bool(false),
NotificationPreferences: &fleetappsmanagement.FleetNotificationPreferencesArgs{
CompartmentId: pulumi.String("string"),
TopicId: pulumi.String("string"),
Preferences: &fleetappsmanagement.FleetNotificationPreferencesPreferencesArgs{
OnJobFailure: pulumi.Bool(false),
OnTopologyModification: pulumi.Bool(false),
OnUpcomingSchedule: pulumi.Bool(false),
},
},
Products: pulumi.StringArray{
pulumi.String("string"),
},
ResourceSelectionType: pulumi.String("string"),
RuleSelectionCriteria: &fleetappsmanagement.FleetRuleSelectionCriteriaArgs{
MatchCondition: pulumi.String("string"),
Rules: fleetappsmanagement.FleetRuleSelectionCriteriaRuleArray{
&fleetappsmanagement.FleetRuleSelectionCriteriaRuleArgs{
CompartmentId: pulumi.String("string"),
Conditions: fleetappsmanagement.FleetRuleSelectionCriteriaRuleConditionArray{
&fleetappsmanagement.FleetRuleSelectionCriteriaRuleConditionArgs{
AttrGroup: pulumi.String("string"),
AttrKey: pulumi.String("string"),
AttrValue: pulumi.String("string"),
},
},
ResourceCompartmentId: pulumi.String("string"),
Basis: pulumi.String("string"),
},
},
},
})
var fleetResource = new Fleet("fleetResource", FleetArgs.builder()
.fleetType("string")
.compartmentId("string")
.description("string")
.applicationType("string")
.displayName("string")
.environmentType("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.groupType("string")
.isTargetAutoConfirm(false)
.notificationPreferences(FleetNotificationPreferencesArgs.builder()
.compartmentId("string")
.topicId("string")
.preferences(FleetNotificationPreferencesPreferencesArgs.builder()
.onJobFailure(false)
.onTopologyModification(false)
.onUpcomingSchedule(false)
.build())
.build())
.products("string")
.resourceSelectionType("string")
.ruleSelectionCriteria(FleetRuleSelectionCriteriaArgs.builder()
.matchCondition("string")
.rules(FleetRuleSelectionCriteriaRuleArgs.builder()
.compartmentId("string")
.conditions(FleetRuleSelectionCriteriaRuleConditionArgs.builder()
.attrGroup("string")
.attrKey("string")
.attrValue("string")
.build())
.resourceCompartmentId("string")
.basis("string")
.build())
.build())
.build());
fleet_resource = oci.fleet_apps_management.Fleet("fleetResource",
fleet_type="string",
compartment_id="string",
description="string",
application_type="string",
display_name="string",
environment_type="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
group_type="string",
is_target_auto_confirm=False,
notification_preferences={
"compartment_id": "string",
"topic_id": "string",
"preferences": {
"on_job_failure": False,
"on_topology_modification": False,
"on_upcoming_schedule": False,
},
},
products=["string"],
resource_selection_type="string",
rule_selection_criteria={
"match_condition": "string",
"rules": [{
"compartment_id": "string",
"conditions": [{
"attr_group": "string",
"attr_key": "string",
"attr_value": "string",
}],
"resource_compartment_id": "string",
"basis": "string",
}],
})
const fleetResource = new oci.fleetappsmanagement.Fleet("fleetResource", {
fleetType: "string",
compartmentId: "string",
description: "string",
applicationType: "string",
displayName: "string",
environmentType: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
groupType: "string",
isTargetAutoConfirm: false,
notificationPreferences: {
compartmentId: "string",
topicId: "string",
preferences: {
onJobFailure: false,
onTopologyModification: false,
onUpcomingSchedule: false,
},
},
products: ["string"],
resourceSelectionType: "string",
ruleSelectionCriteria: {
matchCondition: "string",
rules: [{
compartmentId: "string",
conditions: [{
attrGroup: "string",
attrKey: "string",
attrValue: "string",
}],
resourceCompartmentId: "string",
basis: "string",
}],
},
});
type: oci:FleetAppsManagement:Fleet
properties:
applicationType: string
compartmentId: string
definedTags:
string: string
description: string
displayName: string
environmentType: string
fleetType: string
freeformTags:
string: string
groupType: string
isTargetAutoConfirm: false
notificationPreferences:
compartmentId: string
preferences:
onJobFailure: false
onTopologyModification: false
onUpcomingSchedule: false
topicId: string
products:
- string
resourceSelectionType: string
ruleSelectionCriteria:
matchCondition: string
rules:
- basis: string
compartmentId: string
conditions:
- attrGroup: string
attrKey: string
attrValue: string
resourceCompartmentId: 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 - Tenancy OCID
- Fleet
Type string - Type of the Fleet
- Application
Type string - Application Type associated with the Fleet.Applicable for Environment fleet types.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Environment
Type string - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- 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"}
- Group
Type string - Group Type associated with Group Fleet.Applicable for Group fleet types.
- Is
Target boolAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- Notification
Preferences FleetNotification Preferences - (Updatable) Conditions when met to send notifications on the fleet activities
- Products List<string>
- Products associated with the Fleet
- Resource
Selection stringType - Type of resource selection in a fleet
- Rule
Selection FleetCriteria Rule Selection Criteria - (Updatable) Rule Selection Criteria
- Compartment
Id string - Tenancy OCID
- Fleet
Type string - Type of the Fleet
- Application
Type string - Application Type associated with the Fleet.Applicable for Environment fleet types.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Environment
Type string - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- 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"}
- Group
Type string - Group Type associated with Group Fleet.Applicable for Group fleet types.
- Is
Target boolAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- Notification
Preferences FleetNotification Preferences Args - (Updatable) Conditions when met to send notifications on the fleet activities
- Products []string
- Products associated with the Fleet
- Resource
Selection stringType - Type of resource selection in a fleet
- Rule
Selection FleetCriteria Rule Selection Criteria Args - (Updatable) Rule Selection Criteria
- compartment
Id String - Tenancy OCID
- fleet
Type String - Type of the Fleet
- application
Type String - Application Type associated with the Fleet.Applicable for Environment fleet types.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- environment
Type String - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- 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"}
- group
Type String - Group Type associated with Group Fleet.Applicable for Group fleet types.
- is
Target BooleanAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- notification
Preferences FleetNotification Preferences - (Updatable) Conditions when met to send notifications on the fleet activities
- products List<String>
- Products associated with the Fleet
- resource
Selection StringType - Type of resource selection in a fleet
- rule
Selection FleetCriteria Rule Selection Criteria - (Updatable) Rule Selection Criteria
- compartment
Id string - Tenancy OCID
- fleet
Type string - Type of the Fleet
- application
Type string - Application Type associated with the Fleet.Applicable for Environment fleet types.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- environment
Type string - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- {[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"}
- group
Type string - Group Type associated with Group Fleet.Applicable for Group fleet types.
- is
Target booleanAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- notification
Preferences FleetNotification Preferences - (Updatable) Conditions when met to send notifications on the fleet activities
- products string[]
- Products associated with the Fleet
- resource
Selection stringType - Type of resource selection in a fleet
- rule
Selection FleetCriteria Rule Selection Criteria - (Updatable) Rule Selection Criteria
- compartment_
id str - Tenancy OCID
- fleet_
type str - Type of the Fleet
- application_
type str - Application Type associated with the Fleet.Applicable for Environment fleet types.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- environment_
type str - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- 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"}
- group_
type str - Group Type associated with Group Fleet.Applicable for Group fleet types.
- is_
target_ boolauto_ confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- notification_
preferences fleetappsmanagement.Fleet Notification Preferences Args - (Updatable) Conditions when met to send notifications on the fleet activities
- products Sequence[str]
- Products associated with the Fleet
- resource_
selection_ strtype - Type of resource selection in a fleet
- rule_
selection_ fleetappsmanagement.criteria Fleet Rule Selection Criteria Args - (Updatable) Rule Selection Criteria
- compartment
Id String - Tenancy OCID
- fleet
Type String - Type of the Fleet
- application
Type String - Application Type associated with the Fleet.Applicable for Environment fleet types.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- environment
Type String - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- 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"}
- group
Type String - Group Type associated with Group Fleet.Applicable for Group fleet types.
- is
Target BooleanAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- notification
Preferences Property Map - (Updatable) Conditions when met to send notifications on the fleet activities
- products List<String>
- Products associated with the Fleet
- resource
Selection StringType - Type of resource selection in a fleet
- rule
Selection Property MapCriteria - (Updatable) Rule Selection Criteria
Outputs
All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Region string - Associated region
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region string - Associated region
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource_
region str - Associated region
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Region String - Associated region
- state String
- The lifecycle state of the Fleet.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
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,
application_type: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
environment_type: Optional[str] = None,
fleet_type: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
group_type: Optional[str] = None,
is_target_auto_confirm: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
notification_preferences: Optional[_fleetappsmanagement.FleetNotificationPreferencesArgs] = None,
products: Optional[Sequence[str]] = None,
resource_region: Optional[str] = None,
resource_selection_type: Optional[str] = None,
rule_selection_criteria: Optional[_fleetappsmanagement.FleetRuleSelectionCriteriaArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: 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.
- Application
Type string - Application Type associated with the Fleet.Applicable for Environment fleet types.
- Compartment
Id string - Tenancy OCID
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Environment
Type string - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- Fleet
Type string - Type of the Fleet
- 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"}
- Group
Type string - Group Type associated with Group Fleet.Applicable for Group fleet types.
- Is
Target boolAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Notification
Preferences FleetNotification Preferences - (Updatable) Conditions when met to send notifications on the fleet activities
- Products List<string>
- Products associated with the Fleet
- Resource
Region string - Associated region
- Resource
Selection stringType - Type of resource selection in a fleet
- Rule
Selection FleetCriteria Rule Selection Criteria - (Updatable) Rule Selection Criteria
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Application
Type string - Application Type associated with the Fleet.Applicable for Environment fleet types.
- Compartment
Id string - Tenancy OCID
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Environment
Type string - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- Fleet
Type string - Type of the Fleet
- 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"}
- Group
Type string - Group Type associated with Group Fleet.Applicable for Group fleet types.
- Is
Target boolAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Notification
Preferences FleetNotification Preferences Args - (Updatable) Conditions when met to send notifications on the fleet activities
- Products []string
- Products associated with the Fleet
- Resource
Region string - Associated region
- Resource
Selection stringType - Type of resource selection in a fleet
- Rule
Selection FleetCriteria Rule Selection Criteria Args - (Updatable) Rule Selection Criteria
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- application
Type String - Application Type associated with the Fleet.Applicable for Environment fleet types.
- compartment
Id String - Tenancy OCID
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- environment
Type String - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- fleet
Type String - Type of the Fleet
- 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"}
- group
Type String - Group Type associated with Group Fleet.Applicable for Group fleet types.
- is
Target BooleanAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- notification
Preferences FleetNotification Preferences - (Updatable) Conditions when met to send notifications on the fleet activities
- products List<String>
- Products associated with the Fleet
- resource
Region String - Associated region
- resource
Selection StringType - Type of resource selection in a fleet
- rule
Selection FleetCriteria Rule Selection Criteria - (Updatable) Rule Selection Criteria
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- application
Type string - Application Type associated with the Fleet.Applicable for Environment fleet types.
- compartment
Id string - Tenancy OCID
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- environment
Type string - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- fleet
Type string - Type of the Fleet
- {[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"}
- group
Type string - Group Type associated with Group Fleet.Applicable for Group fleet types.
- is
Target booleanAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- notification
Preferences FleetNotification Preferences - (Updatable) Conditions when met to send notifications on the fleet activities
- products string[]
- Products associated with the Fleet
- resource
Region string - Associated region
- resource
Selection stringType - Type of resource selection in a fleet
- rule
Selection FleetCriteria Rule Selection Criteria - (Updatable) Rule Selection Criteria
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- application_
type str - Application Type associated with the Fleet.Applicable for Environment fleet types.
- compartment_
id str - Tenancy OCID
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- environment_
type str - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- fleet_
type str - Type of the Fleet
- 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"}
- group_
type str - Group Type associated with Group Fleet.Applicable for Group fleet types.
- is_
target_ boolauto_ confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- notification_
preferences fleetappsmanagement.Fleet Notification Preferences Args - (Updatable) Conditions when met to send notifications on the fleet activities
- products Sequence[str]
- Products associated with the Fleet
- resource_
region str - Associated region
- resource_
selection_ strtype - Type of resource selection in a fleet
- rule_
selection_ fleetappsmanagement.criteria Fleet Rule Selection Criteria Args - (Updatable) Rule Selection Criteria
- 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. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- application
Type String - Application Type associated with the Fleet.Applicable for Environment fleet types.
- compartment
Id String - Tenancy OCID
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- environment
Type String - Environment Type associated with the Fleet.Applicable for Environment fleet types.
- fleet
Type String - Type of the Fleet
- 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"}
- group
Type String - Group Type associated with Group Fleet.Applicable for Group fleet types.
- is
Target BooleanAuto Confirm - (Updatable) A value which represents if auto confirming of the targets can be enabled
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- notification
Preferences Property Map - (Updatable) Conditions when met to send notifications on the fleet activities
- products List<String>
- Products associated with the Fleet
- resource
Region String - Associated region
- resource
Selection StringType - Type of resource selection in a fleet
- rule
Selection Property MapCriteria - (Updatable) Rule Selection Criteria
- state String
- The lifecycle state of the Fleet.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Supporting Types
FleetNotificationPreferences, FleetNotificationPreferencesArgs
- Compartment
Id string - (Updatable) Copartment Id of the topic where the notifications will be directed
- Topic
Id string - (Updatable) Topic Id where the notifications will be directed
- Preferences
Fleet
Notification Preferences Preferences - (Updatable) Preferences to send notifications on the fleet activities
- Compartment
Id string - (Updatable) Copartment Id of the topic where the notifications will be directed
- Topic
Id string - (Updatable) Topic Id where the notifications will be directed
- Preferences
Fleet
Notification Preferences Preferences - (Updatable) Preferences to send notifications on the fleet activities
- compartment
Id String - (Updatable) Copartment Id of the topic where the notifications will be directed
- topic
Id String - (Updatable) Topic Id where the notifications will be directed
- preferences
Fleet
Notification Preferences Preferences - (Updatable) Preferences to send notifications on the fleet activities
- compartment
Id string - (Updatable) Copartment Id of the topic where the notifications will be directed
- topic
Id string - (Updatable) Topic Id where the notifications will be directed
- preferences
Fleet
Notification Preferences Preferences - (Updatable) Preferences to send notifications on the fleet activities
- compartment_
id str - (Updatable) Copartment Id of the topic where the notifications will be directed
- topic_
id str - (Updatable) Topic Id where the notifications will be directed
- preferences
fleetappsmanagement.
Fleet Notification Preferences Preferences - (Updatable) Preferences to send notifications on the fleet activities
- compartment
Id String - (Updatable) Copartment Id of the topic where the notifications will be directed
- topic
Id String - (Updatable) Topic Id where the notifications will be directed
- preferences Property Map
- (Updatable) Preferences to send notifications on the fleet activities
FleetNotificationPreferencesPreferences, FleetNotificationPreferencesPreferencesArgs
- On
Job boolFailure - (Updatable) Enables or disables notification on Job Failures.'
- On
Topology boolModification - (Updatable) Enables or disables notification on Environment Fleet Topology Modification.
- On
Upcoming boolSchedule - (Updatable) Enables notification on upcoming schedule.
- On
Job boolFailure - (Updatable) Enables or disables notification on Job Failures.'
- On
Topology boolModification - (Updatable) Enables or disables notification on Environment Fleet Topology Modification.
- On
Upcoming boolSchedule - (Updatable) Enables notification on upcoming schedule.
- on
Job BooleanFailure - (Updatable) Enables or disables notification on Job Failures.'
- on
Topology BooleanModification - (Updatable) Enables or disables notification on Environment Fleet Topology Modification.
- on
Upcoming BooleanSchedule - (Updatable) Enables notification on upcoming schedule.
- on
Job booleanFailure - (Updatable) Enables or disables notification on Job Failures.'
- on
Topology booleanModification - (Updatable) Enables or disables notification on Environment Fleet Topology Modification.
- on
Upcoming booleanSchedule - (Updatable) Enables notification on upcoming schedule.
- on_
job_ boolfailure - (Updatable) Enables or disables notification on Job Failures.'
- on_
topology_ boolmodification - (Updatable) Enables or disables notification on Environment Fleet Topology Modification.
- on_
upcoming_ boolschedule - (Updatable) Enables notification on upcoming schedule.
- on
Job BooleanFailure - (Updatable) Enables or disables notification on Job Failures.'
- on
Topology BooleanModification - (Updatable) Enables or disables notification on Environment Fleet Topology Modification.
- on
Upcoming BooleanSchedule - (Updatable) Enables notification on upcoming schedule.
FleetRuleSelectionCriteria, FleetRuleSelectionCriteriaArgs
- Match
Condition string - (Updatable) Rule selection match condition.
- Rules
List<Fleet
Rule Selection Criteria Rule> - (Updatable) Rules.
- Match
Condition string - (Updatable) Rule selection match condition.
- Rules
[]Fleet
Rule Selection Criteria Rule - (Updatable) Rules.
- match
Condition String - (Updatable) Rule selection match condition.
- rules
List<Fleet
Rule Selection Criteria Rule> - (Updatable) Rules.
- match
Condition string - (Updatable) Rule selection match condition.
- rules
Fleet
Rule Selection Criteria Rule[] - (Updatable) Rules.
- match_
condition str - (Updatable) Rule selection match condition.
- rules
Sequence[fleetappsmanagement.
Fleet Rule Selection Criteria Rule] - (Updatable) Rules.
- match
Condition String - (Updatable) Rule selection match condition.
- rules List<Property Map>
- (Updatable) Rules.
FleetRuleSelectionCriteriaRule, FleetRuleSelectionCriteriaRuleArgs
- Compartment
Id string - (Updatable) Please provide the root compartmentId (TenancyId).
- Conditions
List<Fleet
Rule Selection Criteria Rule Condition> - (Updatable) Rule Conditions
- Resource
Compartment stringId (Updatable) Resource Compartment Id.Provide the compartmentId 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
- Basis string
- (Updatable) Rule to be be applied on.
- Compartment
Id string - (Updatable) Please provide the root compartmentId (TenancyId).
- Conditions
[]Fleet
Rule Selection Criteria Rule Condition - (Updatable) Rule Conditions
- Resource
Compartment stringId (Updatable) Resource Compartment Id.Provide the compartmentId 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
- Basis string
- (Updatable) Rule to be be applied on.
- compartment
Id String - (Updatable) Please provide the root compartmentId (TenancyId).
- conditions
List<Fleet
Rule Selection Criteria Rule Condition> - (Updatable) Rule Conditions
- resource
Compartment StringId (Updatable) Resource Compartment Id.Provide the compartmentId 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
- basis String
- (Updatable) Rule to be be applied on.
- compartment
Id string - (Updatable) Please provide the root compartmentId (TenancyId).
- conditions
Fleet
Rule Selection Criteria Rule Condition[] - (Updatable) Rule Conditions
- resource
Compartment stringId (Updatable) Resource Compartment Id.Provide the compartmentId 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
- basis string
- (Updatable) Rule to be be applied on.
- compartment_
id str - (Updatable) Please provide the root compartmentId (TenancyId).
- conditions
Sequence[fleetappsmanagement.
Fleet Rule Selection Criteria Rule Condition] - (Updatable) Rule Conditions
- resource_
compartment_ strid (Updatable) Resource Compartment Id.Provide the compartmentId 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
- basis str
- (Updatable) Rule to be be applied on.
- compartment
Id String - (Updatable) Please provide the root compartmentId (TenancyId).
- conditions List<Property Map>
- (Updatable) Rule Conditions
- resource
Compartment StringId (Updatable) Resource Compartment Id.Provide the compartmentId 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
- basis String
- (Updatable) Rule to be be applied on.
FleetRuleSelectionCriteriaRuleCondition, FleetRuleSelectionCriteriaRuleConditionArgs
- attr_
group str - (Updatable) Attribute Group.
- attr_
key str - (Updatable) Attribute Key.
- attr_
value str - (Updatable) Attribute Value.
Import
Fleets can be imported using the id
, e.g.
$ pulumi import oci:FleetAppsManagement/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.