1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cloudsso
  5. ScimServerCredential
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.cloudsso.ScimServerCredential

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    Provides a Cloud SSO SCIM Server Credential resource.

    For information about Cloud SSO SCIM Server Credential and how to use it, see What is Cloud SSO SCIM Server Credential.

    NOTE: Available since v1.138.0.

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

    Create ScimServerCredential Resource

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

    Constructor syntax

    new ScimServerCredential(name: string, args: ScimServerCredentialArgs, opts?: CustomResourceOptions);
    @overload
    def ScimServerCredential(resource_name: str,
                             args: ScimServerCredentialArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ScimServerCredential(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             directory_id: Optional[str] = None,
                             status: Optional[str] = None)
    func NewScimServerCredential(ctx *Context, name string, args ScimServerCredentialArgs, opts ...ResourceOption) (*ScimServerCredential, error)
    public ScimServerCredential(string name, ScimServerCredentialArgs args, CustomResourceOptions? opts = null)
    public ScimServerCredential(String name, ScimServerCredentialArgs args)
    public ScimServerCredential(String name, ScimServerCredentialArgs args, CustomResourceOptions options)
    
    type: alicloud:cloudsso:ScimServerCredential
    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 ScimServerCredentialArgs
    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 ScimServerCredentialArgs
    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 ScimServerCredentialArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScimServerCredentialArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScimServerCredentialArgs
    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 scimServerCredentialResource = new AliCloud.CloudSso.ScimServerCredential("scimServerCredentialResource", new()
    {
        DirectoryId = "string",
        Status = "string",
    });
    
    example, err := cloudsso.NewScimServerCredential(ctx, "scimServerCredentialResource", &cloudsso.ScimServerCredentialArgs{
    	DirectoryId: pulumi.String("string"),
    	Status:      pulumi.String("string"),
    })
    
    var scimServerCredentialResource = new ScimServerCredential("scimServerCredentialResource", ScimServerCredentialArgs.builder()
        .directoryId("string")
        .status("string")
        .build());
    
    scim_server_credential_resource = alicloud.cloudsso.ScimServerCredential("scimServerCredentialResource",
        directory_id="string",
        status="string")
    
    const scimServerCredentialResource = new alicloud.cloudsso.ScimServerCredential("scimServerCredentialResource", {
        directoryId: "string",
        status: "string",
    });
    
    type: alicloud:cloudsso:ScimServerCredential
    properties:
        directoryId: string
        status: string
    

    ScimServerCredential 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 ScimServerCredential resource accepts the following input properties:

    DirectoryId string
    The ID of the Directory.
    Status string
    The Status of the resource. Valid values: Disabled, Enabled.
    DirectoryId string
    The ID of the Directory.
    Status string
    The Status of the resource. Valid values: Disabled, Enabled.
    directoryId String
    The ID of the Directory.
    status String
    The Status of the resource. Valid values: Disabled, Enabled.
    directoryId string
    The ID of the Directory.
    status string
    The Status of the resource. Valid values: Disabled, Enabled.
    directory_id str
    The ID of the Directory.
    status str
    The Status of the resource. Valid values: Disabled, Enabled.
    directoryId String
    The ID of the Directory.
    status String
    The Status of the resource. Valid values: Disabled, Enabled.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ScimServerCredential resource produces the following output properties:

    CredentialId string
    The CredentialId of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    CredentialId string
    The CredentialId of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    credentialId String
    The CredentialId of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    credentialId string
    The CredentialId of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    credential_id str
    The CredentialId of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    credentialId String
    The CredentialId of the resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ScimServerCredential Resource

    Get an existing ScimServerCredential 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?: ScimServerCredentialState, opts?: CustomResourceOptions): ScimServerCredential
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            credential_id: Optional[str] = None,
            directory_id: Optional[str] = None,
            status: Optional[str] = None) -> ScimServerCredential
    func GetScimServerCredential(ctx *Context, name string, id IDInput, state *ScimServerCredentialState, opts ...ResourceOption) (*ScimServerCredential, error)
    public static ScimServerCredential Get(string name, Input<string> id, ScimServerCredentialState? state, CustomResourceOptions? opts = null)
    public static ScimServerCredential get(String name, Output<String> id, ScimServerCredentialState 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:
    CredentialId string
    The CredentialId of the resource.
    DirectoryId string
    The ID of the Directory.
    Status string
    The Status of the resource. Valid values: Disabled, Enabled.
    CredentialId string
    The CredentialId of the resource.
    DirectoryId string
    The ID of the Directory.
    Status string
    The Status of the resource. Valid values: Disabled, Enabled.
    credentialId String
    The CredentialId of the resource.
    directoryId String
    The ID of the Directory.
    status String
    The Status of the resource. Valid values: Disabled, Enabled.
    credentialId string
    The CredentialId of the resource.
    directoryId string
    The ID of the Directory.
    status string
    The Status of the resource. Valid values: Disabled, Enabled.
    credential_id str
    The CredentialId of the resource.
    directory_id str
    The ID of the Directory.
    status str
    The Status of the resource. Valid values: Disabled, Enabled.
    credentialId String
    The CredentialId of the resource.
    directoryId String
    The ID of the Directory.
    status String
    The Status of the resource. Valid values: Disabled, Enabled.

    Import

    Cloud SSO SCIM Server Credential can be imported using the id, e.g.

    $ pulumi import alicloud:cloudsso/scimServerCredential:ScimServerCredential example <directory_id>:<credential_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.57.1 published on Wednesday, Jun 26, 2024 by Pulumi