1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. mdm
  6. Provider
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 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:

    ProviderName string
    Provider slug: jamf, intune, workspace_one, custom.
    ConfigJson string
    Provider configuration JSON object.
    Enabled bool
    Enable the provider integration.
    Name string
    Display name for the provider.
    ProviderName string
    Provider slug: jamf, intune, workspace_one, custom.
    ConfigJson 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.
    providerName String
    Provider slug: jamf, intune, workspace_one, custom.
    configJson String
    Provider configuration JSON object.
    enabled Boolean
    Enable the provider integration.
    name String
    Display name for the provider.
    providerName string
    Provider slug: jamf, intune, workspace_one, custom.
    configJson 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.
    providerName String
    Provider slug: jamf, intune, workspace_one, custom.
    configJson 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:

    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastError string
    Last error message from provider sync.
    LastSyncAt string
    Last sync timestamp.
    LastSyncJobId string
    Last sync job identifier.
    LastSyncStatus string
    Last sync status.
    Status string
    Provider status from GovAPI.
    SyncedEndpoints int
    Count of endpoints synchronized on latest run.
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Update timestamp.
    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastError string
    Last error message from provider sync.
    LastSyncAt string
    Last sync timestamp.
    LastSyncJobId string
    Last sync job identifier.
    LastSyncStatus string
    Last sync status.
    Status string
    Provider status from GovAPI.
    SyncedEndpoints int
    Count of endpoints synchronized on latest run.
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt 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_at string
    Last sync timestamp.
    last_sync_job_id string
    Last sync job identifier.
    last_sync_status string
    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.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    lastError String
    Last error message from provider sync.
    lastSyncAt String
    Last sync timestamp.
    lastSyncJobId String
    Last sync job identifier.
    lastSyncStatus String
    Last sync status.
    status String
    Provider status from GovAPI.
    syncedEndpoints Integer
    Count of endpoints synchronized on latest run.
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    Update timestamp.
    createdAt string
    Creation timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    lastError string
    Last error message from provider sync.
    lastSyncAt string
    Last sync timestamp.
    lastSyncJobId string
    Last sync job identifier.
    lastSyncStatus string
    Last sync status.
    status string
    Provider status from GovAPI.
    syncedEndpoints number
    Count of endpoints synchronized on latest run.
    tenantId string
    Tenant ID from provider configuration.
    updatedAt 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_at str
    Last sync timestamp.
    last_sync_job_id str
    Last sync job identifier.
    last_sync_status str
    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.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    lastError String
    Last error message from provider sync.
    lastSyncAt String
    Last sync timestamp.
    lastSyncJobId String
    Last sync job identifier.
    lastSyncStatus String
    Last sync status.
    status String
    Provider status from GovAPI.
    syncedEndpoints Number
    Count of endpoints synchronized on latest run.
    tenantId String
    Tenant ID from provider configuration.
    updatedAt 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) -> Provider
    func 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.
    The following state arguments are supported:
    ConfigJson string
    Provider configuration JSON object.
    CreatedAt string
    Creation timestamp.
    Enabled bool
    Enable the provider integration.
    LastError string
    Last error message from provider sync.
    LastSyncAt string
    Last sync timestamp.
    LastSyncJobId string
    Last sync job identifier.
    LastSyncStatus string
    Last sync status.
    Name string
    Display name for the provider.
    ProviderName string
    Provider slug: jamf, intune, workspace_one, custom.
    Status string
    Provider status from GovAPI.
    SyncedEndpoints int
    Count of endpoints synchronized on latest run.
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt string
    Update timestamp.
    ConfigJson string
    Provider configuration JSON object.
    CreatedAt string
    Creation timestamp.
    Enabled bool
    Enable the provider integration.
    LastError string
    Last error message from provider sync.
    LastSyncAt string
    Last sync timestamp.
    LastSyncJobId string
    Last sync job identifier.
    LastSyncStatus string
    Last sync status.
    Name string
    Display name for the provider.
    ProviderName string
    Provider slug: jamf, intune, workspace_one, custom.
    Status string
    Provider status from GovAPI.
    SyncedEndpoints int
    Count of endpoints synchronized on latest run.
    TenantId string
    Tenant ID from provider configuration.
    UpdatedAt 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_at string
    Last sync timestamp.
    last_sync_job_id string
    Last sync job identifier.
    last_sync_status string
    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.
    configJson String
    Provider configuration JSON object.
    createdAt String
    Creation timestamp.
    enabled Boolean
    Enable the provider integration.
    lastError String
    Last error message from provider sync.
    lastSyncAt String
    Last sync timestamp.
    lastSyncJobId String
    Last sync job identifier.
    lastSyncStatus String
    Last sync status.
    name String
    Display name for the provider.
    providerName String
    Provider slug: jamf, intune, workspace_one, custom.
    status String
    Provider status from GovAPI.
    syncedEndpoints Integer
    Count of endpoints synchronized on latest run.
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    Update timestamp.
    configJson string
    Provider configuration JSON object.
    createdAt string
    Creation timestamp.
    enabled boolean
    Enable the provider integration.
    lastError string
    Last error message from provider sync.
    lastSyncAt string
    Last sync timestamp.
    lastSyncJobId string
    Last sync job identifier.
    lastSyncStatus string
    Last sync status.
    name string
    Display name for the provider.
    providerName string
    Provider slug: jamf, intune, workspace_one, custom.
    status string
    Provider status from GovAPI.
    syncedEndpoints number
    Count of endpoints synchronized on latest run.
    tenantId string
    Tenant ID from provider configuration.
    updatedAt 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_at str
    Last sync timestamp.
    last_sync_job_id str
    Last sync job identifier.
    last_sync_status str
    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.
    configJson String
    Provider configuration JSON object.
    createdAt String
    Creation timestamp.
    enabled Boolean
    Enable the provider integration.
    lastError String
    Last error message from provider sync.
    lastSyncAt String
    Last sync timestamp.
    lastSyncJobId String
    Last sync job identifier.
    lastSyncStatus String
    Last sync status.
    name String
    Display name for the provider.
    providerName String
    Provider slug: jamf, intune, workspace_one, custom.
    status String
    Provider status from GovAPI.
    syncedEndpoints Number
    Count of endpoints synchronized on latest run.
    tenantId String
    Tenant ID from provider configuration.
    updatedAt String
    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