1. Packages
  2. Alicloud Provider
  3. API Docs
  4. cloudsso
  5. Directory
Alibaba Cloud v3.63.0 published on Monday, Sep 30, 2024 by Pulumi

alicloud.cloudsso.Directory

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.63.0 published on Monday, Sep 30, 2024 by Pulumi

    Provides a Cloud SSO Directory resource.

    For information about Cloud SSO Directory and how to use it, see What is Directory.

    NOTE: Available since v1.135.0.

    NOTE: Cloud SSO Only Support cn-shanghai And us-west-1 Region

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    export = async () => {
        const config = new pulumi.Config();
        const name = config.get("name") || "tf-example";
        const default = await alicloud.cloudsso.getDirectories({});
        const defaultDirectory: alicloud.cloudsso.Directory[] = [];
        for (const range = {value: 0}; range.value < (_default.ids.length > 0 ? 0 : 1); range.value++) {
            defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range.value}`, {directoryName: name}));
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf-example"
    default = alicloud.cloudsso.get_directories()
    default_directory = []
    for range in [{"value": i} for i in range(0, 0 if len(default.ids) > 0 else 1)]:
        default_directory.append(alicloud.cloudsso.Directory(f"default-{range['value']}", directory_name=name))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudsso"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "tf-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := cloudsso.GetDirectories(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		var tmp0 float64
    		if pulumi.Float64(len(_default.Ids)) > 0 {
    			tmp0 = 0
    		} else {
    			tmp0 = 1
    		}
    		var defaultDirectory []*cloudsso.Directory
    		for index := 0; index < tmp0; index++ {
    			key0 := index
    			_ := index
    			__res, err := cloudsso.NewDirectory(ctx, fmt.Sprintf("default-%v", key0), &cloudsso.DirectoryArgs{
    				DirectoryName: pulumi.String(name),
    			})
    			if err != nil {
    				return err
    			}
    			defaultDirectory = append(defaultDirectory, __res)
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(async() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "tf-example";
        var @default = await AliCloud.CloudSso.GetDirectories.InvokeAsync();
    
        var defaultDirectory = new List<AliCloud.CloudSso.Directory>();
        for (var rangeIndex = 0; rangeIndex < @default.Ids.Length > 0 ? 0 : 1; rangeIndex++)
        {
            var range = new { Value = rangeIndex };
            defaultDirectory.Add(new AliCloud.CloudSso.Directory($"default-{range.Value}", new()
            {
                DirectoryName = name,
            }));
        }
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cloudsso.CloudssoFunctions;
    import com.pulumi.alicloud.cloudsso.inputs.GetDirectoriesArgs;
    import com.pulumi.alicloud.cloudsso.Directory;
    import com.pulumi.alicloud.cloudsso.DirectoryArgs;
    import com.pulumi.codegen.internal.KeyedValue;
    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) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("tf-example");
            final var default = CloudssoFunctions.getDirectories();
    
            for (var i = 0; i < default_.ids().length() > 0 ? 0 : 1; i++) {
                new Directory("defaultDirectory-" + i, DirectoryArgs.builder()
                    .directoryName(name)
                    .build());
    
            
    }
        }
    }
    
    configuration:
      name:
        type: string
        default: tf-example
    resources:
      defaultDirectory:
        type: alicloud:cloudsso:Directory
        name: default
        properties:
          directoryName: ${name}
        options: {}
    variables:
      default:
        fn::invoke:
          Function: alicloud:cloudsso:getDirectories
          Arguments: {}
    

    Create Directory Resource

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

    Constructor syntax

    new Directory(name: string, args?: DirectoryArgs, opts?: CustomResourceOptions);
    @overload
    def Directory(resource_name: str,
                  args: Optional[DirectoryArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Directory(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  directory_name: Optional[str] = None,
                  mfa_authentication_status: Optional[str] = None,
                  saml_identity_provider_configuration: Optional[DirectorySamlIdentityProviderConfigurationArgs] = None,
                  scim_synchronization_status: Optional[str] = None)
    func NewDirectory(ctx *Context, name string, args *DirectoryArgs, opts ...ResourceOption) (*Directory, error)
    public Directory(string name, DirectoryArgs? args = null, CustomResourceOptions? opts = null)
    public Directory(String name, DirectoryArgs args)
    public Directory(String name, DirectoryArgs args, CustomResourceOptions options)
    
    type: alicloud:cloudsso:Directory
    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 DirectoryArgs
    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 DirectoryArgs
    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 DirectoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DirectoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DirectoryArgs
    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 directoryResource = new AliCloud.CloudSso.Directory("directoryResource", new()
    {
        DirectoryName = "string",
        MfaAuthenticationStatus = "string",
        SamlIdentityProviderConfiguration = new AliCloud.CloudSso.Inputs.DirectorySamlIdentityProviderConfigurationArgs
        {
            EncodedMetadataDocument = "string",
            SsoStatus = "string",
        },
        ScimSynchronizationStatus = "string",
    });
    
    example, err := cloudsso.NewDirectory(ctx, "directoryResource", &cloudsso.DirectoryArgs{
    	DirectoryName:           pulumi.String("string"),
    	MfaAuthenticationStatus: pulumi.String("string"),
    	SamlIdentityProviderConfiguration: &cloudsso.DirectorySamlIdentityProviderConfigurationArgs{
    		EncodedMetadataDocument: pulumi.String("string"),
    		SsoStatus:               pulumi.String("string"),
    	},
    	ScimSynchronizationStatus: pulumi.String("string"),
    })
    
    var directoryResource = new Directory("directoryResource", DirectoryArgs.builder()
        .directoryName("string")
        .mfaAuthenticationStatus("string")
        .samlIdentityProviderConfiguration(DirectorySamlIdentityProviderConfigurationArgs.builder()
            .encodedMetadataDocument("string")
            .ssoStatus("string")
            .build())
        .scimSynchronizationStatus("string")
        .build());
    
    directory_resource = alicloud.cloudsso.Directory("directoryResource",
        directory_name="string",
        mfa_authentication_status="string",
        saml_identity_provider_configuration=alicloud.cloudsso.DirectorySamlIdentityProviderConfigurationArgs(
            encoded_metadata_document="string",
            sso_status="string",
        ),
        scim_synchronization_status="string")
    
    const directoryResource = new alicloud.cloudsso.Directory("directoryResource", {
        directoryName: "string",
        mfaAuthenticationStatus: "string",
        samlIdentityProviderConfiguration: {
            encodedMetadataDocument: "string",
            ssoStatus: "string",
        },
        scimSynchronizationStatus: "string",
    });
    
    type: alicloud:cloudsso:Directory
    properties:
        directoryName: string
        mfaAuthenticationStatus: string
        samlIdentityProviderConfiguration:
            encodedMetadataDocument: string
            ssoStatus: string
        scimSynchronizationStatus: string
    

    Directory Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Directory resource accepts the following input properties:

    DirectoryName string
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    MfaAuthenticationStatus string
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    SamlIdentityProviderConfiguration Pulumi.AliCloud.CloudSso.Inputs.DirectorySamlIdentityProviderConfiguration

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    ScimSynchronizationStatus string
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    DirectoryName string
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    MfaAuthenticationStatus string
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    SamlIdentityProviderConfiguration DirectorySamlIdentityProviderConfigurationArgs

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    ScimSynchronizationStatus string
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    directoryName String
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    mfaAuthenticationStatus String
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    samlIdentityProviderConfiguration DirectorySamlIdentityProviderConfiguration

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    scimSynchronizationStatus String
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    directoryName string
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    mfaAuthenticationStatus string
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    samlIdentityProviderConfiguration DirectorySamlIdentityProviderConfiguration

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    scimSynchronizationStatus string
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    directory_name str
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    mfa_authentication_status str
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    saml_identity_provider_configuration DirectorySamlIdentityProviderConfigurationArgs

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    scim_synchronization_status str
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    directoryName String
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    mfaAuthenticationStatus String
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    samlIdentityProviderConfiguration Property Map

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    scimSynchronizationStatus String
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Directory 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 Directory Resource

    Get an existing Directory 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?: DirectoryState, opts?: CustomResourceOptions): Directory
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            directory_name: Optional[str] = None,
            mfa_authentication_status: Optional[str] = None,
            saml_identity_provider_configuration: Optional[DirectorySamlIdentityProviderConfigurationArgs] = None,
            scim_synchronization_status: Optional[str] = None) -> Directory
    func GetDirectory(ctx *Context, name string, id IDInput, state *DirectoryState, opts ...ResourceOption) (*Directory, error)
    public static Directory Get(string name, Input<string> id, DirectoryState? state, CustomResourceOptions? opts = null)
    public static Directory get(String name, Output<String> id, DirectoryState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    DirectoryName string
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    MfaAuthenticationStatus string
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    SamlIdentityProviderConfiguration Pulumi.AliCloud.CloudSso.Inputs.DirectorySamlIdentityProviderConfiguration

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    ScimSynchronizationStatus string
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    DirectoryName string
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    MfaAuthenticationStatus string
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    SamlIdentityProviderConfiguration DirectorySamlIdentityProviderConfigurationArgs

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    ScimSynchronizationStatus string
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    directoryName String
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    mfaAuthenticationStatus String
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    samlIdentityProviderConfiguration DirectorySamlIdentityProviderConfiguration

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    scimSynchronizationStatus String
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    directoryName string
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    mfaAuthenticationStatus string
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    samlIdentityProviderConfiguration DirectorySamlIdentityProviderConfiguration

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    scimSynchronizationStatus string
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    directory_name str
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    mfa_authentication_status str
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    saml_identity_provider_configuration DirectorySamlIdentityProviderConfigurationArgs

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    scim_synchronization_status str
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.
    directoryName String
    The name of the CloudSSO directory. The length is 2-64 characters, and it can contain lowercase letters, numbers, and dashes (-). It cannot start or end with a dash and cannot have two consecutive dashes. Need to be globally unique, and capitalization is not supported. Cannot start with d-.
    mfaAuthenticationStatus String
    The mfa authentication status. Valid values: Enabled or Disabled. Default to Enabled.
    samlIdentityProviderConfiguration Property Map

    The saml identity provider configuration. See saml_identity_provider_configuration below.

    NOTE: The saml_identity_provider_configuration will be removed automatically when the resource is deleted, please operate with caution. If there are left more configuration in the directory, please remove them before deleting the directory.

    scimSynchronizationStatus String
    The scim synchronization status. Valid values: Enabled or Disabled. Default to Disabled.

    Supporting Types

    DirectorySamlIdentityProviderConfiguration, DirectorySamlIdentityProviderConfigurationArgs

    EncodedMetadataDocument string
    Base64 encoded IdP metadata document. NOTE: If the IdP Metadata has been uploaded, no update will be made if this parameter is not specified, otherwise the update will be made according to the parameter content. If IdP Metadata has not been uploaded, and the parameter sso_status is Enabled, this parameter must be provided. If the IdP Metadata has not been uploaded, and the parameter sso_status is Disabled, this parameter can be omitted, and the IdP Metadata will remain empty.
    SsoStatus string
    SAML SSO login enabled status. Valid values: Enabled or Disabled. Default to Disabled.
    EncodedMetadataDocument string
    Base64 encoded IdP metadata document. NOTE: If the IdP Metadata has been uploaded, no update will be made if this parameter is not specified, otherwise the update will be made according to the parameter content. If IdP Metadata has not been uploaded, and the parameter sso_status is Enabled, this parameter must be provided. If the IdP Metadata has not been uploaded, and the parameter sso_status is Disabled, this parameter can be omitted, and the IdP Metadata will remain empty.
    SsoStatus string
    SAML SSO login enabled status. Valid values: Enabled or Disabled. Default to Disabled.
    encodedMetadataDocument String
    Base64 encoded IdP metadata document. NOTE: If the IdP Metadata has been uploaded, no update will be made if this parameter is not specified, otherwise the update will be made according to the parameter content. If IdP Metadata has not been uploaded, and the parameter sso_status is Enabled, this parameter must be provided. If the IdP Metadata has not been uploaded, and the parameter sso_status is Disabled, this parameter can be omitted, and the IdP Metadata will remain empty.
    ssoStatus String
    SAML SSO login enabled status. Valid values: Enabled or Disabled. Default to Disabled.
    encodedMetadataDocument string
    Base64 encoded IdP metadata document. NOTE: If the IdP Metadata has been uploaded, no update will be made if this parameter is not specified, otherwise the update will be made according to the parameter content. If IdP Metadata has not been uploaded, and the parameter sso_status is Enabled, this parameter must be provided. If the IdP Metadata has not been uploaded, and the parameter sso_status is Disabled, this parameter can be omitted, and the IdP Metadata will remain empty.
    ssoStatus string
    SAML SSO login enabled status. Valid values: Enabled or Disabled. Default to Disabled.
    encoded_metadata_document str
    Base64 encoded IdP metadata document. NOTE: If the IdP Metadata has been uploaded, no update will be made if this parameter is not specified, otherwise the update will be made according to the parameter content. If IdP Metadata has not been uploaded, and the parameter sso_status is Enabled, this parameter must be provided. If the IdP Metadata has not been uploaded, and the parameter sso_status is Disabled, this parameter can be omitted, and the IdP Metadata will remain empty.
    sso_status str
    SAML SSO login enabled status. Valid values: Enabled or Disabled. Default to Disabled.
    encodedMetadataDocument String
    Base64 encoded IdP metadata document. NOTE: If the IdP Metadata has been uploaded, no update will be made if this parameter is not specified, otherwise the update will be made according to the parameter content. If IdP Metadata has not been uploaded, and the parameter sso_status is Enabled, this parameter must be provided. If the IdP Metadata has not been uploaded, and the parameter sso_status is Disabled, this parameter can be omitted, and the IdP Metadata will remain empty.
    ssoStatus String
    SAML SSO login enabled status. Valid values: Enabled or Disabled. Default to Disabled.

    Import

    Cloud SSO Directory can be imported using the id, e.g.

    $ pulumi import alicloud:cloudsso/directory:Directory example <id>
    

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.63.0 published on Monday, Sep 30, 2024 by Pulumi