toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'annotations': ?annotations,
    'appHubApplication': ?appHubApplication,
    'artifactConfigs': ?pulumi.Input.mapOptionalInputValue<List<InsightsConfigArtifactConfig>, List<Map<String, dynamic>>>(artifactConfigs, (value) => pulumi.Input.encodeList<InsightsConfigArtifactConfig, Map<String, dynamic>>(value, (value) => value.toMap())),
    'createTime': ?createTime,
    'deletionPolicy': ?deletionPolicy,
    'effectiveAnnotations': ?effectiveAnnotations,
    'effectiveLabels': ?effectiveLabels,
    'errors': ?pulumi.Input.mapOptionalInputValue<List<InsightsConfigError>, List<Map<String, dynamic>>>(errors, (value) => pulumi.Input.encodeList<InsightsConfigError, Map<String, dynamic>>(value, (value) => value.toMap())),
    'insightsConfigId': ?insightsConfigId,
    'labels': ?labels,
    'location': ?location,
    'name': ?name,
    'project': ?project,
    'pulumiLabels': ?pulumiLabels,
    'reconciling': ?reconciling,
    'runtimeConfigs': ?pulumi.Input.mapOptionalInputValue<List<InsightsConfigRuntimeConfig>, List<Map<String, dynamic>>>(runtimeConfigs, (value) => pulumi.Input.encodeList<InsightsConfigRuntimeConfig, Map<String, dynamic>>(value, (value) => value.toMap())),
    'state': ?state,
    'targetProjects': ?pulumi.Input.mapOptionalInputValue<InsightsConfigTargetProjects, Map<String, dynamic>>(targetProjects, (value) => value.toMap()),
    'updateTime': ?updateTime,
  };
}