toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'allows': ?pulumi.Input.mapOptionalInputValue<List<FirewallAllow>, List<Map<String, dynamic>>>(allows, (value) => pulumi.Input.encodeList<FirewallAllow, Map<String, dynamic>>(value, (value) => value.toMap())),
    'creationTimestamp': ?creationTimestamp,
    'deletionPolicy': ?deletionPolicy,
    'denies': ?pulumi.Input.mapOptionalInputValue<List<FirewallDeny>, List<Map<String, dynamic>>>(denies, (value) => pulumi.Input.encodeList<FirewallDeny, Map<String, dynamic>>(value, (value) => value.toMap())),
    'description': ?description,
    'destinationRanges': ?destinationRanges,
    'direction': ?direction,
    'disabled': ?disabled,
    'enableLogging': ?enableLogging,
    'logConfig': ?pulumi.Input.mapOptionalInputValue<FirewallLogConfig, Map<String, dynamic>>(logConfig, (value) => value.toMap()),
    'name': ?name,
    'network': ?network,
    'params': ?pulumi.Input.mapOptionalInputValue<FirewallParams, Map<String, dynamic>>(params, (value) => value.toMap()),
    'priority': ?priority,
    'project': ?project,
    'selfLink': ?selfLink,
    'sourceRanges': ?sourceRanges,
    'sourceServiceAccounts': ?sourceServiceAccounts,
    'sourceTags': ?sourceTags,
    'targetServiceAccounts': ?targetServiceAccounts,
    'targetTags': ?targetTags,
  };
}