toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'chapAuthDiscovery': ?chapAuthDiscovery,
    'chapAuthSession': ?chapAuthSession,
    'fsType': ?fsType,
    'initiatorName': ?initiatorName,
    'iqn': iqn,
    'iscsiInterface': ?iscsiInterface,
    'lun': lun,
    'portals': ?portals,
    'readOnly': ?readOnly,
    'secretRef': ?pulumi.Input.mapOptionalInputValue<LocalObjectReference, Map<String, dynamic>>(secretRef, (value) => value.toMap()),
    'targetPortal': targetPortal,
  };
}