toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': ?arn,
    'availabilityZoneId': ?availabilityZoneId,
    'availabilityZoneName': ?availabilityZoneName,
    'creationToken': ?creationToken,
    'dnsName': ?dnsName,
    'encrypted': ?encrypted,
    'fileSystemId': ?fileSystemId,
    'id': ?id,
    'kmsKeyId': ?kmsKeyId,
    'lifecyclePolicies': ?(() { final guardedValue = lifecyclePolicies; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetFileSystemLifecyclePolicy, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'name': ?name,
    'performanceMode': ?performanceMode,
    'protections': ?(() { final guardedValue = protections; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetFileSystemProtection, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'provisionedThroughputInMibps': ?provisionedThroughputInMibps,
    'region': ?region,
    'sizeInBytes': ?sizeInBytes,
    'tags': ?tags,
    'throughputMode': ?throughputMode,
  };
}