toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'connectedEndpoints': ?pulumi.Input.mapOptionalInputValue<List<ServiceAttachmentConnectedEndpoint>, List<Map<String, dynamic>>>(connectedEndpoints, (value) => pulumi.Input.encodeList<ServiceAttachmentConnectedEndpoint, Map<String, dynamic>>(value, (value) => value.toMap())),
    'connectionPreference': ?connectionPreference,
    'consumerAcceptLists': ?pulumi.Input.mapOptionalInputValue<List<ServiceAttachmentConsumerAcceptList>, List<Map<String, dynamic>>>(consumerAcceptLists, (value) => pulumi.Input.encodeList<ServiceAttachmentConsumerAcceptList, Map<String, dynamic>>(value, (value) => value.toMap())),
    'consumerRejectLists': ?consumerRejectLists,
    'deletionPolicy': ?deletionPolicy,
    'description': ?description,
    'domainNames': ?domainNames,
    'enableProxyProtocol': ?enableProxyProtocol,
    'fingerprint': ?fingerprint,
    'name': ?name,
    'natSubnets': ?natSubnets,
    'project': ?project,
    'propagatedConnectionLimit': ?propagatedConnectionLimit,
    'pscServiceAttachmentIds': ?pulumi.Input.mapOptionalInputValue<List<ServiceAttachmentPscServiceAttachmentId>, List<Map<String, dynamic>>>(pscServiceAttachmentIds, (value) => pulumi.Input.encodeList<ServiceAttachmentPscServiceAttachmentId, Map<String, dynamic>>(value, (value) => value.toMap())),
    'reconcileConnections': ?reconcileConnections,
    'region': ?region,
    'selfLink': ?selfLink,
    'sendPropagatedConnectionLimitIfZero': ?sendPropagatedConnectionLimitIfZero,
    'showNatIps': ?showNatIps,
    'targetService': ?targetService,
    'tunnelingConfig': ?pulumi.Input.mapOptionalInputValue<ServiceAttachmentTunnelingConfig, Map<String, dynamic>>(tunnelingConfig, (value) => value.toMap()),
  };
}