O tipo DATASOURCE::EIP::Address consulta informações sobre um elastic IP address (EIP) já criado.
Sintaxe
{
"Type": "DATASOURCE::EIP::Address",
"Properties": {
"AllocationId": String,
"RefreshOptions": String
}
}
Propriedades
Propriedade | Tipo | Obrigatório | Editável | Descrição | Restrição |
AllocationId | String | Sim | Sim | ID do EIP. | Nenhuma. |
RefreshOptions | String | Não | Sim | Política de atualização dos recursos da fonte de dados durante a atualização da pilha. | Valores válidos:
|
Valores de retorno
Fn::GetAtt
Description: descrição do EIP.
ResourceGroupId: ID do grupo de recursos.
ServiceManaged: indica se a conta de serviço criou o recurso.
AllocationId: ID do EIP.
SecondLimited: indica se há limitação de taxa de nível 2 configurada.
BusinessStatus: status operacional do EIP.
ReservationOrderType: tipo do pedido de renovação.
SegmentInstanceId: ID do grupo de EIPs contíguos.
InstanceRegionId: ID da região do recurso associado ao EIP.
ExpiredTime: horário de expiração.
Bandwidth: largura de banda máxima do EIP.
BandwidthPackageId: ID da instância de Internet Shared Bandwidth associada ao EIP.
PaymentType: método de faturamento do EIP.
InstanceType: tipo da instância associada ao EIP.
ReservationActiveTime: momento em que a renovação entra em vigor.
ReservationBandwidth: largura de banda vigente após a renovação.
Tags: tags do EIP.
InstanceId: ID da instância associada ao EIP.
Isp: tipo de linha.
CreateTime: horário de criação do EIP.
HasReservationData: indica se existem dados de renovação.
PublicIpAddressPoolId: ID do pool de endereços IP ao qual o EIP pertence.
DeletionProtection: indica se a proteção contra exclusão está ativada.
BandwidthPackageType: tipo de largura de banda.
OperationLocks: detalhes do bloqueio do EIP.
BandwidthPackageBandwidth: largura de banda da instância de Internet Shared Bandwidth associada ao EIP.
ReservationInternetChargeType: método de medição vigente após a renovação.
AddressName: nome do EIP.
EipBandwidth: largura de banda do EIP após associação ou desassociação da instância de Internet Shared Bandwidth.
Netmode: tipo de rede.
SecurityProtectionTypes: edições do Anti-DDoS.
IpAddress: endereço IP do EIP.
HdMonitorStatus: indica se o monitoramento detalhado está ativado para o EIP.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AllocationId:
Description:
en: The ID of the EIP instance.
Required: true
Type: String
Resources:
ExtensionDataSource:
Properties:
AllocationId:
Ref: AllocationId
Type: DATASOURCE::EIP::Address
Outputs:
AddressName:
Description: The name of the EIP.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AddressName
AllocationId:
Description: The ID of the EIP instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AllocationId
Bandwidth:
Description: 'The peak bandwidth of the EIP. Unit: Mbps.'
Value:
Fn::GetAtt:
- ExtensionDataSource
- Bandwidth
BandwidthPackageBandwidth:
Description: The bandwidth value of the Internet shared bandwidth added to the
EIP. The unit is Mbps.
Value:
Fn::GetAtt:
- ExtensionDataSource
- BandwidthPackageBandwidth
BandwidthPackageId:
Description: The ID of the added shared bandwidth.
Value:
Fn::GetAtt:
- ExtensionDataSource
- BandwidthPackageId
BandwidthPackageType:
Description: The type of bandwidth. Only **CommonBandwidthPackage** (shared bandwidth)
is supported.
Value:
Fn::GetAtt:
- ExtensionDataSource
- BandwidthPackageType
BusinessStatus:
Description: The business status of the EIP instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- BusinessStatus
CreateTime:
Description: The time when the EIP was created.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
DeletionProtection:
Description: Whether the delete protection function is turned on.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DeletionProtection
Description:
Description: The description of the EIP instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Description
EipBandwidth:
Description: AN EIP is added to an Internet shared bandwidth before or exit purchase
an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth.
Value:
Fn::GetAtt:
- ExtensionDataSource
- EipBandwidth
ExpiredTime:
Description: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ExpiredTime
HasReservationData:
Description: Whether there is renewal data.
Value:
Fn::GetAtt:
- ExtensionDataSource
- HasReservationData
HdMonitorStatus:
Description: Whether the second-level monitoring is enabled for the EIP.
Value:
Fn::GetAtt:
- ExtensionDataSource
- HdMonitorStatus
InstanceId:
Description: The ID of the current bound instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceId
InstanceRegionId:
Description: The region ID of the currently bound resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceRegionId
InstanceType:
Description: The type of the current bound instance.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceType
IpAddress:
Description: The IP address of the EIP.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IpAddress
Isp:
Description: Service providers.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Isp
Netmode:
Description: Network type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Netmode
OperationLocks:
Description: Lock details.
Value:
Fn::GetAtt:
- ExtensionDataSource
- OperationLocks
PaymentType:
Description: The billing method of the EIP.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PaymentType
PublicIpAddressPoolId:
Description: The ID of the IP address pool to which the EIP belongs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PublicIpAddressPoolId
ReservationActiveTime:
Description: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ReservationActiveTime
ReservationBandwidth:
Description: Renewal bandwidth, in Mbps.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ReservationBandwidth
ReservationInternetChargeType:
Description: Renewal Payment type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ReservationInternetChargeType
ReservationOrderType:
Description: Renewal order type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ReservationOrderType
ResourceGroupId:
Description: The ID of the resource group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
SecondLimited:
Description: Whether a secondary speed limit is configured.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SecondLimited
SecurityProtectionTypes:
Description: Security protection level.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SecurityProtectionTypes
SegmentInstanceId:
Description: The ID of the consecutive EIPs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SegmentInstanceId
ServiceManaged:
Description: Indicates the resource created for the service account.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ServiceManaged
Tags:
Description: The tag of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"AllocationId": {
"Type": "String",
"Description": {
"en": "The ID of the EIP instance."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::EIP::Address",
"Properties": {
"AllocationId": {
"Ref": "AllocationId"
}
}
}
},
"Outputs": {
"Description": {
"Description": "The description of the EIP instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Description"
]
}
},
"ResourceGroupId": {
"Description": "The ID of the resource group.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"ServiceManaged": {
"Description": "Indicates the resource created for the service account.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ServiceManaged"
]
}
},
"AllocationId": {
"Description": "The ID of the EIP instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AllocationId"
]
}
},
"SecondLimited": {
"Description": "Whether a secondary speed limit is configured.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SecondLimited"
]
}
},
"BusinessStatus": {
"Description": "The business status of the EIP instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"BusinessStatus"
]
}
},
"ReservationOrderType": {
"Description": "Renewal order type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ReservationOrderType"
]
}
},
"SegmentInstanceId": {
"Description": "The ID of the consecutive EIPs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SegmentInstanceId"
]
}
},
"InstanceRegionId": {
"Description": "The region ID of the currently bound resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceRegionId"
]
}
},
"ExpiredTime": {
"Description": "Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ExpiredTime"
]
}
},
"Bandwidth": {
"Description": "The peak bandwidth of the EIP. Unit: Mbps.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Bandwidth"
]
}
},
"BandwidthPackageId": {
"Description": "The ID of the added shared bandwidth.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"BandwidthPackageId"
]
}
},
"PaymentType": {
"Description": "The billing method of the EIP.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PaymentType"
]
}
},
"InstanceType": {
"Description": "The type of the current bound instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceType"
]
}
},
"ReservationActiveTime": {
"Description": "The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ReservationActiveTime"
]
}
},
"ReservationBandwidth": {
"Description": "Renewal bandwidth, in Mbps.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ReservationBandwidth"
]
}
},
"Tags": {
"Description": "The tag of the resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
},
"InstanceId": {
"Description": "The ID of the current bound instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceId"
]
}
},
"Isp": {
"Description": "Service providers.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Isp"
]
}
},
"CreateTime": {
"Description": "The time when the EIP was created.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"HasReservationData": {
"Description": "Whether there is renewal data.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"HasReservationData"
]
}
},
"PublicIpAddressPoolId": {
"Description": "The ID of the IP address pool to which the EIP belongs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PublicIpAddressPoolId"
]
}
},
"DeletionProtection": {
"Description": "Whether the delete protection function is turned on.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DeletionProtection"
]
}
},
"BandwidthPackageType": {
"Description": "The type of bandwidth. Only **CommonBandwidthPackage** (shared bandwidth) is supported.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"BandwidthPackageType"
]
}
},
"OperationLocks": {
"Description": "Lock details.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"OperationLocks"
]
}
},
"BandwidthPackageBandwidth": {
"Description": "The bandwidth value of the Internet shared bandwidth added to the EIP. The unit is Mbps.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"BandwidthPackageBandwidth"
]
}
},
"ReservationInternetChargeType": {
"Description": "Renewal Payment type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ReservationInternetChargeType"
]
}
},
"AddressName": {
"Description": "The name of the EIP.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AddressName"
]
}
},
"EipBandwidth": {
"Description": "AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"EipBandwidth"
]
}
},
"Netmode": {
"Description": "Network type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Netmode"
]
}
},
"SecurityProtectionTypes": {
"Description": "Security protection level.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SecurityProtectionTypes"
]
}
},
"IpAddress": {
"Description": "The IP address of the EIP.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IpAddress"
]
}
},
"HdMonitorStatus": {
"Description": "Whether the second-level monitoring is enabled for the EIP.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"HdMonitorStatus"
]
}
}
}
}