toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'connectedProjects': ?connectedProjects,
'deletionPolicy': ?deletionPolicy,
'id': ?id,
'ipCidrRange': ?ipCidrRange,
'machineType': ?machineType,
'maxInstances': ?maxInstances,
'maxThroughput': ?maxThroughput,
'minInstances': ?minInstances,
'minThroughput': ?minThroughput,
'name': ?name,
'network': ?network,
'project': ?project,
'region': ?region,
'selfLink': ?selfLink,
'state': ?state,
'subnets': ?(() { final guardedValue = subnets; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetConnectorSubnet, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
};
}