1. Packages
  2. Grafana Cloud
  3. API Docs
  4. enterprise
  5. ScimConfig
Grafana v0.19.2 published on Friday, Jul 18, 2025 by pulumiverse

grafana.enterprise.ScimConfig

Explore with Pulumi AI

grafana logo
Grafana v0.19.2 published on Friday, Jul 18, 2025 by pulumiverse

    Note: This resource is available only with Grafana Enterprise.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as grafana from "@pulumiverse/grafana";
    
    const _default = new grafana.enterprise.ScimConfig("default", {
        enableUserSync: true,
        enableGroupSync: false,
        allowNonProvisionedUsers: false,
    });
    
    import pulumi
    import pulumiverse_grafana as grafana
    
    default = grafana.enterprise.ScimConfig("default",
        enable_user_sync=True,
        enable_group_sync=False,
        allow_non_provisioned_users=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/enterprise"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := enterprise.NewScimConfig(ctx, "default", &enterprise.ScimConfigArgs{
    			EnableUserSync:           pulumi.Bool(true),
    			EnableGroupSync:          pulumi.Bool(false),
    			AllowNonProvisionedUsers: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Grafana = Pulumiverse.Grafana;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Grafana.Enterprise.ScimConfig("default", new()
        {
            EnableUserSync = true,
            EnableGroupSync = false,
            AllowNonProvisionedUsers = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.grafana.enterprise.ScimConfig;
    import com.pulumi.grafana.enterprise.ScimConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new ScimConfig("default", ScimConfigArgs.builder()
                .enableUserSync(true)
                .enableGroupSync(false)
                .allowNonProvisionedUsers(false)
                .build());
    
        }
    }
    
    resources:
      default:
        type: grafana:enterprise:ScimConfig
        properties:
          enableUserSync: true
          enableGroupSync: false
          allowNonProvisionedUsers: false
    

    Create ScimConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ScimConfig(name: string, args: ScimConfigArgs, opts?: CustomResourceOptions);
    @overload
    def ScimConfig(resource_name: str,
                   args: ScimConfigArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ScimConfig(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   allow_non_provisioned_users: Optional[bool] = None,
                   enable_group_sync: Optional[bool] = None,
                   enable_user_sync: Optional[bool] = None,
                   org_id: Optional[str] = None)
    func NewScimConfig(ctx *Context, name string, args ScimConfigArgs, opts ...ResourceOption) (*ScimConfig, error)
    public ScimConfig(string name, ScimConfigArgs args, CustomResourceOptions? opts = null)
    public ScimConfig(String name, ScimConfigArgs args)
    public ScimConfig(String name, ScimConfigArgs args, CustomResourceOptions options)
    
    type: grafana:enterprise:ScimConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ScimConfigArgs
    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 ScimConfigArgs
    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 ScimConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScimConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScimConfigArgs
    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 scimConfigResource = new Grafana.Enterprise.ScimConfig("scimConfigResource", new()
    {
        AllowNonProvisionedUsers = false,
        EnableGroupSync = false,
        EnableUserSync = false,
        OrgId = "string",
    });
    
    example, err := enterprise.NewScimConfig(ctx, "scimConfigResource", &enterprise.ScimConfigArgs{
    	AllowNonProvisionedUsers: pulumi.Bool(false),
    	EnableGroupSync:          pulumi.Bool(false),
    	EnableUserSync:           pulumi.Bool(false),
    	OrgId:                    pulumi.String("string"),
    })
    
    var scimConfigResource = new ScimConfig("scimConfigResource", ScimConfigArgs.builder()
        .allowNonProvisionedUsers(false)
        .enableGroupSync(false)
        .enableUserSync(false)
        .orgId("string")
        .build());
    
    scim_config_resource = grafana.enterprise.ScimConfig("scimConfigResource",
        allow_non_provisioned_users=False,
        enable_group_sync=False,
        enable_user_sync=False,
        org_id="string")
    
    const scimConfigResource = new grafana.enterprise.ScimConfig("scimConfigResource", {
        allowNonProvisionedUsers: false,
        enableGroupSync: false,
        enableUserSync: false,
        orgId: "string",
    });
    
    type: grafana:enterprise:ScimConfig
    properties:
        allowNonProvisionedUsers: false
        enableGroupSync: false
        enableUserSync: false
        orgId: string
    

    ScimConfig 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 ScimConfig resource accepts the following input properties:

    AllowNonProvisionedUsers bool
    Whether to allow non-provisioned users to access Grafana.
    EnableGroupSync bool
    Whether group synchronization is enabled.
    EnableUserSync bool
    Whether user synchronization is enabled.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    AllowNonProvisionedUsers bool
    Whether to allow non-provisioned users to access Grafana.
    EnableGroupSync bool
    Whether group synchronization is enabled.
    EnableUserSync bool
    Whether user synchronization is enabled.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    allowNonProvisionedUsers Boolean
    Whether to allow non-provisioned users to access Grafana.
    enableGroupSync Boolean
    Whether group synchronization is enabled.
    enableUserSync Boolean
    Whether user synchronization is enabled.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    allowNonProvisionedUsers boolean
    Whether to allow non-provisioned users to access Grafana.
    enableGroupSync boolean
    Whether group synchronization is enabled.
    enableUserSync boolean
    Whether user synchronization is enabled.
    orgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    allow_non_provisioned_users bool
    Whether to allow non-provisioned users to access Grafana.
    enable_group_sync bool
    Whether group synchronization is enabled.
    enable_user_sync bool
    Whether user synchronization is enabled.
    org_id str
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    allowNonProvisionedUsers Boolean
    Whether to allow non-provisioned users to access Grafana.
    enableGroupSync Boolean
    Whether group synchronization is enabled.
    enableUserSync Boolean
    Whether user synchronization is enabled.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ScimConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ScimConfig Resource

    Get an existing ScimConfig 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?: ScimConfigState, opts?: CustomResourceOptions): ScimConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_non_provisioned_users: Optional[bool] = None,
            enable_group_sync: Optional[bool] = None,
            enable_user_sync: Optional[bool] = None,
            org_id: Optional[str] = None) -> ScimConfig
    func GetScimConfig(ctx *Context, name string, id IDInput, state *ScimConfigState, opts ...ResourceOption) (*ScimConfig, error)
    public static ScimConfig Get(string name, Input<string> id, ScimConfigState? state, CustomResourceOptions? opts = null)
    public static ScimConfig get(String name, Output<String> id, ScimConfigState state, CustomResourceOptions options)
    resources:  _:    type: grafana:enterprise:ScimConfig    get:      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:
    AllowNonProvisionedUsers bool
    Whether to allow non-provisioned users to access Grafana.
    EnableGroupSync bool
    Whether group synchronization is enabled.
    EnableUserSync bool
    Whether user synchronization is enabled.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    AllowNonProvisionedUsers bool
    Whether to allow non-provisioned users to access Grafana.
    EnableGroupSync bool
    Whether group synchronization is enabled.
    EnableUserSync bool
    Whether user synchronization is enabled.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    allowNonProvisionedUsers Boolean
    Whether to allow non-provisioned users to access Grafana.
    enableGroupSync Boolean
    Whether group synchronization is enabled.
    enableUserSync Boolean
    Whether user synchronization is enabled.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    allowNonProvisionedUsers boolean
    Whether to allow non-provisioned users to access Grafana.
    enableGroupSync boolean
    Whether group synchronization is enabled.
    enableUserSync boolean
    Whether user synchronization is enabled.
    orgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    allow_non_provisioned_users bool
    Whether to allow non-provisioned users to access Grafana.
    enable_group_sync bool
    Whether group synchronization is enabled.
    enable_user_sync bool
    Whether user synchronization is enabled.
    org_id str
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    allowNonProvisionedUsers Boolean
    Whether to allow non-provisioned users to access Grafana.
    enableGroupSync Boolean
    Whether group synchronization is enabled.
    enableUserSync Boolean
    Whether user synchronization is enabled.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.

    Import

    $ pulumi import grafana:enterprise/scimConfig:ScimConfig name ""
    
    $ pulumi import grafana:enterprise/scimConfig:ScimConfig name "{{ orgID }}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Grafana v0.19.2 published on Friday, Jul 18, 2025 by pulumiverse