Splunk v1.2.10 published on Wednesday, Sep 18, 2024 by Pulumi
Splunk
The Splunk provider for Pulumi can be used to provision any of the cloud resources available in Splunk. The Splunk provider must be configured with credentials to deploy and update resources in Splunk.
Example
const splunk = require("@pulumi/splunk")
const adminSamlGroup = new splunk.AdminSamlGroups("demo-ts-group", {
roles: ["admin", "power"]
});
import * as splunk from "@pulumi/splunk";
const adminSamlGroup = new splunk.AdminSamlGroups("demo-ts-group", {
roles: ["admin", "power"]
});
import pulumi_splunk as splunk
saml_group = splunk.AdminSamlGroups("demo-py-group", roles=[
"admin",
"power",
])
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi-splunk/sdk/go/splunk"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
group, err := splunk.NewAdminSamlGroups(ctx, "demo", &splunk.AdminSamlGroupsArgs{
Roles: pulumi.StringArray{
pulumi.String("admin"),
pulumi.String("power"),
}
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Splunk;
class Program
{
static Task Main() =>
Deployment.Run(() => {
var group = new AdminSamlGroups("saml-group", new AdminSamlGroupsArgs
{
Roles =
{
"admin",
"power",
}
});
});
}