O recurso ALIYUN::ClickHouse::EnterpriseDBClusterSecurityIP modifique a lista de permissões de um cluster.
Sintaxe
{
"Type": "ALIYUN::ClickHouse::EnterpriseDBClusterSecurityIP",
"Properties": {
"DbInstanceId": String,
"GroupName": String,
"SecurityIpList": String
}
}
Propriedades
|
Parâmetro |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
DbInstanceId |
String |
Sim |
Não |
ID do cluster. |
Nenhuma |
|
GroupName |
String |
Sim |
Não |
Nome do grupo da lista de permissões. |
Nenhuma |
|
SecurityIpList |
String |
Sim |
Sim |
Endereços IP e blocos CIDR do grupo da lista de permissões. |
Nenhuma |
Valores de retorno
Fn::GetAtt
GroupName: Nome do grupo da lista de permissões.
SecurityIpList: Endereços IP e blocos CIDR no grupo da lista de permissões.
SecurityIpType: Tipo de endereço IP.
WhitelistNetType: Tipo de rede da lista de permissões.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
GroupName:
Type: String
Description: The name of the whitelist whose settings you want to modify.
Required: true
SecurityIpList:
Type: String
Description: The IP addresses and CIDR blocks in the whitelist.
Required: true
DbInstanceId:
Type: String
Description: The cluster ID.
Required: true
Resources:
ExtensionResource:
Type: ALIYUN::ClickHouse::EnterpriseDBClusterSecurityIP
Properties:
GroupName:
Ref: GroupName
SecurityIpList:
Ref: SecurityIpList
DbInstanceId:
Ref: DbInstanceId
Outputs:
GroupName:
Description: The name of the whitelist whose settings you want to modify.
Value:
Fn::GetAtt:
- ExtensionResource
- GroupName
SecurityIpList:
Description: The IP addresses and CIDR blocks in the whitelist.
Value:
Fn::GetAtt:
- ExtensionResource
- SecurityIpList
SecurityIpType:
Description: The type of IP address.
Value:
Fn::GetAtt:
- ExtensionResource
- SecurityIpType
WhitelistNetType:
Description: The network type of the whitelist.
Value:
Fn::GetAtt:
- ExtensionResource
- WhitelistNetType
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"GroupName": {
"Type": "String",
"Description": "The name of the whitelist whose settings you want to modify.",
"Required": true
},
"SecurityIpList": {
"Type": "String",
"Description": "The IP addresses and CIDR blocks in the whitelist.",
"Required": true
},
"DbInstanceId": {
"Type": "String",
"Description": "The cluster ID.",
"Required": true
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::ClickHouse::EnterpriseDBClusterSecurityIP",
"Properties": {
"GroupName": {
"Ref": "GroupName"
},
"SecurityIpList": {
"Ref": "SecurityIpList"
},
"DbInstanceId": {
"Ref": "DbInstanceId"
}
}
}
},
"Outputs": {
"GroupName": {
"Description": "The name of the whitelist whose settings you want to modify.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"GroupName"
]
}
},
"SecurityIpList": {
"Description": "The IP addresses and CIDR blocks in the whitelist.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"SecurityIpList"
]
}
},
"SecurityIpType": {
"Description": "The type of IP address.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"SecurityIpType"
]
}
},
"WhitelistNetType": {
"Description": "The network type of the whitelist.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"WhitelistNetType"
]
}
}
}
}