toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'addressFamily': ?addressFamily,
    'allocationDefaultNetmaskLength': ?allocationDefaultNetmaskLength,
    'allocationMaxNetmaskLength': ?allocationMaxNetmaskLength,
    'allocationMinNetmaskLength': ?allocationMinNetmaskLength,
    'allocationResourceTags': ?allocationResourceTags,
    'arn': ?arn,
    'autoImport': ?autoImport,
    'awsService': ?awsService,
    'description': ?description,
    'filters': ?(() { final guardedValue = filters; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetVpcIpamPoolFilter, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'id': ?id,
    'ipamPoolId': ?ipamPoolId,
    'ipamScopeId': ?ipamScopeId,
    'ipamScopeType': ?ipamScopeType,
    'locale': ?locale,
    'poolDepth': ?poolDepth,
    'publiclyAdvertisable': ?publiclyAdvertisable,
    'region': ?region,
    'sourceIpamPoolId': ?sourceIpamPoolId,
    'sourceResources': ?(() { final guardedValue = sourceResources; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetVpcIpamPoolSourceResource, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'state': ?state,
    'tags': ?tags,
  };
}