Provisiona uma configuração de acesso para uma conta no diretório de recursos.
Sintaxe
{
"Type": "ALIYUN::CloudSSO::AccessConfigurationProvision",
"Properties": {
"DirectoryId": String,
"TargetType": String,
"AccessConfigurationId": String,
"TargetId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
AccessConfigurationId |
String |
Sim |
Não |
ID da configuração de acesso. |
Nenhuma. |
|
DirectoryId |
String |
Sim |
Não |
ID do diretório. |
Nenhuma. |
|
TargetId |
String |
Sim |
Não |
ID do objeto de destino. |
Nenhuma. |
|
TargetType |
String |
Sim |
Não |
Tipo do objeto de destino. |
Valor válido: RD-Account (especifica contas no diretório de recursos). |
Valores de retorno
Fn::GetAtt
Nenhum.
Exemplos
Formato YAML
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AccessConfigurationId:
Description:
en: The ID of the access configuration.
Required: true
Type: String
DirectoryId:
Description:
en: The ID of the directory.
Required: true
Type: String
TargetId:
Description:
en: The ID of the task object.
Required: true
Type: String
TargetType:
AllowedValues:
- RD-Account
Description:
en: The type of the task object. Set the value to RD-Account, which specifies
the accounts in the resource directory.
Required: true
Type: String
Resources:
AccessConfigurationProvision:
Properties:
AccessConfigurationId:
Ref: AccessConfigurationId
DirectoryId:
Ref: DirectoryId
TargetId:
Ref: TargetId
TargetType:
Ref: TargetType
Type: ALIYUN::CloudSSO::AccessConfigurationProvision
Formato JSON
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"DirectoryId": {
"Type": "String",
"Description": {
"en": "The ID of the directory."
},
"Required": true
},
"TargetType": {
"Type": "String",
"Description": {
"en": "The type of the task object. Set the value to RD-Account, which specifies the accounts in the resource directory."
},
"AllowedValues": [
"RD-Account"
],
"Required": true
},
"AccessConfigurationId": {
"Type": "String",
"Description": {
"en": "The ID of the access configuration."
},
"Required": true
},
"TargetId": {
"Type": "String",
"Description": {
"en": "The ID of the task object."
},
"Required": true
}
},
"Resources": {
"AccessConfigurationProvision": {
"Type": "ALIYUN::CloudSSO::AccessConfigurationProvision",
"Properties": {
"DirectoryId": {
"Ref": "DirectoryId"
},
"TargetType": {
"Ref": "TargetType"
},
"AccessConfigurationId": {
"Ref": "AccessConfigurationId"
},
"TargetId": {
"Ref": "TargetId"
}
}
}
}
}