Consulta os detalhes de um filtro de IP específico do DirectMail.
Sintaxe
{
"Type": "DATASOURCE::DirectMail::Ipfilter",
"Properties": {
"IpfilterId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
IpfilterId |
String |
Sim |
Sim |
ID do filtro de IP. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da source de dados ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
CreateTime: timestamp de criação.
IpAddress: endereço IP, intervalo de IPs ou bloco CIDR.
IpfilterId: ID do filtro de IP.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
IpfilterId:
Type: String
Description:
en: The ID of the resource.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::DirectMail::Ipfilter
Properties:
IpfilterId:
Ref: IpfilterId
Outputs:
CreateTime:
Description: The creation time of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
IpAddress:
Description: The IP address of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IpAddress
IpfilterId:
Description: The ID of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IpfilterId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"IpfilterId": {
"Type": "String",
"Description": {
"en": "The ID of the resource."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::DirectMail::Ipfilter",
"Properties": {
"IpfilterId": {
"Ref": "IpfilterId"
}
}
}
},
"Outputs": {
"CreateTime": {
"Description": "The creation time of the resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"IpAddress": {
"Description": "The IP address of the resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IpAddress"
]
}
},
"IpfilterId": {
"Description": "The ID of the resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IpfilterId"
]
}
}
}
}