published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
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,
name: Optional[str] = None,
policy_id: Optional[str] = None,
policy_name: Optional[str] = None,
provider_name: Optional[str] = None,
region: Optional[str] = None,
rollout_pct: Optional[int] = None,
rollout_strategy: Optional[str] = None,
status: Optional[str] = None)func NewFleet(ctx *Context, name string, args FleetArgs, opts ...ResourceOption) (*Fleet, error)public Fleet(string name, FleetArgs args, CustomResourceOptions? opts = null)type: thoth:fleet:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_fleet_fleet" "name" {
# resource properties
}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 Thoth.Fleet.Fleet("fleetResource", new()
{
Name = "string",
PolicyId = "string",
PolicyName = "string",
ProviderName = "string",
Region = "string",
RolloutPct = 0,
RolloutStrategy = "string",
Status = "string",
});
example, err := fleet.NewFleet(ctx, "fleetResource", &fleet.FleetArgs{
Name: pulumi.String("string"),
PolicyId: pulumi.String("string"),
PolicyName: pulumi.String("string"),
ProviderName: pulumi.String("string"),
Region: pulumi.String("string"),
RolloutPct: pulumi.Int(0),
RolloutStrategy: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "thoth_fleet_fleet" "fleetResource" {
lifecycle {
create_before_destroy = true
}
name = "string"
policy_id = "string"
policy_name = "string"
provider_name = "string"
region = "string"
rollout_pct = 0
rollout_strategy = "string"
status = "string"
}
var fleetResource = new Fleet("fleetResource", FleetArgs.builder()
.name("string")
.policyId("string")
.policyName("string")
.providerName("string")
.region("string")
.rolloutPct(0)
.rolloutStrategy("string")
.status("string")
.build());
fleet_resource = thoth.fleet.Fleet("fleetResource",
name="string",
policy_id="string",
policy_name="string",
provider_name="string",
region="string",
rollout_pct=0,
rollout_strategy="string",
status="string")
const fleetResource = new thoth.fleet.Fleet("fleetResource", {
name: "string",
policyId: "string",
policyName: "string",
providerName: "string",
region: "string",
rolloutPct: 0,
rolloutStrategy: "string",
status: "string",
});
type: thoth:fleet:Fleet
properties:
name: string
policyId: string
policyName: string
providerName: string
region: string
rolloutPct: 0
rolloutStrategy: string
status: 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:
- Name string
- Fleet display name.
- Policy
Id string - Attached policy ID.
- Policy
Name string - Attached policy name.
- Provider
Name string - Provider hint (jamf, intune, workspace_one, custom, none).
- Region string
- Fleet region.
- Rollout
Pct int - Current rollout percentage.
- Rollout
Strategy string - Rollout strategy (canary or staged).
- Status string
- Fleet status (active, paused, deploying, error).
- Name string
- Fleet display name.
- Policy
Id string - Attached policy ID.
- Policy
Name string - Attached policy name.
- Provider
Name string - Provider hint (jamf, intune, workspace_one, custom, none).
- Region string
- Fleet region.
- Rollout
Pct int - Current rollout percentage.
- Rollout
Strategy string - Rollout strategy (canary or staged).
- Status string
- Fleet status (active, paused, deploying, error).
- name string
- Fleet display name.
- policy_
id string - Attached policy ID.
- policy_
name string - Attached policy name.
- provider_
name string - Provider hint (jamf, intune, workspace_one, custom, none).
- region string
- Fleet region.
- rollout_
pct number - Current rollout percentage.
- rollout_
strategy string - Rollout strategy (canary or staged).
- status string
- Fleet status (active, paused, deploying, error).
- name String
- Fleet display name.
- policy
Id String - Attached policy ID.
- policy
Name String - Attached policy name.
- provider
Name String - Provider hint (jamf, intune, workspace_one, custom, none).
- region String
- Fleet region.
- rollout
Pct Integer - Current rollout percentage.
- rollout
Strategy String - Rollout strategy (canary or staged).
- status String
- Fleet status (active, paused, deploying, error).
- name string
- Fleet display name.
- policy
Id string - Attached policy ID.
- policy
Name string - Attached policy name.
- provider
Name string - Provider hint (jamf, intune, workspace_one, custom, none).
- region string
- Fleet region.
- rollout
Pct number - Current rollout percentage.
- rollout
Strategy string - Rollout strategy (canary or staged).
- status string
- Fleet status (active, paused, deploying, error).
- name str
- Fleet display name.
- policy_
id str - Attached policy ID.
- policy_
name str - Attached policy name.
- provider_
name str - Provider hint (jamf, intune, workspace_one, custom, none).
- region str
- Fleet region.
- rollout_
pct int - Current rollout percentage.
- rollout_
strategy str - Rollout strategy (canary or staged).
- status str
- Fleet status (active, paused, deploying, error).
- name String
- Fleet display name.
- policy
Id String - Attached policy ID.
- policy
Name String - Attached policy name.
- provider
Name String - Provider hint (jamf, intune, workspace_one, custom, none).
- region String
- Fleet region.
- rollout
Pct Number - Current rollout percentage.
- rollout
Strategy String - Rollout strategy (canary or staged).
- status String
- Fleet status (active, paused, deploying, error).
Outputs
All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:
- Compliance
Pct double - Compliance percentage.
- Created
At string - Creation timestamp.
- Drift
Pct double - Percent drift detected.
- Drifted
Endpoint intCount - Drifted endpoint count.
- Endpoint
Count int - Endpoint count in this fleet.
- Fleet
Code string - Fleet code.
- Fleet
Id string - Fleet identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Deployed stringAt - Last deployment timestamp.
- Last
Deployed stringVersion - Last deployed version.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Last update timestamp.
- Compliance
Pct float64 - Compliance percentage.
- Created
At string - Creation timestamp.
- Drift
Pct float64 - Percent drift detected.
- Drifted
Endpoint intCount - Drifted endpoint count.
- Endpoint
Count int - Endpoint count in this fleet.
- Fleet
Code string - Fleet code.
- Fleet
Id string - Fleet identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Deployed stringAt - Last deployment timestamp.
- Last
Deployed stringVersion - Last deployed version.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Last update timestamp.
- compliance_
pct number - Compliance percentage.
- created_
at string - Creation timestamp.
- drift_
pct number - Percent drift detected.
- drifted_
endpoint_ numbercount - Drifted endpoint count.
- endpoint_
count number - Endpoint count in this fleet.
- fleet_
code string - Fleet code.
- fleet_
id string - Fleet identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
deployed_ stringat - Last deployment timestamp.
- last_
deployed_ stringversion - Last deployed version.
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Last update timestamp.
- compliance
Pct Double - Compliance percentage.
- created
At String - Creation timestamp.
- drift
Pct Double - Percent drift detected.
- drifted
Endpoint IntegerCount - Drifted endpoint count.
- endpoint
Count Integer - Endpoint count in this fleet.
- fleet
Code String - Fleet code.
- fleet
Id String - Fleet identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Deployed StringAt - Last deployment timestamp.
- last
Deployed StringVersion - Last deployed version.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Last update timestamp.
- compliance
Pct number - Compliance percentage.
- created
At string - Creation timestamp.
- drift
Pct number - Percent drift detected.
- drifted
Endpoint numberCount - Drifted endpoint count.
- endpoint
Count number - Endpoint count in this fleet.
- fleet
Code string - Fleet code.
- fleet
Id string - Fleet identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Deployed stringAt - Last deployment timestamp.
- last
Deployed stringVersion - Last deployed version.
- tenant
Id string - Tenant ID from provider configuration.
- updated
At string - Last update timestamp.
- compliance_
pct float - Compliance percentage.
- created_
at str - Creation timestamp.
- drift_
pct float - Percent drift detected.
- drifted_
endpoint_ intcount - Drifted endpoint count.
- endpoint_
count int - Endpoint count in this fleet.
- fleet_
code str - Fleet code.
- fleet_
id str - Fleet identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
deployed_ strat - Last deployment timestamp.
- last_
deployed_ strversion - Last deployed version.
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Last update timestamp.
- compliance
Pct Number - Compliance percentage.
- created
At String - Creation timestamp.
- drift
Pct Number - Percent drift detected.
- drifted
Endpoint NumberCount - Drifted endpoint count.
- endpoint
Count Number - Endpoint count in this fleet.
- fleet
Code String - Fleet code.
- fleet
Id String - Fleet identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Deployed StringAt - Last deployment timestamp.
- last
Deployed StringVersion - Last deployed version.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Last update timestamp.
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,
compliance_pct: Optional[float] = None,
created_at: Optional[str] = None,
drift_pct: Optional[float] = None,
drifted_endpoint_count: Optional[int] = None,
endpoint_count: Optional[int] = None,
fleet_code: Optional[str] = None,
fleet_id: Optional[str] = None,
last_deployed_at: Optional[str] = None,
last_deployed_version: Optional[str] = None,
name: Optional[str] = None,
policy_id: Optional[str] = None,
policy_name: Optional[str] = None,
provider_name: Optional[str] = None,
region: Optional[str] = None,
rollout_pct: Optional[int] = None,
rollout_strategy: Optional[str] = None,
status: Optional[str] = None,
tenant_id: Optional[str] = None,
updated_at: Optional[str] = None) -> Fleetfunc 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)resources: _: type: thoth:fleet:Fleet get: id: ${id}import {
to = thoth_fleet_fleet.example
id = "${id}"
}
- 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.
- Compliance
Pct double - Compliance percentage.
- Created
At string - Creation timestamp.
- Drift
Pct double - Percent drift detected.
- Drifted
Endpoint intCount - Drifted endpoint count.
- Endpoint
Count int - Endpoint count in this fleet.
- Fleet
Code string - Fleet code.
- Fleet
Id string - Fleet identifier.
- Last
Deployed stringAt - Last deployment timestamp.
- Last
Deployed stringVersion - Last deployed version.
- Name string
- Fleet display name.
- Policy
Id string - Attached policy ID.
- Policy
Name string - Attached policy name.
- Provider
Name string - Provider hint (jamf, intune, workspace_one, custom, none).
- Region string
- Fleet region.
- Rollout
Pct int - Current rollout percentage.
- Rollout
Strategy string - Rollout strategy (canary or staged).
- Status string
- Fleet status (active, paused, deploying, error).
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Last update timestamp.
- Compliance
Pct float64 - Compliance percentage.
- Created
At string - Creation timestamp.
- Drift
Pct float64 - Percent drift detected.
- Drifted
Endpoint intCount - Drifted endpoint count.
- Endpoint
Count int - Endpoint count in this fleet.
- Fleet
Code string - Fleet code.
- Fleet
Id string - Fleet identifier.
- Last
Deployed stringAt - Last deployment timestamp.
- Last
Deployed stringVersion - Last deployed version.
- Name string
- Fleet display name.
- Policy
Id string - Attached policy ID.
- Policy
Name string - Attached policy name.
- Provider
Name string - Provider hint (jamf, intune, workspace_one, custom, none).
- Region string
- Fleet region.
- Rollout
Pct int - Current rollout percentage.
- Rollout
Strategy string - Rollout strategy (canary or staged).
- Status string
- Fleet status (active, paused, deploying, error).
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Last update timestamp.
- compliance_
pct number - Compliance percentage.
- created_
at string - Creation timestamp.
- drift_
pct number - Percent drift detected.
- drifted_
endpoint_ numbercount - Drifted endpoint count.
- endpoint_
count number - Endpoint count in this fleet.
- fleet_
code string - Fleet code.
- fleet_
id string - Fleet identifier.
- last_
deployed_ stringat - Last deployment timestamp.
- last_
deployed_ stringversion - Last deployed version.
- name string
- Fleet display name.
- policy_
id string - Attached policy ID.
- policy_
name string - Attached policy name.
- provider_
name string - Provider hint (jamf, intune, workspace_one, custom, none).
- region string
- Fleet region.
- rollout_
pct number - Current rollout percentage.
- rollout_
strategy string - Rollout strategy (canary or staged).
- status string
- Fleet status (active, paused, deploying, error).
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Last update timestamp.
- compliance
Pct Double - Compliance percentage.
- created
At String - Creation timestamp.
- drift
Pct Double - Percent drift detected.
- drifted
Endpoint IntegerCount - Drifted endpoint count.
- endpoint
Count Integer - Endpoint count in this fleet.
- fleet
Code String - Fleet code.
- fleet
Id String - Fleet identifier.
- last
Deployed StringAt - Last deployment timestamp.
- last
Deployed StringVersion - Last deployed version.
- name String
- Fleet display name.
- policy
Id String - Attached policy ID.
- policy
Name String - Attached policy name.
- provider
Name String - Provider hint (jamf, intune, workspace_one, custom, none).
- region String
- Fleet region.
- rollout
Pct Integer - Current rollout percentage.
- rollout
Strategy String - Rollout strategy (canary or staged).
- status String
- Fleet status (active, paused, deploying, error).
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Last update timestamp.
- compliance
Pct number - Compliance percentage.
- created
At string - Creation timestamp.
- drift
Pct number - Percent drift detected.
- drifted
Endpoint numberCount - Drifted endpoint count.
- endpoint
Count number - Endpoint count in this fleet.
- fleet
Code string - Fleet code.
- fleet
Id string - Fleet identifier.
- last
Deployed stringAt - Last deployment timestamp.
- last
Deployed stringVersion - Last deployed version.
- name string
- Fleet display name.
- policy
Id string - Attached policy ID.
- policy
Name string - Attached policy name.
- provider
Name string - Provider hint (jamf, intune, workspace_one, custom, none).
- region string
- Fleet region.
- rollout
Pct number - Current rollout percentage.
- rollout
Strategy string - Rollout strategy (canary or staged).
- status string
- Fleet status (active, paused, deploying, error).
- tenant
Id string - Tenant ID from provider configuration.
- updated
At string - Last update timestamp.
- compliance_
pct float - Compliance percentage.
- created_
at str - Creation timestamp.
- drift_
pct float - Percent drift detected.
- drifted_
endpoint_ intcount - Drifted endpoint count.
- endpoint_
count int - Endpoint count in this fleet.
- fleet_
code str - Fleet code.
- fleet_
id str - Fleet identifier.
- last_
deployed_ strat - Last deployment timestamp.
- last_
deployed_ strversion - Last deployed version.
- name str
- Fleet display name.
- policy_
id str - Attached policy ID.
- policy_
name str - Attached policy name.
- provider_
name str - Provider hint (jamf, intune, workspace_one, custom, none).
- region str
- Fleet region.
- rollout_
pct int - Current rollout percentage.
- rollout_
strategy str - Rollout strategy (canary or staged).
- status str
- Fleet status (active, paused, deploying, error).
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Last update timestamp.
- compliance
Pct Number - Compliance percentage.
- created
At String - Creation timestamp.
- drift
Pct Number - Percent drift detected.
- drifted
Endpoint NumberCount - Drifted endpoint count.
- endpoint
Count Number - Endpoint count in this fleet.
- fleet
Code String - Fleet code.
- fleet
Id String - Fleet identifier.
- last
Deployed StringAt - Last deployment timestamp.
- last
Deployed StringVersion - Last deployed version.
- name String
- Fleet display name.
- policy
Id String - Attached policy ID.
- policy
Name String - Attached policy name.
- provider
Name String - Provider hint (jamf, intune, workspace_one, custom, none).
- region String
- Fleet region.
- rollout
Pct Number - Current rollout percentage.
- rollout
Strategy String - Rollout strategy (canary or staged).
- status String
- Fleet status (active, paused, deploying, error).
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Last update timestamp.
Package Details
- Repository
- thoth atensecurity/pulumi-thoth
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
thothTerraform Provider.
published on Thursday, Jul 23, 2026 by Aten Security