toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'customerGatewayId': customerGatewayId,
    'enableAcceleration': ?enableAcceleration,
    'localIpv4NetworkCidr': ?localIpv4NetworkCidr,
    'localIpv6NetworkCidr': ?localIpv6NetworkCidr,
    'outsideIpAddressType': ?outsideIpAddressType,
    'presharedKeyStorage': ?presharedKeyStorage,
    'region': ?region,
    'remoteIpv4NetworkCidr': ?remoteIpv4NetworkCidr,
    'remoteIpv6NetworkCidr': ?remoteIpv6NetworkCidr,
    'staticRoutesOnly': ?staticRoutesOnly,
    'tags': ?tags,
    'transitGatewayId': ?transitGatewayId,
    'transportTransitGatewayAttachmentId': ?transportTransitGatewayAttachmentId,
    'tunnel1DpdTimeoutAction': ?tunnel1DpdTimeoutAction,
    'tunnel1DpdTimeoutSeconds': ?tunnel1DpdTimeoutSeconds,
    'tunnel1EnableTunnelLifecycleControl': ?tunnel1EnableTunnelLifecycleControl,
    'tunnel1IkeVersions': ?tunnel1IkeVersions,
    'tunnel1InsideCidr': ?tunnel1InsideCidr,
    'tunnel1InsideIpv6Cidr': ?tunnel1InsideIpv6Cidr,
    'tunnel1LogOptions': ?pulumi.Input.mapOptionalInputValue<VpnConnectionTunnel1LogOptions, Map<String, dynamic>>(tunnel1LogOptions, (value) => value.toMap()),
    'tunnel1Phase1DhGroupNumbers': ?tunnel1Phase1DhGroupNumbers,
    'tunnel1Phase1EncryptionAlgorithms': ?tunnel1Phase1EncryptionAlgorithms,
    'tunnel1Phase1IntegrityAlgorithms': ?tunnel1Phase1IntegrityAlgorithms,
    'tunnel1Phase1LifetimeSeconds': ?tunnel1Phase1LifetimeSeconds,
    'tunnel1Phase2DhGroupNumbers': ?tunnel1Phase2DhGroupNumbers,
    'tunnel1Phase2EncryptionAlgorithms': ?tunnel1Phase2EncryptionAlgorithms,
    'tunnel1Phase2IntegrityAlgorithms': ?tunnel1Phase2IntegrityAlgorithms,
    'tunnel1Phase2LifetimeSeconds': ?tunnel1Phase2LifetimeSeconds,
    'tunnel1PresharedKey': ?tunnel1PresharedKey,
    'tunnel1RekeyFuzzPercentage': ?tunnel1RekeyFuzzPercentage,
    'tunnel1RekeyMarginTimeSeconds': ?tunnel1RekeyMarginTimeSeconds,
    'tunnel1ReplayWindowSize': ?tunnel1ReplayWindowSize,
    'tunnel1StartupAction': ?tunnel1StartupAction,
    'tunnel2DpdTimeoutAction': ?tunnel2DpdTimeoutAction,
    'tunnel2DpdTimeoutSeconds': ?tunnel2DpdTimeoutSeconds,
    'tunnel2EnableTunnelLifecycleControl': ?tunnel2EnableTunnelLifecycleControl,
    'tunnel2IkeVersions': ?tunnel2IkeVersions,
    'tunnel2InsideCidr': ?tunnel2InsideCidr,
    'tunnel2InsideIpv6Cidr': ?tunnel2InsideIpv6Cidr,
    'tunnel2LogOptions': ?pulumi.Input.mapOptionalInputValue<VpnConnectionTunnel2LogOptions, Map<String, dynamic>>(tunnel2LogOptions, (value) => value.toMap()),
    'tunnel2Phase1DhGroupNumbers': ?tunnel2Phase1DhGroupNumbers,
    'tunnel2Phase1EncryptionAlgorithms': ?tunnel2Phase1EncryptionAlgorithms,
    'tunnel2Phase1IntegrityAlgorithms': ?tunnel2Phase1IntegrityAlgorithms,
    'tunnel2Phase1LifetimeSeconds': ?tunnel2Phase1LifetimeSeconds,
    'tunnel2Phase2DhGroupNumbers': ?tunnel2Phase2DhGroupNumbers,
    'tunnel2Phase2EncryptionAlgorithms': ?tunnel2Phase2EncryptionAlgorithms,
    'tunnel2Phase2IntegrityAlgorithms': ?tunnel2Phase2IntegrityAlgorithms,
    'tunnel2Phase2LifetimeSeconds': ?tunnel2Phase2LifetimeSeconds,
    'tunnel2PresharedKey': ?tunnel2PresharedKey,
    'tunnel2RekeyFuzzPercentage': ?tunnel2RekeyFuzzPercentage,
    'tunnel2RekeyMarginTimeSeconds': ?tunnel2RekeyMarginTimeSeconds,
    'tunnel2ReplayWindowSize': ?tunnel2ReplayWindowSize,
    'tunnel2StartupAction': ?tunnel2StartupAction,
    'tunnelBandwidth': ?tunnelBandwidth,
    'tunnelInsideIpVersion': ?tunnelInsideIpVersion,
    'type': type,
    'vpnConcentratorId': ?vpnConcentratorId,
    'vpnGatewayId': ?vpnGatewayId,
  };
}