1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. fleet
  6. Fleet
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
thoth logo
Viewing docs for Thoth v0.1.15
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)
    public Fleet(String name, FleetArgs args)
    public Fleet(String name, FleetArgs args, CustomResourceOptions options)
    
    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.
    PolicyId string
    Attached policy ID.
    PolicyName string
    Attached policy name.
    ProviderName string
    Provider hint (jamf, intune, workspace_one, custom, none).
    Region string
    Fleet region.
    RolloutPct int
    Current rollout percentage.
    RolloutStrategy string
    Rollout strategy (canary or staged).
    Status string
    Fleet status (active, paused, deploying, error).
    Name string
    Fleet display name.
    PolicyId string
    Attached policy ID.
    PolicyName string
    Attached policy name.
    ProviderName string
    Provider hint (jamf, intune, workspace_one, custom, none).
    Region string
    Fleet region.
    RolloutPct int
    Current rollout percentage.
    RolloutStrategy 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.
    policyId String
    Attached policy ID.
    policyName String
    Attached policy name.
    providerName String
    Provider hint (jamf, intune, workspace_one, custom, none).
    region String
    Fleet region.
    rolloutPct Integer
    Current rollout percentage.
    rolloutStrategy String
    Rollout strategy (canary or staged).
    status String
    Fleet status (active, paused, deploying, error).
    name string
    Fleet display name.
    policyId string
    Attached policy ID.
    policyName string
    Attached policy name.
    providerName string
    Provider hint (jamf, intune, workspace_one, custom, none).
    region string
    Fleet region.
    rolloutPct number
    Current rollout percentage.
    rolloutStrategy 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.
    policyId String
    Attached policy ID.
    policyName String
    Attached policy name.
    providerName String
    Provider hint (jamf, intune, workspace_one, custom, none).
    region String
    Fleet region.
    rolloutPct Number
    Current rollout percentage.
    rolloutStrategy 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:

    CompliancePct double
    Compliance percentage.
    CreatedAt string
    Creation timestamp.
    DriftPct double
    Percent drift detected.
    DriftedEndpointCount int
    Drifted endpoint count.
    EndpointCount int
    Endpoint count in this fleet.
    FleetCode string
    Fleet code.
    FleetId string
    Fleet identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastDeployedAt string
    Last deployment timestamp.
    LastDeployedVersion string
    Last deployed version.
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Last update timestamp.
    CompliancePct float64
    Compliance percentage.
    CreatedAt string
    Creation timestamp.
    DriftPct float64
    Percent drift detected.
    DriftedEndpointCount int
    Drifted endpoint count.
    EndpointCount int
    Endpoint count in this fleet.
    FleetCode string
    Fleet code.
    FleetId string
    Fleet identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastDeployedAt string
    Last deployment timestamp.
    LastDeployedVersion string
    Last deployed version.
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Last update timestamp.
    compliance_pct number
    Compliance percentage.
    created_at string
    Creation timestamp.
    drift_pct number
    Percent drift detected.
    drifted_endpoint_count number
    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_at string
    Last deployment timestamp.
    last_deployed_version string
    Last deployed version.
    tenant_id string
    Tenant ID from provider configuration.
    updated_at string
    Last update timestamp.
    compliancePct Double
    Compliance percentage.
    createdAt String
    Creation timestamp.
    driftPct Double
    Percent drift detected.
    driftedEndpointCount Integer
    Drifted endpoint count.
    endpointCount Integer
    Endpoint count in this fleet.
    fleetCode String
    Fleet code.
    fleetId String
    Fleet identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    lastDeployedAt String
    Last deployment timestamp.
    lastDeployedVersion String
    Last deployed version.
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    Last update timestamp.
    compliancePct number
    Compliance percentage.
    createdAt string
    Creation timestamp.
    driftPct number
    Percent drift detected.
    driftedEndpointCount number
    Drifted endpoint count.
    endpointCount number
    Endpoint count in this fleet.
    fleetCode string
    Fleet code.
    fleetId string
    Fleet identifier.
    id string
    The provider-assigned unique ID for this managed resource.
    lastDeployedAt string
    Last deployment timestamp.
    lastDeployedVersion string
    Last deployed version.
    tenantId string
    Tenant ID from provider configuration.
    updatedAt string
    Last update timestamp.
    compliance_pct float
    Compliance percentage.
    created_at str
    Creation timestamp.
    drift_pct float
    Percent drift detected.
    drifted_endpoint_count int
    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_at str
    Last deployment timestamp.
    last_deployed_version str
    Last deployed version.
    tenant_id str
    Tenant ID from provider configuration.
    updated_at str
    Last update timestamp.
    compliancePct Number
    Compliance percentage.
    createdAt String
    Creation timestamp.
    driftPct Number
    Percent drift detected.
    driftedEndpointCount Number
    Drifted endpoint count.
    endpointCount Number
    Endpoint count in this fleet.
    fleetCode String
    Fleet code.
    fleetId String
    Fleet identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    lastDeployedAt String
    Last deployment timestamp.
    lastDeployedVersion String
    Last deployed version.
    tenantId String
    Tenant ID from provider configuration.
    updatedAt 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) -> 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)
    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.
    The following state arguments are supported:
    CompliancePct double
    Compliance percentage.
    CreatedAt string
    Creation timestamp.
    DriftPct double
    Percent drift detected.
    DriftedEndpointCount int
    Drifted endpoint count.
    EndpointCount int
    Endpoint count in this fleet.
    FleetCode string
    Fleet code.
    FleetId string
    Fleet identifier.
    LastDeployedAt string
    Last deployment timestamp.
    LastDeployedVersion string
    Last deployed version.
    Name string
    Fleet display name.
    PolicyId string
    Attached policy ID.
    PolicyName string
    Attached policy name.
    ProviderName string
    Provider hint (jamf, intune, workspace_one, custom, none).
    Region string
    Fleet region.
    RolloutPct int
    Current rollout percentage.
    RolloutStrategy string
    Rollout strategy (canary or staged).
    Status string
    Fleet status (active, paused, deploying, error).
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Last update timestamp.
    CompliancePct float64
    Compliance percentage.
    CreatedAt string
    Creation timestamp.
    DriftPct float64
    Percent drift detected.
    DriftedEndpointCount int
    Drifted endpoint count.
    EndpointCount int
    Endpoint count in this fleet.
    FleetCode string
    Fleet code.
    FleetId string
    Fleet identifier.
    LastDeployedAt string
    Last deployment timestamp.
    LastDeployedVersion string
    Last deployed version.
    Name string
    Fleet display name.
    PolicyId string
    Attached policy ID.
    PolicyName string
    Attached policy name.
    ProviderName string
    Provider hint (jamf, intune, workspace_one, custom, none).
    Region string
    Fleet region.
    RolloutPct int
    Current rollout percentage.
    RolloutStrategy string
    Rollout strategy (canary or staged).
    Status string
    Fleet status (active, paused, deploying, error).
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Last update timestamp.
    compliance_pct number
    Compliance percentage.
    created_at string
    Creation timestamp.
    drift_pct number
    Percent drift detected.
    drifted_endpoint_count number
    Drifted endpoint count.
    endpoint_count number
    Endpoint count in this fleet.
    fleet_code string
    Fleet code.
    fleet_id string
    Fleet identifier.
    last_deployed_at string
    Last deployment timestamp.
    last_deployed_version string
    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.
    compliancePct Double
    Compliance percentage.
    createdAt String
    Creation timestamp.
    driftPct Double
    Percent drift detected.
    driftedEndpointCount Integer
    Drifted endpoint count.
    endpointCount Integer
    Endpoint count in this fleet.
    fleetCode String
    Fleet code.
    fleetId String
    Fleet identifier.
    lastDeployedAt String
    Last deployment timestamp.
    lastDeployedVersion String
    Last deployed version.
    name String
    Fleet display name.
    policyId String
    Attached policy ID.
    policyName String
    Attached policy name.
    providerName String
    Provider hint (jamf, intune, workspace_one, custom, none).
    region String
    Fleet region.
    rolloutPct Integer
    Current rollout percentage.
    rolloutStrategy String
    Rollout strategy (canary or staged).
    status String
    Fleet status (active, paused, deploying, error).
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    Last update timestamp.
    compliancePct number
    Compliance percentage.
    createdAt string
    Creation timestamp.
    driftPct number
    Percent drift detected.
    driftedEndpointCount number
    Drifted endpoint count.
    endpointCount number
    Endpoint count in this fleet.
    fleetCode string
    Fleet code.
    fleetId string
    Fleet identifier.
    lastDeployedAt string
    Last deployment timestamp.
    lastDeployedVersion string
    Last deployed version.
    name string
    Fleet display name.
    policyId string
    Attached policy ID.
    policyName string
    Attached policy name.
    providerName string
    Provider hint (jamf, intune, workspace_one, custom, none).
    region string
    Fleet region.
    rolloutPct number
    Current rollout percentage.
    rolloutStrategy string
    Rollout strategy (canary or staged).
    status string
    Fleet status (active, paused, deploying, error).
    tenantId string
    Tenant ID from provider configuration.
    updatedAt string
    Last update timestamp.
    compliance_pct float
    Compliance percentage.
    created_at str
    Creation timestamp.
    drift_pct float
    Percent drift detected.
    drifted_endpoint_count int
    Drifted endpoint count.
    endpoint_count int
    Endpoint count in this fleet.
    fleet_code str
    Fleet code.
    fleet_id str
    Fleet identifier.
    last_deployed_at str
    Last deployment timestamp.
    last_deployed_version str
    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.
    compliancePct Number
    Compliance percentage.
    createdAt String
    Creation timestamp.
    driftPct Number
    Percent drift detected.
    driftedEndpointCount Number
    Drifted endpoint count.
    endpointCount Number
    Endpoint count in this fleet.
    fleetCode String
    Fleet code.
    fleetId String
    Fleet identifier.
    lastDeployedAt String
    Last deployment timestamp.
    lastDeployedVersion String
    Last deployed version.
    name String
    Fleet display name.
    policyId String
    Attached policy ID.
    policyName String
    Attached policy name.
    providerName String
    Provider hint (jamf, intune, workspace_one, custom, none).
    region String
    Fleet region.
    rolloutPct Number
    Current rollout percentage.
    rolloutStrategy String
    Rollout strategy (canary or staged).
    status String
    Fleet status (active, paused, deploying, error).
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    Last update timestamp.

    Package Details

    Repository
    thoth atensecurity/pulumi-thoth
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the thoth Terraform Provider.
    thoth logo
    Viewing docs for Thoth v0.1.15
    published on Thursday, Jul 23, 2026 by Aten Security

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial