published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create Enrollment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Enrollment(name: string, args: EnrollmentArgs, opts?: CustomResourceOptions);@overload
def Enrollment(resource_name: str,
args: EnrollmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Enrollment(resource_name: str,
opts: Optional[ResourceOptions] = None,
device_id: Optional[str] = None,
provider_name: Optional[str] = None,
user_id: Optional[str] = None,
browser_profile: Optional[str] = None,
enrollment_id: Optional[str] = None,
last_seen_at: Optional[str] = None,
metadata_json: Optional[str] = None,
status: Optional[str] = None)func NewEnrollment(ctx *Context, name string, args EnrollmentArgs, opts ...ResourceOption) (*Enrollment, error)public Enrollment(string name, EnrollmentArgs args, CustomResourceOptions? opts = null)
public Enrollment(String name, EnrollmentArgs args)
public Enrollment(String name, EnrollmentArgs args, CustomResourceOptions options)
type: thoth:browser:Enrollment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_browser_enrollment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EnrollmentArgs
- 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 EnrollmentArgs
- 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 EnrollmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnrollmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnrollmentArgs
- 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 enrollmentResource = new Thoth.Browser.Enrollment("enrollmentResource", new()
{
DeviceId = "string",
ProviderName = "string",
UserId = "string",
BrowserProfile = "string",
EnrollmentId = "string",
LastSeenAt = "string",
MetadataJson = "string",
Status = "string",
});
example, err := browser.NewEnrollment(ctx, "enrollmentResource", &browser.EnrollmentArgs{
DeviceId: pulumi.String("string"),
ProviderName: pulumi.String("string"),
UserId: pulumi.String("string"),
BrowserProfile: pulumi.String("string"),
EnrollmentId: pulumi.String("string"),
LastSeenAt: pulumi.String("string"),
MetadataJson: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "thoth_browser_enrollment" "enrollmentResource" {
lifecycle {
create_before_destroy = true
}
device_id = "string"
provider_name = "string"
user_id = "string"
browser_profile = "string"
enrollment_id = "string"
last_seen_at = "string"
metadata_json = "string"
status = "string"
}
var enrollmentResource = new Enrollment("enrollmentResource", EnrollmentArgs.builder()
.deviceId("string")
.providerName("string")
.userId("string")
.browserProfile("string")
.enrollmentId("string")
.lastSeenAt("string")
.metadataJson("string")
.status("string")
.build());
enrollment_resource = thoth.browser.Enrollment("enrollmentResource",
device_id="string",
provider_name="string",
user_id="string",
browser_profile="string",
enrollment_id="string",
last_seen_at="string",
metadata_json="string",
status="string")
const enrollmentResource = new thoth.browser.Enrollment("enrollmentResource", {
deviceId: "string",
providerName: "string",
userId: "string",
browserProfile: "string",
enrollmentId: "string",
lastSeenAt: "string",
metadataJson: "string",
status: "string",
});
type: thoth:browser:Enrollment
properties:
browserProfile: string
deviceId: string
enrollmentId: string
lastSeenAt: string
metadataJson: string
providerName: string
status: string
userId: string
Enrollment 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 Enrollment resource accepts the following input properties:
- Device
Id string - Device identifier for enrollment.
- Provider
Name string - Browser provider slug.
- User
Id string - User identifier for enrollment.
- Browser
Profile string - Browser profile identifier.
- Enrollment
Id string - Enrollment ID; generated by GovAPI if omitted.
- Last
Seen stringAt - Last-seen timestamp (RFC3339).
- Metadata
Json string - Metadata JSON object.
- Status string
- Enrollment status (active, pending, disabled).
- Device
Id string - Device identifier for enrollment.
- Provider
Name string - Browser provider slug.
- User
Id string - User identifier for enrollment.
- Browser
Profile string - Browser profile identifier.
- Enrollment
Id string - Enrollment ID; generated by GovAPI if omitted.
- Last
Seen stringAt - Last-seen timestamp (RFC3339).
- Metadata
Json string - Metadata JSON object.
- Status string
- Enrollment status (active, pending, disabled).
- device_
id string - Device identifier for enrollment.
- provider_
name string - Browser provider slug.
- user_
id string - User identifier for enrollment.
- browser_
profile string - Browser profile identifier.
- enrollment_
id string - Enrollment ID; generated by GovAPI if omitted.
- last_
seen_ stringat - Last-seen timestamp (RFC3339).
- metadata_
json string - Metadata JSON object.
- status string
- Enrollment status (active, pending, disabled).
- device
Id String - Device identifier for enrollment.
- provider
Name String - Browser provider slug.
- user
Id String - User identifier for enrollment.
- browser
Profile String - Browser profile identifier.
- enrollment
Id String - Enrollment ID; generated by GovAPI if omitted.
- last
Seen StringAt - Last-seen timestamp (RFC3339).
- metadata
Json String - Metadata JSON object.
- status String
- Enrollment status (active, pending, disabled).
- device
Id string - Device identifier for enrollment.
- provider
Name string - Browser provider slug.
- user
Id string - User identifier for enrollment.
- browser
Profile string - Browser profile identifier.
- enrollment
Id string - Enrollment ID; generated by GovAPI if omitted.
- last
Seen stringAt - Last-seen timestamp (RFC3339).
- metadata
Json string - Metadata JSON object.
- status string
- Enrollment status (active, pending, disabled).
- device_
id str - Device identifier for enrollment.
- provider_
name str - Browser provider slug.
- user_
id str - User identifier for enrollment.
- browser_
profile str - Browser profile identifier.
- enrollment_
id str - Enrollment ID; generated by GovAPI if omitted.
- last_
seen_ strat - Last-seen timestamp (RFC3339).
- metadata_
json str - Metadata JSON object.
- status str
- Enrollment status (active, pending, disabled).
- device
Id String - Device identifier for enrollment.
- provider
Name String - Browser provider slug.
- user
Id String - User identifier for enrollment.
- browser
Profile String - Browser profile identifier.
- enrollment
Id String - Enrollment ID; generated by GovAPI if omitted.
- last
Seen StringAt - Last-seen timestamp (RFC3339).
- metadata
Json String - Metadata JSON object.
- status String
- Enrollment status (active, pending, disabled).
Outputs
All input properties are implicitly available as output properties. Additionally, the Enrollment resource produces the following output properties:
- created_
at string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Update timestamp.
- created_
at str - Creation timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Update timestamp.
Look up Existing Enrollment Resource
Get an existing Enrollment 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?: EnrollmentState, opts?: CustomResourceOptions): Enrollment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
browser_profile: Optional[str] = None,
created_at: Optional[str] = None,
device_id: Optional[str] = None,
enrollment_id: Optional[str] = None,
last_seen_at: Optional[str] = None,
metadata_json: Optional[str] = None,
provider_name: Optional[str] = None,
status: Optional[str] = None,
tenant_id: Optional[str] = None,
updated_at: Optional[str] = None,
user_id: Optional[str] = None) -> Enrollmentfunc GetEnrollment(ctx *Context, name string, id IDInput, state *EnrollmentState, opts ...ResourceOption) (*Enrollment, error)public static Enrollment Get(string name, Input<string> id, EnrollmentState? state, CustomResourceOptions? opts = null)public static Enrollment get(String name, Output<String> id, EnrollmentState state, CustomResourceOptions options)resources: _: type: thoth:browser:Enrollment get: id: ${id}import {
to = thoth_browser_enrollment.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.
- Browser
Profile string - Browser profile identifier.
- Created
At string - Creation timestamp.
- Device
Id string - Device identifier for enrollment.
- Enrollment
Id string - Enrollment ID; generated by GovAPI if omitted.
- Last
Seen stringAt - Last-seen timestamp (RFC3339).
- Metadata
Json string - Metadata JSON object.
- Provider
Name string - Browser provider slug.
- Status string
- Enrollment status (active, pending, disabled).
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Update timestamp.
- User
Id string - User identifier for enrollment.
- Browser
Profile string - Browser profile identifier.
- Created
At string - Creation timestamp.
- Device
Id string - Device identifier for enrollment.
- Enrollment
Id string - Enrollment ID; generated by GovAPI if omitted.
- Last
Seen stringAt - Last-seen timestamp (RFC3339).
- Metadata
Json string - Metadata JSON object.
- Provider
Name string - Browser provider slug.
- Status string
- Enrollment status (active, pending, disabled).
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Update timestamp.
- User
Id string - User identifier for enrollment.
- browser_
profile string - Browser profile identifier.
- created_
at string - Creation timestamp.
- device_
id string - Device identifier for enrollment.
- enrollment_
id string - Enrollment ID; generated by GovAPI if omitted.
- last_
seen_ stringat - Last-seen timestamp (RFC3339).
- metadata_
json string - Metadata JSON object.
- provider_
name string - Browser provider slug.
- status string
- Enrollment status (active, pending, disabled).
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Update timestamp.
- user_
id string - User identifier for enrollment.
- browser
Profile String - Browser profile identifier.
- created
At String - Creation timestamp.
- device
Id String - Device identifier for enrollment.
- enrollment
Id String - Enrollment ID; generated by GovAPI if omitted.
- last
Seen StringAt - Last-seen timestamp (RFC3339).
- metadata
Json String - Metadata JSON object.
- provider
Name String - Browser provider slug.
- status String
- Enrollment status (active, pending, disabled).
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Update timestamp.
- user
Id String - User identifier for enrollment.
- browser
Profile string - Browser profile identifier.
- created
At string - Creation timestamp.
- device
Id string - Device identifier for enrollment.
- enrollment
Id string - Enrollment ID; generated by GovAPI if omitted.
- last
Seen stringAt - Last-seen timestamp (RFC3339).
- metadata
Json string - Metadata JSON object.
- provider
Name string - Browser provider slug.
- status string
- Enrollment status (active, pending, disabled).
- tenant
Id string - Tenant ID from provider configuration.
- updated
At string - Update timestamp.
- user
Id string - User identifier for enrollment.
- browser_
profile str - Browser profile identifier.
- created_
at str - Creation timestamp.
- device_
id str - Device identifier for enrollment.
- enrollment_
id str - Enrollment ID; generated by GovAPI if omitted.
- last_
seen_ strat - Last-seen timestamp (RFC3339).
- metadata_
json str - Metadata JSON object.
- provider_
name str - Browser provider slug.
- status str
- Enrollment status (active, pending, disabled).
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Update timestamp.
- user_
id str - User identifier for enrollment.
- browser
Profile String - Browser profile identifier.
- created
At String - Creation timestamp.
- device
Id String - Device identifier for enrollment.
- enrollment
Id String - Enrollment ID; generated by GovAPI if omitted.
- last
Seen StringAt - Last-seen timestamp (RFC3339).
- metadata
Json String - Metadata JSON object.
- provider
Name String - Browser provider slug.
- status String
- Enrollment status (active, pending, disabled).
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Update timestamp.
- user
Id String - User identifier for enrollment.
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