toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'allocationOptions': ?pulumi.Input.mapOptionalInputValue<InternalRangeAllocationOptions, Map<String, dynamic>>(allocationOptions, (value) => value.toMap()),
    'deletionPolicy': ?deletionPolicy,
    'description': ?description,
    'effectiveLabels': ?effectiveLabels,
    'excludeCidrRanges': ?excludeCidrRanges,
    'immutable': ?immutable,
    'ipCidrRange': ?ipCidrRange,
    'labels': ?labels,
    'migration': ?pulumi.Input.mapOptionalInputValue<InternalRangeMigration, Map<String, dynamic>>(migration, (value) => value.toMap()),
    'name': ?name,
    'network': ?network,
    'overlaps': ?overlaps,
    'peering': ?peering,
    'prefixLength': ?prefixLength,
    'project': ?project,
    'pulumiLabels': ?pulumiLabels,
    'targetCidrRanges': ?targetCidrRanges,
    'usage': ?usage,
    'users': ?users,
  };
}