toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'allPorts': allPorts,
'allowGlobalAccess': allowGlobalAccess,
'allowPscGlobalAccess': allowPscGlobalAccess,
'backendService': backendService,
'baseForwardingRule': baseForwardingRule,
'creationTimestamp': creationTimestamp,
'deletionPolicy': deletionPolicy,
'description': description,
'effectiveLabels': effectiveLabels,
'forwardingRuleId': forwardingRuleId,
'ipAddress': ipAddress,
'ipCollection': ipCollection,
'ipProtocol': ipProtocol,
'ipVersion': ipVersion,
'isMirroringCollector': isMirroringCollector,
'labelFingerprint': labelFingerprint,
'labels': labels,
'loadBalancingScheme': loadBalancingScheme,
'name': name,
'network': network,
'networkTier': networkTier,
'noAutomateDnsZone': noAutomateDnsZone,
'portRange': portRange,
'ports': ports,
'project': project,
'pscConnectionId': pscConnectionId,
'pscConnectionStatus': pscConnectionStatus,
'pulumiLabels': pulumiLabels,
'recreateClosedPsc': recreateClosedPsc,
'region': region,
'selfLink': selfLink,
'serviceDirectoryRegistrations': pulumi.Input.mapInputValue<List<GetForwardingRulesRuleServiceDirectoryRegistration>, List<Map<String, dynamic>>>(serviceDirectoryRegistrations, (value) => pulumi.Input.encodeList<GetForwardingRulesRuleServiceDirectoryRegistration, Map<String, dynamic>>(value, (value) => value.toMap())),
'serviceLabel': serviceLabel,
'serviceName': serviceName,
'sourceIpRanges': sourceIpRanges,
'subnetwork': subnetwork,
'target': target,
};
}