import * as pulumi from "@pulumi/pulumi"; /** * Manages SingleSignOn on the datadog Monitor. * * ## Example Usage * * ### Enabling SSO on monitor * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-datadog", * location: "West US 2", * }); * const exampleMonitor = new azure.datadog.Monitor("example", { * name: "example-monitor", * resourceGroupName: example.name, * location: example.location, * datadogOrganization: { * apiKey: "XXXX", * applicationKey: "XXXX", * }, * user: { * name: "Example", * email: "abc@xyz.com", * }, * skuName: "Linked", * identity: { * type: "SystemAssigned", * }, * }); * const exampleMonitorSsoConfiguration = new azure.datadog.MonitorSsoConfiguration("example", { * datadogMonitorId: exampleMonitor.id, * singleSignOn: "Enable", * enterpriseApplicationId: "00000000-0000-0000-0000-000000000000", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Datadog` - 2021-03-01 * * ## Import * * SingleSignOn on the Datadog Monitor can be imported using the `signle sign on resource id`, e.g. * * ```sh * $ pulumi import azure:datadog/monitorSsoConfiguration:MonitorSsoConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Datadog/monitors/monitor1/singleSignOnConfigurations/default * ``` */ export declare class MonitorSsoConfiguration extends pulumi.CustomResource { /** * Get an existing MonitorSsoConfiguration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MonitorSsoConfigurationState, opts?: pulumi.CustomResourceOptions): MonitorSsoConfiguration; /** * Returns true if the given object is an instance of MonitorSsoConfiguration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MonitorSsoConfiguration; /** * The Datadog Monitor Id which should be used for this Datadog Monitor SSO Configuration. Changing this forces a new Datadog Monitor SSO Configuration to be created. */ readonly datadogMonitorId: pulumi.Output; /** * The application Id to perform SSO operation. */ readonly enterpriseApplicationId: pulumi.Output; /** * The SingleSignOn URL to login to Datadog org. */ readonly loginUrl: pulumi.Output; /** * The name of the SingleSignOn configuration. Defaults to `default`. */ readonly name: pulumi.Output; /** * The state of SingleSignOn configuration. Possible values are `Enable`, `Disable`, `Initial` and `Existing`. */ readonly singleSignOn: pulumi.Output; /** * @deprecated `singleSignOnEnabled` has been deprecated in favour of the `singleSignOn` property and will be removed in v5.0 of the AzureRM Provider. */ readonly singleSignOnEnabled: pulumi.Output; /** * Create a MonitorSsoConfiguration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MonitorSsoConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MonitorSsoConfiguration resources. */ export interface MonitorSsoConfigurationState { /** * The Datadog Monitor Id which should be used for this Datadog Monitor SSO Configuration. Changing this forces a new Datadog Monitor SSO Configuration to be created. */ datadogMonitorId?: pulumi.Input; /** * The application Id to perform SSO operation. */ enterpriseApplicationId?: pulumi.Input; /** * The SingleSignOn URL to login to Datadog org. */ loginUrl?: pulumi.Input; /** * The name of the SingleSignOn configuration. Defaults to `default`. */ name?: pulumi.Input; /** * The state of SingleSignOn configuration. Possible values are `Enable`, `Disable`, `Initial` and `Existing`. */ singleSignOn?: pulumi.Input; /** * @deprecated `singleSignOnEnabled` has been deprecated in favour of the `singleSignOn` property and will be removed in v5.0 of the AzureRM Provider. */ singleSignOnEnabled?: pulumi.Input; } /** * The set of arguments for constructing a MonitorSsoConfiguration resource. */ export interface MonitorSsoConfigurationArgs { /** * The Datadog Monitor Id which should be used for this Datadog Monitor SSO Configuration. Changing this forces a new Datadog Monitor SSO Configuration to be created. */ datadogMonitorId: pulumi.Input; /** * The application Id to perform SSO operation. */ enterpriseApplicationId: pulumi.Input; /** * The name of the SingleSignOn configuration. Defaults to `default`. */ name?: pulumi.Input; /** * The state of SingleSignOn configuration. Possible values are `Enable`, `Disable`, `Initial` and `Existing`. */ singleSignOn?: pulumi.Input; /** * @deprecated `singleSignOnEnabled` has been deprecated in favour of the `singleSignOn` property and will be removed in v5.0 of the AzureRM Provider. */ singleSignOnEnabled?: pulumi.Input; }