alicloud.cloudsso.ScimServerCredential
Explore with Pulumi AI
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
Andus-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:
- Directory
Id string - The ID of the Directory.
- Status string
- The Status of the resource. Valid values:
Disabled
,Enabled
.
- Directory
Id string - The ID of the Directory.
- Status string
- The Status of the resource. Valid values:
Disabled
,Enabled
.
- directory
Id String - The ID of the Directory.
- status String
- The Status of the resource. Valid values:
Disabled
,Enabled
.
- directory
Id 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
.
- directory
Id 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:
- Credential
Id string - The CredentialId of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Credential
Id string - The CredentialId of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- credential
Id String - The CredentialId of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- credential
Id 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.
- credential
Id 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.
- Credential
Id string - The CredentialId of the resource.
- Directory
Id string - The ID of the Directory.
- Status string
- The Status of the resource. Valid values:
Disabled
,Enabled
.
- Credential
Id string - The CredentialId of the resource.
- Directory
Id string - The ID of the Directory.
- Status string
- The Status of the resource. Valid values:
Disabled
,Enabled
.
- credential
Id String - The CredentialId of the resource.
- directory
Id String - The ID of the Directory.
- status String
- The Status of the resource. Valid values:
Disabled
,Enabled
.
- credential
Id string - The CredentialId of the resource.
- directory
Id 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
.
- credential
Id String - The CredentialId of the resource.
- directory
Id 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.