published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);@overload
def Provider(resource_name: str,
args: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
provider_name: Optional[str] = None,
config_json: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None)func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: thoth:mdm:Provider
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_mdm_provider" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- 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 ProviderArgs
- 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 ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- 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 thothProviderResource = new Thoth.Mdm.Provider("thothProviderResource", new()
{
ProviderName = "string",
ConfigJson = "string",
Enabled = false,
Name = "string",
});
example, err := mdm.NewProvider(ctx, "thothProviderResource", &mdm.ProviderArgs{
ProviderName: pulumi.String("string"),
ConfigJson: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
})
resource "thoth_mdm_provider" "thothProviderResource" {
lifecycle {
create_before_destroy = true
}
provider_name = "string"
config_json = "string"
enabled = false
name = "string"
}
var thothProviderResource = new com.pulumi.thoth.mdm.Provider("thothProviderResource", com.pulumi.thoth.mdm.ProviderArgs.builder()
.providerName("string")
.configJson("string")
.enabled(false)
.name("string")
.build());
thoth_provider_resource = thoth.mdm.Provider("thothProviderResource",
provider_name="string",
config_json="string",
enabled=False,
name="string")
const thothProviderResource = new thoth.mdm.Provider("thothProviderResource", {
providerName: "string",
configJson: "string",
enabled: false,
name: "string",
});
type: thoth:mdm:Provider
properties:
configJson: string
enabled: false
name: string
providerName: string
Provider 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 Provider resource accepts the following input properties:
- Provider
Name string - Provider slug: jamf, intune, workspace_one, custom.
- Config
Json string - Provider configuration JSON object.
- Enabled bool
- Enable the provider integration.
- Name string
- Display name for the provider.
- Provider
Name string - Provider slug: jamf, intune, workspace_one, custom.
- Config
Json string - Provider configuration JSON object.
- Enabled bool
- Enable the provider integration.
- Name string
- Display name for the provider.
- provider_
name string - Provider slug: jamf, intune, workspace_one, custom.
- config_
json string - Provider configuration JSON object.
- enabled bool
- Enable the provider integration.
- name string
- Display name for the provider.
- provider
Name String - Provider slug: jamf, intune, workspace_one, custom.
- config
Json String - Provider configuration JSON object.
- enabled Boolean
- Enable the provider integration.
- name String
- Display name for the provider.
- provider
Name string - Provider slug: jamf, intune, workspace_one, custom.
- config
Json string - Provider configuration JSON object.
- enabled boolean
- Enable the provider integration.
- name string
- Display name for the provider.
- provider_
name str - Provider slug: jamf, intune, workspace_one, custom.
- config_
json str - Provider configuration JSON object.
- enabled bool
- Enable the provider integration.
- name str
- Display name for the provider.
- provider
Name String - Provider slug: jamf, intune, workspace_one, custom.
- config
Json String - Provider configuration JSON object.
- enabled Boolean
- Enable the provider integration.
- name String
- Display name for the provider.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Created
At string - Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Error string - Last error message from provider sync.
- Last
Sync stringAt - Last sync timestamp.
- Last
Sync stringJob Id - Last sync job identifier.
- Last
Sync stringStatus - Last sync status.
- Status string
- Provider status from GovAPI.
- Synced
Endpoints int - Count of endpoints synchronized on latest run.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Update timestamp.
- Created
At string - Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Error string - Last error message from provider sync.
- Last
Sync stringAt - Last sync timestamp.
- Last
Sync stringJob Id - Last sync job identifier.
- Last
Sync stringStatus - Last sync status.
- Status string
- Provider status from GovAPI.
- Synced
Endpoints int - Count of endpoints synchronized on latest run.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Update timestamp.
- created_
at string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
error string - Last error message from provider sync.
- last_
sync_ stringat - Last sync timestamp.
- last_
sync_ stringjob_ id - Last sync job identifier.
- last_
sync_ stringstatus - Last sync status.
- status string
- Provider status from GovAPI.
- synced_
endpoints number - Count of endpoints synchronized on latest run.
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Update timestamp.
- created
At String - Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Error String - Last error message from provider sync.
- last
Sync StringAt - Last sync timestamp.
- last
Sync StringJob Id - Last sync job identifier.
- last
Sync StringStatus - Last sync status.
- status String
- Provider status from GovAPI.
- synced
Endpoints Integer - Count of endpoints synchronized on latest run.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Update timestamp.
- created
At string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Error string - Last error message from provider sync.
- last
Sync stringAt - Last sync timestamp.
- last
Sync stringJob Id - Last sync job identifier.
- last
Sync stringStatus - Last sync status.
- status string
- Provider status from GovAPI.
- synced
Endpoints number - Count of endpoints synchronized on latest run.
- 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.
- last_
error str - Last error message from provider sync.
- last_
sync_ strat - Last sync timestamp.
- last_
sync_ strjob_ id - Last sync job identifier.
- last_
sync_ strstatus - Last sync status.
- status str
- Provider status from GovAPI.
- synced_
endpoints int - Count of endpoints synchronized on latest run.
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Update timestamp.
- created
At String - Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Error String - Last error message from provider sync.
- last
Sync StringAt - Last sync timestamp.
- last
Sync StringJob Id - Last sync job identifier.
- last
Sync StringStatus - Last sync status.
- status String
- Provider status from GovAPI.
- synced
Endpoints Number - Count of endpoints synchronized on latest run.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Update timestamp.
Look up Existing Provider Resource
Get an existing Provider 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?: ProviderState, opts?: CustomResourceOptions): Provider@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_json: Optional[str] = None,
created_at: Optional[str] = None,
enabled: Optional[bool] = None,
last_error: Optional[str] = None,
last_sync_at: Optional[str] = None,
last_sync_job_id: Optional[str] = None,
last_sync_status: Optional[str] = None,
name: Optional[str] = None,
provider_name: Optional[str] = None,
status: Optional[str] = None,
synced_endpoints: Optional[int] = None,
tenant_id: Optional[str] = None,
updated_at: Optional[str] = None) -> Providerfunc GetProvider(ctx *Context, name string, id IDInput, state *ProviderState, opts ...ResourceOption) (*Provider, error)public static Provider Get(string name, Input<string> id, ProviderState? state, CustomResourceOptions? opts = null)public static Provider get(String name, Output<String> id, ProviderState state, CustomResourceOptions options)resources: _: type: thoth:mdm:Provider get: id: ${id}import {
to = thoth_mdm_provider.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.
- Config
Json string - Provider configuration JSON object.
- Created
At string - Creation timestamp.
- Enabled bool
- Enable the provider integration.
- Last
Error string - Last error message from provider sync.
- Last
Sync stringAt - Last sync timestamp.
- Last
Sync stringJob Id - Last sync job identifier.
- Last
Sync stringStatus - Last sync status.
- Name string
- Display name for the provider.
- Provider
Name string - Provider slug: jamf, intune, workspace_one, custom.
- Status string
- Provider status from GovAPI.
- Synced
Endpoints int - Count of endpoints synchronized on latest run.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Update timestamp.
- Config
Json string - Provider configuration JSON object.
- Created
At string - Creation timestamp.
- Enabled bool
- Enable the provider integration.
- Last
Error string - Last error message from provider sync.
- Last
Sync stringAt - Last sync timestamp.
- Last
Sync stringJob Id - Last sync job identifier.
- Last
Sync stringStatus - Last sync status.
- Name string
- Display name for the provider.
- Provider
Name string - Provider slug: jamf, intune, workspace_one, custom.
- Status string
- Provider status from GovAPI.
- Synced
Endpoints int - Count of endpoints synchronized on latest run.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Update timestamp.
- config_
json string - Provider configuration JSON object.
- created_
at string - Creation timestamp.
- enabled bool
- Enable the provider integration.
- last_
error string - Last error message from provider sync.
- last_
sync_ stringat - Last sync timestamp.
- last_
sync_ stringjob_ id - Last sync job identifier.
- last_
sync_ stringstatus - Last sync status.
- name string
- Display name for the provider.
- provider_
name string - Provider slug: jamf, intune, workspace_one, custom.
- status string
- Provider status from GovAPI.
- synced_
endpoints number - Count of endpoints synchronized on latest run.
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Update timestamp.
- config
Json String - Provider configuration JSON object.
- created
At String - Creation timestamp.
- enabled Boolean
- Enable the provider integration.
- last
Error String - Last error message from provider sync.
- last
Sync StringAt - Last sync timestamp.
- last
Sync StringJob Id - Last sync job identifier.
- last
Sync StringStatus - Last sync status.
- name String
- Display name for the provider.
- provider
Name String - Provider slug: jamf, intune, workspace_one, custom.
- status String
- Provider status from GovAPI.
- synced
Endpoints Integer - Count of endpoints synchronized on latest run.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Update timestamp.
- config
Json string - Provider configuration JSON object.
- created
At string - Creation timestamp.
- enabled boolean
- Enable the provider integration.
- last
Error string - Last error message from provider sync.
- last
Sync stringAt - Last sync timestamp.
- last
Sync stringJob Id - Last sync job identifier.
- last
Sync stringStatus - Last sync status.
- name string
- Display name for the provider.
- provider
Name string - Provider slug: jamf, intune, workspace_one, custom.
- status string
- Provider status from GovAPI.
- synced
Endpoints number - Count of endpoints synchronized on latest run.
- tenant
Id string - Tenant ID from provider configuration.
- updated
At string - Update timestamp.
- config_
json str - Provider configuration JSON object.
- created_
at str - Creation timestamp.
- enabled bool
- Enable the provider integration.
- last_
error str - Last error message from provider sync.
- last_
sync_ strat - Last sync timestamp.
- last_
sync_ strjob_ id - Last sync job identifier.
- last_
sync_ strstatus - Last sync status.
- name str
- Display name for the provider.
- provider_
name str - Provider slug: jamf, intune, workspace_one, custom.
- status str
- Provider status from GovAPI.
- synced_
endpoints int - Count of endpoints synchronized on latest run.
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Update timestamp.
- config
Json String - Provider configuration JSON object.
- created
At String - Creation timestamp.
- enabled Boolean
- Enable the provider integration.
- last
Error String - Last error message from provider sync.
- last
Sync StringAt - Last sync timestamp.
- last
Sync StringJob Id - Last sync job identifier.
- last
Sync StringStatus - Last sync status.
- name String
- Display name for the provider.
- provider
Name String - Provider slug: jamf, intune, workspace_one, custom.
- status String
- Provider status from GovAPI.
- synced
Endpoints Number - Count of endpoints synchronized on latest run.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - 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