O recurso ALIYUN::VPC::Ipv6Gateway cria um gateway IPv6.
Sintaxe
{
"Type": "ALIYUN::VPC::Ipv6Gateway",
"Properties": {
"Description": String,
"VpcId": String,
"Spec": String,
"Name": String,
"Tags": List,
"ResourceGroupId": String
}
}
Propriedades
Propriedade | Tipo | Obrigatório | Editável | Descrição | Restrição |
Description | String | Não | Sim | Descrição do gateway IPv6. | A descrição deve ter de 2 a 256 caracteres. Deve começar com uma letra ou caractere chinês, mas não com |
VpcId | String | Sim | Não | ID da Virtual Private Cloud (VPC) onde o gateway IPv6 será criado. | Nenhuma. |
Spec | String | Não | Sim | Edição do gateway IPv6. | Valores válidos:
|
ResourceGroupId | String | Não | Não | ID do grupo de recursos. | Nenhuma. |
Name | String | Não | Sim | Nome do gateway IPv6. | O nome deve ter de 2 a 256 caracteres. Deve começar com uma letra ou caractere chinês, mas não com |
Tags | List | Não | Sim | As tags. | É possível adicionar até 20 tags. Para mais informações, consulte Propriedades de Tags. |
Sintaxe de Tags
"Tags": [
{
"Key": String,
"Value": String
}
]
Propriedades de Tags
|
Propriedade |
Tipo |
Obrigatório |
Editável |
Descrição |
Restrição |
|
Key |
String |
Sim |
Não |
Chave da tag. |
A chave da tag deve ter de 1 a 128 caracteres. Não pode começar com |
|
Value |
String |
Não |
Não |
Valor da tag. |
O valor da tag deve ter de 0 a 128 caracteres. Não pode começar com |
Valores de retorno
Fn::GetAtt
Ipv6GatewayId: ID do gateway IPv6.
Arn: Alibaba Cloud Resource Name (ARN).
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
VPC:
AssociationProperty: ALIYUN::ECS::VPC::VPCId
Type: String
Description: Please search the ID starts with (vpc-xxx)from console-Virtual Private Cloud
Label: Existing VPC Instance ID
Resources:
Ipv6Gateway:
Type: ALIYUN::VPC::Ipv6Gateway
Properties:
VpcId:
Ref: VPC
Spec: Small
Outputs:
Ipv6GatewayId:
Description: ID IPv6 gateway.
Value:
Fn::GetAtt:
- Ipv6Gateway
- Ipv6GatewayId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"VPC": {
"AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
"Type": "String",
"Description": "Please search the ID starts with (vpc-xxx)from console-Virtual Private Cloud",
"Label": "Existing VPC Instance ID"
}
},
"Resources": {
"Ipv6Gateway": {
"Type": "ALIYUN::VPC::Ipv6Gateway",
"Properties": {
"VpcId": {
"Ref": "VPC"
},
"Spec": "Small"
}
}
},
"Outputs": {
"Ipv6GatewayId": {
"Description": "ID IPv6 gateway.",
"Value": {
"Fn::GetAtt": [
"Ipv6Gateway",
"Ipv6GatewayId"
]
}
}
}
}