toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'allowedConsumerProjects': allowedConsumerProjects,
    'pscAutoConnections': pulumi.Input.mapInputValue<List<GetInstancePscInstanceConfigPscAutoConnection>, List<Map<String, dynamic>>>(pscAutoConnections, (value) => pulumi.Input.encodeList<GetInstancePscInstanceConfigPscAutoConnection, Map<String, dynamic>>(value, (value) => value.toMap())),
    'pscDnsName': pscDnsName,
    'pscInterfaceConfigs': pulumi.Input.mapInputValue<List<GetInstancePscInstanceConfigPscInterfaceConfig>, List<Map<String, dynamic>>>(pscInterfaceConfigs, (value) => pulumi.Input.encodeList<GetInstancePscInstanceConfigPscInterfaceConfig, Map<String, dynamic>>(value, (value) => value.toMap())),
    'serviceAttachmentLink': serviceAttachmentLink,
  };
}