alicloud.cloudsso.UserProvisioning
Explore with Pulumi AI
Provides a Cloud SSO User Provisioning resource.
RAM user synchronization.
For information about Cloud SSO User Provisioning and how to use it, see What is User Provisioning.
NOTE: Available since v1.260.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
import * as std from "@pulumi/std";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.getAccount({});
const defaultGetDirectories = alicloud.cloudsso.getDirectories({});
const defaultInteger = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const defaultDirectory: alicloud.cloudsso.Directory[] = [];
defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids).length.apply(length => {
for (const range = {value: 0}; range.value < (length > 0 ? 0 : 1); range.value++) {
defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range.value}`, {directoryName: name}));
}
});
const directoryId = pulumi.all([defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids).length, defaultGetDirectories, std.concat({
input: [
defaultDirectory.map(__item => __item.id),
[""],
],
})]).apply(([length, defaultGetDirectories, invoke]) => length > 0 ? defaultGetDirectories.ids?.[0] : invoke.result?.[0]);
const defaultUser = new alicloud.cloudsso.User("default", {
directoryId: directoryId,
userName: `${name}-${defaultInteger.result}`,
});
const defaultGroup = new alicloud.cloudsso.Group("default", {
directoryId: directoryId,
groupName: name,
description: name,
});
const defaultUserProvisioning = new alicloud.cloudsso.UserProvisioning("default", {
description: "description",
principalId: defaultUser.userId,
targetType: "RD-Account",
deletionStrategy: "Keep",
duplicationStrategy: "KeepBoth",
principalType: "User",
targetId: _default.then(_default => _default.id),
directoryId: defaultUser.directoryId,
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
import pulumi_std as std
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.get_account()
default_get_directories = alicloud.cloudsso.get_directories()
default_integer = random.index.Integer("default",
min=10000,
max=99999)
default_directory = []
def create_default(range_body):
for range in [{"value": i} for i in range(0, range_body)]:
default_directory.append(alicloud.cloudsso.Directory(f"default-{range['value']}", directory_name=name))
len(default_get_directories.ids).apply(lambda resolved_outputs: create_default(0 if resolved_outputs['length'] > 0 else 1))
directory_id = len(default_get_directories.ids).apply(lambda length: default_get_directories.ids[0] if length > 0 else std.concat(input=[
[__item.id for __item in default_directory],
[""],
]).result[0])
default_user = alicloud.cloudsso.User("default",
directory_id=directory_id,
user_name=f"{name}-{default_integer['result']}")
default_group = alicloud.cloudsso.Group("default",
directory_id=directory_id,
group_name=name,
description=name)
default_user_provisioning = alicloud.cloudsso.UserProvisioning("default",
description="description",
principal_id=default_user.user_id,
target_type="RD-Account",
deletion_strategy="Keep",
duplication_strategy="KeepBoth",
principal_type="User",
target_id=default.id,
directory_id=default_user.directory_id)
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudsso"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi-std/sdk/go/std"
"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 := "terraform-example";
if param := cfg.Get("name"); param != ""{
name = param
}
_default, err := alicloud.GetAccount(ctx, map[string]interface{}{
}, nil);
if err != nil {
return err
}
defaultGetDirectories, err := cloudsso.GetDirectories(ctx, &cloudsso.GetDirectoriesArgs{
}, nil);
if err != nil {
return err
}
defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
var tmp0 float64
if length > 0 {
tmp0 = 0
} else {
tmp0 = 1
}
var defaultDirectory []*cloudsso.Directory
for index := 0; index < float64(len(defaultGetDirectories.Ids).ApplyT(func(length int) (float64, error) {
return tmp0, nil
}).(pulumi.Float64Output)); 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)
}
var tmp1 *interface{}
if length > 0 {
tmp1 = defaultGetDirectories.Ids[0]
} else {
tmp1 = std.Concat(ctx, &std.ConcatArgs{
Input: pulumi.StringArrayArray{
%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:47,12-34),
[]string{
"",
},
},
}, nil).Result[0]
}
directoryId := len(defaultGetDirectories.Ids).ApplyT(func(length int) (*interface{}, error) {
return &tmp1, nil
}).(pulumi.Interface{}PtrOutput)
defaultUser, err := cloudsso.NewUser(ctx, "default", &cloudsso.UserArgs{
DirectoryId: pulumi.Any(directoryId),
UserName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
})
if err != nil {
return err
}
_, err = cloudsso.NewGroup(ctx, "default", &cloudsso.GroupArgs{
DirectoryId: pulumi.Any(directoryId),
GroupName: pulumi.String(name),
Description: pulumi.String(name),
})
if err != nil {
return err
}
_, err = cloudsso.NewUserProvisioning(ctx, "default", &cloudsso.UserProvisioningArgs{
Description: pulumi.String("description"),
PrincipalId: defaultUser.UserId,
TargetType: pulumi.String("RD-Account"),
DeletionStrategy: pulumi.String("Keep"),
DuplicationStrategy: pulumi.String("KeepBoth"),
PrincipalType: pulumi.String("User"),
TargetId: pulumi.String(_default.Id),
DirectoryId: defaultUser.DirectoryId,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.GetAccount.Invoke();
var defaultGetDirectories = AliCloud.CloudSso.GetDirectories.Invoke();
var defaultInteger = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var defaultDirectory = new List<AliCloud.CloudSso.Directory>();
for (var rangeIndex = 0; rangeIndex < defaultGetDirectories.Apply(getDirectoriesResult => getDirectoriesResult.Ids).Length.Apply(length => length > 0 ? 0 : 1); rangeIndex++)
{
var range = new { Value = rangeIndex };
defaultDirectory.Add(new AliCloud.CloudSso.Directory($"default-{range.Value}", new()
{
DirectoryName = name,
}));
}
var directoryId = Output.Tuple(defaultGetDirectories.Apply(getDirectoriesResult => getDirectoriesResult.Ids).Length, defaultGetDirectories, Std.Concat.Invoke(new()
{
Input = new[]
{
defaultDirectory.Select(__item => __item.Id).ToList(),
new[]
{
"",
},
},
})).Apply(values =>
{
var length = values.Item1;
var defaultGetDirectories = values.Item2;
var invoke = values.Item3;
return length > 0 ? defaultGetDirectories.Apply(getDirectoriesResult => getDirectoriesResult.Ids[0]) : invoke.Result[0];
});
var defaultUser = new AliCloud.CloudSso.User("default", new()
{
DirectoryId = directoryId,
UserName = $"{name}-{defaultInteger.Result}",
});
var defaultGroup = new AliCloud.CloudSso.Group("default", new()
{
DirectoryId = directoryId,
GroupName = name,
Description = name,
});
var defaultUserProvisioning = new AliCloud.CloudSso.UserProvisioning("default", new()
{
Description = "description",
PrincipalId = defaultUser.UserId,
TargetType = "RD-Account",
DeletionStrategy = "Keep",
DuplicationStrategy = "KeepBoth",
PrincipalType = "User",
TargetId = @default.Apply(@default => @default.Apply(getAccountResult => getAccountResult.Id)),
DirectoryId = defaultUser.DirectoryId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.cloudsso.CloudssoFunctions;
import com.pulumi.alicloud.cloudsso.inputs.GetDirectoriesArgs;
import com.pulumi.random.Integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.cloudsso.Directory;
import com.pulumi.alicloud.cloudsso.DirectoryArgs;
import com.pulumi.std.StdFunctions;
import com.pulumi.std.inputs.ConcatArgs;
import com.pulumi.alicloud.cloudsso.User;
import com.pulumi.alicloud.cloudsso.UserArgs;
import com.pulumi.alicloud.cloudsso.Group;
import com.pulumi.alicloud.cloudsso.GroupArgs;
import com.pulumi.alicloud.cloudsso.UserProvisioning;
import com.pulumi.alicloud.cloudsso.UserProvisioningArgs;
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("terraform-example");
final var default = AlicloudFunctions.getAccount(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
final var defaultGetDirectories = CloudssoFunctions.getDirectories(GetDirectoriesArgs.builder()
.build());
var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
for (var i = 0; i < defaultGetDirectories.ids().length().applyValue(_length -> _length > 0 ? 0 : 1); i++) {
new Directory("defaultDirectory-" + i, DirectoryArgs.builder()
.directoryName(name)
.build());
}
final var directoryId = defaultGetDirectories.ids().length().applyValue(_length -> _length > 0 ? defaultGetDirectories.ids()[0] : StdFunctions.concat(ConcatArgs.builder()
.input(
defaultDirectory.stream().map(element -> element.id()).collect(toList()),
"")
.build()).result()[0]);
var defaultUser = new User("defaultUser", UserArgs.builder()
.directoryId(directoryId)
.userName(String.format("%s-%s", name,defaultInteger.result()))
.build());
var defaultGroup = new Group("defaultGroup", GroupArgs.builder()
.directoryId(directoryId)
.groupName(name)
.description(name)
.build());
var defaultUserProvisioning = new UserProvisioning("defaultUserProvisioning", UserProvisioningArgs.builder()
.description("description")
.principalId(defaultUser.userId())
.targetType("RD-Account")
.deletionStrategy("Keep")
.duplicationStrategy("KeepBoth")
.principalType("User")
.targetId(default_.id())
.directoryId(defaultUser.directoryId())
.build());
}
}
Example coming soon!
Create UserProvisioning Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserProvisioning(name: string, args: UserProvisioningArgs, opts?: CustomResourceOptions);
@overload
def UserProvisioning(resource_name: str,
args: UserProvisioningArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UserProvisioning(resource_name: str,
opts: Optional[ResourceOptions] = None,
deletion_strategy: Optional[str] = None,
directory_id: Optional[str] = None,
duplication_strategy: Optional[str] = None,
principal_id: Optional[str] = None,
principal_type: Optional[str] = None,
target_id: Optional[str] = None,
target_type: Optional[str] = None,
description: Optional[str] = None)
func NewUserProvisioning(ctx *Context, name string, args UserProvisioningArgs, opts ...ResourceOption) (*UserProvisioning, error)
public UserProvisioning(string name, UserProvisioningArgs args, CustomResourceOptions? opts = null)
public UserProvisioning(String name, UserProvisioningArgs args)
public UserProvisioning(String name, UserProvisioningArgs args, CustomResourceOptions options)
type: alicloud:cloudsso:UserProvisioning
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 UserProvisioningArgs
- 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 UserProvisioningArgs
- 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 UserProvisioningArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserProvisioningArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserProvisioningArgs
- 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 userProvisioningResource = new AliCloud.CloudSso.UserProvisioning("userProvisioningResource", new()
{
DeletionStrategy = "string",
DirectoryId = "string",
DuplicationStrategy = "string",
PrincipalId = "string",
PrincipalType = "string",
TargetId = "string",
TargetType = "string",
Description = "string",
});
example, err := cloudsso.NewUserProvisioning(ctx, "userProvisioningResource", &cloudsso.UserProvisioningArgs{
DeletionStrategy: pulumi.String("string"),
DirectoryId: pulumi.String("string"),
DuplicationStrategy: pulumi.String("string"),
PrincipalId: pulumi.String("string"),
PrincipalType: pulumi.String("string"),
TargetId: pulumi.String("string"),
TargetType: pulumi.String("string"),
Description: pulumi.String("string"),
})
var userProvisioningResource = new UserProvisioning("userProvisioningResource", UserProvisioningArgs.builder()
.deletionStrategy("string")
.directoryId("string")
.duplicationStrategy("string")
.principalId("string")
.principalType("string")
.targetId("string")
.targetType("string")
.description("string")
.build());
user_provisioning_resource = alicloud.cloudsso.UserProvisioning("userProvisioningResource",
deletion_strategy="string",
directory_id="string",
duplication_strategy="string",
principal_id="string",
principal_type="string",
target_id="string",
target_type="string",
description="string")
const userProvisioningResource = new alicloud.cloudsso.UserProvisioning("userProvisioningResource", {
deletionStrategy: "string",
directoryId: "string",
duplicationStrategy: "string",
principalId: "string",
principalType: "string",
targetId: "string",
targetType: "string",
description: "string",
});
type: alicloud:cloudsso:UserProvisioning
properties:
deletionStrategy: string
description: string
directoryId: string
duplicationStrategy: string
principalId: string
principalType: string
targetId: string
targetType: string
UserProvisioning 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 UserProvisioning resource accepts the following input properties:
- Deletion
Strategy string - The processing policy for users who have been synchronized when deleting synchronization
- Directory
Id string - The ID of the directory to which the synchronization belongs
- Duplication
Strategy string - Processing Policy for Synchronization Conflicts
- Principal
Id string - The ID of the CloudSSO user/group associated with the synchronization.
- Principal
Type string - The ID of the CloudSSO user/group associated with the synchronization.
- Target
Id string - The ID of the destination associated with the synchronization.
- Target
Type string - The target type associated with the synchronization
- Description string
- Description of User Synchronization
- Deletion
Strategy string - The processing policy for users who have been synchronized when deleting synchronization
- Directory
Id string - The ID of the directory to which the synchronization belongs
- Duplication
Strategy string - Processing Policy for Synchronization Conflicts
- Principal
Id string - The ID of the CloudSSO user/group associated with the synchronization.
- Principal
Type string - The ID of the CloudSSO user/group associated with the synchronization.
- Target
Id string - The ID of the destination associated with the synchronization.
- Target
Type string - The target type associated with the synchronization
- Description string
- Description of User Synchronization
- deletion
Strategy String - The processing policy for users who have been synchronized when deleting synchronization
- directory
Id String - The ID of the directory to which the synchronization belongs
- duplication
Strategy String - Processing Policy for Synchronization Conflicts
- principal
Id String - The ID of the CloudSSO user/group associated with the synchronization.
- principal
Type String - The ID of the CloudSSO user/group associated with the synchronization.
- target
Id String - The ID of the destination associated with the synchronization.
- target
Type String - The target type associated with the synchronization
- description String
- Description of User Synchronization
- deletion
Strategy string - The processing policy for users who have been synchronized when deleting synchronization
- directory
Id string - The ID of the directory to which the synchronization belongs
- duplication
Strategy string - Processing Policy for Synchronization Conflicts
- principal
Id string - The ID of the CloudSSO user/group associated with the synchronization.
- principal
Type string - The ID of the CloudSSO user/group associated with the synchronization.
- target
Id string - The ID of the destination associated with the synchronization.
- target
Type string - The target type associated with the synchronization
- description string
- Description of User Synchronization
- deletion_
strategy str - The processing policy for users who have been synchronized when deleting synchronization
- directory_
id str - The ID of the directory to which the synchronization belongs
- duplication_
strategy str - Processing Policy for Synchronization Conflicts
- principal_
id str - The ID of the CloudSSO user/group associated with the synchronization.
- principal_
type str - The ID of the CloudSSO user/group associated with the synchronization.
- target_
id str - The ID of the destination associated with the synchronization.
- target_
type str - The target type associated with the synchronization
- description str
- Description of User Synchronization
- deletion
Strategy String - The processing policy for users who have been synchronized when deleting synchronization
- directory
Id String - The ID of the directory to which the synchronization belongs
- duplication
Strategy String - Processing Policy for Synchronization Conflicts
- principal
Id String - The ID of the CloudSSO user/group associated with the synchronization.
- principal
Type String - The ID of the CloudSSO user/group associated with the synchronization.
- target
Id String - The ID of the destination associated with the synchronization.
- target
Type String - The target type associated with the synchronization
- description String
- Description of User Synchronization
Outputs
All input properties are implicitly available as output properties. Additionally, the UserProvisioning resource produces the following output properties:
- Create
Time string - The creation time of the synchronization
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource
- User
Provisioning stringId - The first ID of the resource
- User
Provisioning List<Pulumi.Statistics Ali Cloud. Cloud Sso. Outputs. User Provisioning User Provisioning Statistic> - User Provisioning statistics
- Create
Time string - The creation time of the synchronization
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource
- User
Provisioning stringId - The first ID of the resource
- User
Provisioning []UserStatistics Provisioning User Provisioning Statistic - User Provisioning statistics
- create
Time String - The creation time of the synchronization
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource
- user
Provisioning StringId - The first ID of the resource
- user
Provisioning List<UserStatistics Provisioning User Provisioning Statistic> - User Provisioning statistics
- create
Time string - The creation time of the synchronization
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the resource
- user
Provisioning stringId - The first ID of the resource
- user
Provisioning UserStatistics Provisioning User Provisioning Statistic[] - User Provisioning statistics
- create_
time str - The creation time of the synchronization
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the resource
- user_
provisioning_ strid - The first ID of the resource
- user_
provisioning_ Sequence[Userstatistics Provisioning User Provisioning Statistic] - User Provisioning statistics
- create
Time String - The creation time of the synchronization
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource
- user
Provisioning StringId - The first ID of the resource
- user
Provisioning List<Property Map>Statistics - User Provisioning statistics
Look up Existing UserProvisioning Resource
Get an existing UserProvisioning 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?: UserProvisioningState, opts?: CustomResourceOptions): UserProvisioning
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
deletion_strategy: Optional[str] = None,
description: Optional[str] = None,
directory_id: Optional[str] = None,
duplication_strategy: Optional[str] = None,
principal_id: Optional[str] = None,
principal_type: Optional[str] = None,
status: Optional[str] = None,
target_id: Optional[str] = None,
target_type: Optional[str] = None,
user_provisioning_id: Optional[str] = None,
user_provisioning_statistics: Optional[Sequence[UserProvisioningUserProvisioningStatisticArgs]] = None) -> UserProvisioning
func GetUserProvisioning(ctx *Context, name string, id IDInput, state *UserProvisioningState, opts ...ResourceOption) (*UserProvisioning, error)
public static UserProvisioning Get(string name, Input<string> id, UserProvisioningState? state, CustomResourceOptions? opts = null)
public static UserProvisioning get(String name, Output<String> id, UserProvisioningState state, CustomResourceOptions options)
resources: _: type: alicloud:cloudsso:UserProvisioning 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.
- Create
Time string - The creation time of the synchronization
- Deletion
Strategy string - The processing policy for users who have been synchronized when deleting synchronization
- Description string
- Description of User Synchronization
- Directory
Id string - The ID of the directory to which the synchronization belongs
- Duplication
Strategy string - Processing Policy for Synchronization Conflicts
- Principal
Id string - The ID of the CloudSSO user/group associated with the synchronization.
- Principal
Type string - The ID of the CloudSSO user/group associated with the synchronization.
- Status string
- The status of the resource
- Target
Id string - The ID of the destination associated with the synchronization.
- Target
Type string - The target type associated with the synchronization
- User
Provisioning stringId - The first ID of the resource
- User
Provisioning List<Pulumi.Statistics Ali Cloud. Cloud Sso. Inputs. User Provisioning User Provisioning Statistic> - User Provisioning statistics
- Create
Time string - The creation time of the synchronization
- Deletion
Strategy string - The processing policy for users who have been synchronized when deleting synchronization
- Description string
- Description of User Synchronization
- Directory
Id string - The ID of the directory to which the synchronization belongs
- Duplication
Strategy string - Processing Policy for Synchronization Conflicts
- Principal
Id string - The ID of the CloudSSO user/group associated with the synchronization.
- Principal
Type string - The ID of the CloudSSO user/group associated with the synchronization.
- Status string
- The status of the resource
- Target
Id string - The ID of the destination associated with the synchronization.
- Target
Type string - The target type associated with the synchronization
- User
Provisioning stringId - The first ID of the resource
- User
Provisioning []UserStatistics Provisioning User Provisioning Statistic Args - User Provisioning statistics
- create
Time String - The creation time of the synchronization
- deletion
Strategy String - The processing policy for users who have been synchronized when deleting synchronization
- description String
- Description of User Synchronization
- directory
Id String - The ID of the directory to which the synchronization belongs
- duplication
Strategy String - Processing Policy for Synchronization Conflicts
- principal
Id String - The ID of the CloudSSO user/group associated with the synchronization.
- principal
Type String - The ID of the CloudSSO user/group associated with the synchronization.
- status String
- The status of the resource
- target
Id String - The ID of the destination associated with the synchronization.
- target
Type String - The target type associated with the synchronization
- user
Provisioning StringId - The first ID of the resource
- user
Provisioning List<UserStatistics Provisioning User Provisioning Statistic> - User Provisioning statistics
- create
Time string - The creation time of the synchronization
- deletion
Strategy string - The processing policy for users who have been synchronized when deleting synchronization
- description string
- Description of User Synchronization
- directory
Id string - The ID of the directory to which the synchronization belongs
- duplication
Strategy string - Processing Policy for Synchronization Conflicts
- principal
Id string - The ID of the CloudSSO user/group associated with the synchronization.
- principal
Type string - The ID of the CloudSSO user/group associated with the synchronization.
- status string
- The status of the resource
- target
Id string - The ID of the destination associated with the synchronization.
- target
Type string - The target type associated with the synchronization
- user
Provisioning stringId - The first ID of the resource
- user
Provisioning UserStatistics Provisioning User Provisioning Statistic[] - User Provisioning statistics
- create_
time str - The creation time of the synchronization
- deletion_
strategy str - The processing policy for users who have been synchronized when deleting synchronization
- description str
- Description of User Synchronization
- directory_
id str - The ID of the directory to which the synchronization belongs
- duplication_
strategy str - Processing Policy for Synchronization Conflicts
- principal_
id str - The ID of the CloudSSO user/group associated with the synchronization.
- principal_
type str - The ID of the CloudSSO user/group associated with the synchronization.
- status str
- The status of the resource
- target_
id str - The ID of the destination associated with the synchronization.
- target_
type str - The target type associated with the synchronization
- user_
provisioning_ strid - The first ID of the resource
- user_
provisioning_ Sequence[Userstatistics Provisioning User Provisioning Statistic Args] - User Provisioning statistics
- create
Time String - The creation time of the synchronization
- deletion
Strategy String - The processing policy for users who have been synchronized when deleting synchronization
- description String
- Description of User Synchronization
- directory
Id String - The ID of the directory to which the synchronization belongs
- duplication
Strategy String - Processing Policy for Synchronization Conflicts
- principal
Id String - The ID of the CloudSSO user/group associated with the synchronization.
- principal
Type String - The ID of the CloudSSO user/group associated with the synchronization.
- status String
- The status of the resource
- target
Id String - The ID of the destination associated with the synchronization.
- target
Type String - The target type associated with the synchronization
- user
Provisioning StringId - The first ID of the resource
- user
Provisioning List<Property Map>Statistics - User Provisioning statistics
Supporting Types
UserProvisioningUserProvisioningStatistic, UserProvisioningUserProvisioningStatisticArgs
- Failed
Event intCount - Number of failed events
- Gmt
Latest stringSync - Last Provisioning time
- Failed
Event intCount - Number of failed events
- Gmt
Latest stringSync - Last Provisioning time
- failed
Event IntegerCount - Number of failed events
- gmt
Latest StringSync - Last Provisioning time
- failed
Event numberCount - Number of failed events
- gmt
Latest stringSync - Last Provisioning time
- failed_
event_ intcount - Number of failed events
- gmt_
latest_ strsync - Last Provisioning time
- failed
Event NumberCount - Number of failed events
- gmt
Latest StringSync - Last Provisioning time
Import
Cloud SSO User Provisioning can be imported using the id, e.g.
$ pulumi import alicloud:cloudsso/userProvisioning:UserProvisioning example <directory_id>:<user_provisioning_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.