RouterBgpPeerResponseComputeV1.fromMap constructor
RouterBgpPeerResponseComputeV1.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RouterBgpPeerResponseComputeV1.fromMap(Map<String, dynamic> map) {
return RouterBgpPeerResponseComputeV1(
advertiseMode: pulumi.Input.fromValue(map['advertiseMode'] as String),
advertisedGroups: pulumi.Input.fromValue((map['advertisedGroups'] as List).cast<String>()),
advertisedIpRanges: pulumi.Input.fromValue(pulumi.Input.decodeList<RouterAdvertisedIpRangeResponseComputeV1>(map['advertisedIpRanges']!, (value) => RouterAdvertisedIpRangeResponseComputeV1.fromMap((value as Map).cast<String, dynamic>()))),
advertisedRoutePriority: pulumi.Input.fromValue(map['advertisedRoutePriority'] as int),
bfd: pulumi.Input.fromValue(RouterBgpPeerBfdResponseComputeV1.fromMap((map['bfd']! as Map).cast<String, dynamic>())),
customLearnedIpRanges: pulumi.Input.fromValue(pulumi.Input.decodeList<RouterBgpPeerCustomLearnedIpRangeResponseComputeV1>(map['customLearnedIpRanges']!, (value) => RouterBgpPeerCustomLearnedIpRangeResponseComputeV1.fromMap((value as Map).cast<String, dynamic>()))),
customLearnedRoutePriority: pulumi.Input.fromValue(map['customLearnedRoutePriority'] as int),
enable: pulumi.Input.fromValue(map['enable'] as String),
enableIpv6: pulumi.Input.fromValue(map['enableIpv6'] as bool),
interfaceName: pulumi.Input.fromValue(map['interfaceName'] as String),
ipAddress: pulumi.Input.fromValue(map['ipAddress'] as String),
ipv6NexthopAddress: pulumi.Input.fromValue(map['ipv6NexthopAddress'] as String),
managementType: pulumi.Input.fromValue(map['managementType'] as String),
md5AuthenticationKeyName: pulumi.Input.fromValue(map['md5AuthenticationKeyName'] as String),
name: pulumi.Input.fromValue(map['name'] as String),
peerAsn: pulumi.Input.fromValue(map['peerAsn'] as int),
peerIpAddress: pulumi.Input.fromValue(map['peerIpAddress'] as String),
peerIpv6NexthopAddress: pulumi.Input.fromValue(map['peerIpv6NexthopAddress'] as String),
routerApplianceInstance: pulumi.Input.fromValue(map['routerApplianceInstance'] as String),
);
}