toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'description': ?description,
'displayName': ?displayName,
'labels': pulumi.Input.mapInputValue<List<LabelDescriptor>, List<Map<String, dynamic>>>(labels, (value) => pulumi.Input.encodeList<LabelDescriptor, Map<String, dynamic>>(value, (value) => value.toMap())),
'launchStage': ?pulumi.Input.mapOptionalInputValue<MonitoredResourceDescriptorLaunchStage, String>(launchStage, (value) => value.wireValue),
'name': ?name,
'type': type,
};
}