grafana.enterprise.ScimConfig
Explore with Pulumi AI
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:
- Allow
Non boolProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- Enable
Group boolSync - Whether group synchronization is enabled.
- Enable
User boolSync - Whether user synchronization is enabled.
- Org
Id string - The Organization ID. If not set, the Org ID defined in the provider block will be used.
- Allow
Non boolProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- Enable
Group boolSync - Whether group synchronization is enabled.
- Enable
User boolSync - Whether user synchronization is enabled.
- Org
Id string - The Organization ID. If not set, the Org ID defined in the provider block will be used.
- allow
Non BooleanProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- enable
Group BooleanSync - Whether group synchronization is enabled.
- enable
User BooleanSync - Whether user synchronization is enabled.
- org
Id String - The Organization ID. If not set, the Org ID defined in the provider block will be used.
- allow
Non booleanProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- enable
Group booleanSync - Whether group synchronization is enabled.
- enable
User booleanSync - Whether user synchronization is enabled.
- org
Id string - The Organization ID. If not set, the Org ID defined in the provider block will be used.
- allow_
non_ boolprovisioned_ users - Whether to allow non-provisioned users to access Grafana.
- enable_
group_ boolsync - Whether group synchronization is enabled.
- enable_
user_ boolsync - 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.
- allow
Non BooleanProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- enable
Group BooleanSync - Whether group synchronization is enabled.
- enable
User BooleanSync - Whether user synchronization is enabled.
- org
Id 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.
- Allow
Non boolProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- Enable
Group boolSync - Whether group synchronization is enabled.
- Enable
User boolSync - Whether user synchronization is enabled.
- Org
Id string - The Organization ID. If not set, the Org ID defined in the provider block will be used.
- Allow
Non boolProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- Enable
Group boolSync - Whether group synchronization is enabled.
- Enable
User boolSync - Whether user synchronization is enabled.
- Org
Id string - The Organization ID. If not set, the Org ID defined in the provider block will be used.
- allow
Non BooleanProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- enable
Group BooleanSync - Whether group synchronization is enabled.
- enable
User BooleanSync - Whether user synchronization is enabled.
- org
Id String - The Organization ID. If not set, the Org ID defined in the provider block will be used.
- allow
Non booleanProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- enable
Group booleanSync - Whether group synchronization is enabled.
- enable
User booleanSync - Whether user synchronization is enabled.
- org
Id string - The Organization ID. If not set, the Org ID defined in the provider block will be used.
- allow_
non_ boolprovisioned_ users - Whether to allow non-provisioned users to access Grafana.
- enable_
group_ boolsync - Whether group synchronization is enabled.
- enable_
user_ boolsync - 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.
- allow
Non BooleanProvisioned Users - Whether to allow non-provisioned users to access Grafana.
- enable
Group BooleanSync - Whether group synchronization is enabled.
- enable
User BooleanSync - Whether user synchronization is enabled.
- org
Id 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.